71000adb5c
Replace 'set -x' with verbose output from cp / rm.
2024-04-14 12:07:37 -03:00
4875b7f47f
Remove empty directories
2024-04-10 19:25:10 -03:00
38994b0e7c
Fix portzap-install
2024-04-08 16:31:42 -03:00
3bab46a4d2
Fix umask
2024-04-08 15:59:41 -03:00
fccd77e53c
Fix shellcheck
2024-04-08 15:51:00 -03:00
56db2173dc
Update portzap-install
2024-04-08 15:44:55 -03:00
4acd11746b
Clone without --depth 1
2024-04-08 14:58:13 -03:00
73ec936871
Perform incremental updates (via doas)
2024-04-08 14:33:02 -03:00
ea6a5e46e5
Delegate 'portzap clone|pull' to the _portzap user (via doas)
2024-04-07 20:37:52 -03:00
b88947dbd1
set -x before we call git
2024-04-03 16:45:09 -03:00
9d932201d6
Update libexec/ scripts
2024-04-03 13:12:37 -03:00
04661c3b1b
Fix portzap-adduser
2024-04-02 23:19:19 -03:00
57b79957cc
Fix typo
2024-04-02 14:54:55 -03:00
a7e1b9fe7a
Fix shellcheck
2024-04-02 13:56:49 -03:00
9811cf229c
Rewrite libexec/portzap/portzap-install
2024-04-01 23:42:13 -03:00
5dc23097b9
Add libexec/portzap/portzap-adduser
2024-04-01 23:42:13 -03:00
7a22d2a9a5
Replace libexec/portzap/functions/ with libexec/portzap/ scripts
2024-04-01 23:42:13 -03:00
367a9af511
'set -e' in bin/portzap, libexec/
...
And mv 'commands/*' to 'functions/*'.
2024-04-01 09:29:06 -03:00
e87c6c5867
namespaces: move pull command under 'portzap' namespace
2024-04-01 09:29:06 -03:00
ee13fd5b62
namespaces: move clone command under 'portzap' namespace
2024-04-01 09:29:06 -03:00
7917204769
namespaces: move install command under the 'portzap' namespace
2024-04-01 09:29:06 -03:00
70c1ab4ca2
Guard against the deletion of files that are already deleted
...
On a second run where the first run was partially completed, the
deleted files might not exist anymore. This change guards against
trying to delete such files.
2024-04-01 09:29:06 -03:00
03e42c185e
Add __install_update
, __install_ports
2024-04-01 09:29:06 -03:00
4b67365b54
Fixes for shellcheck
2024-04-01 09:29:06 -03:00
1085640b77
Fix bug where require_group
didn't recognize group members
2023-05-27 16:22:10 -03:00
4dc9fac23d
Fix typo
2023-05-22 01:00:45 -03:00
1eeec8ff90
Detect renamed files
2023-05-22 00:51:26 -03:00
f564153aae
Add __changed_files
, __removed_files
2023-04-17 20:46:29 -03:00
88b540da9a
Separate commands into libexec/portzap/commands/
2023-03-25 02:53:15 -03:00
873adeefcf
Replace fs.sh / git.sh
2023-03-22 09:20:44 -03:00
8763cd2b82
Add support for incremental updates
...
The 'portzap install' command would always install the entire ports
tree, whether for the first time or on a subsequent update where
copying the entire tree isn't neccessary.
This change is an attempt at only copying ports that have been modified
in some way. Rather than dealing with modifications file by file, a port
that is found to have modifications has its entire directory copied. This
makes life easier but is a bit slower.
2023-03-19 15:58:11 -03:00
d72030f6bc
Assign rwx to /usr/ports directories owned by _portzap group
2023-01-24 05:32:09 -03:00
fc53b4f992
Do not install the ports collection twice
...
Fix #5
2023-01-23 11:49:17 -03:00
a4e5b2f9be
Add clarity to variable names in "install-directory"
2023-01-23 11:12:57 -03:00
0508508b2e
Fix alignment of find command
2023-01-22 19:37:37 -03:00
ace1ebb463
Exclude dirs: ".git", ".hooks"
...
Exclude files: ".gitignore", ".arcconfig"
This change is a follow up to the previous commit that didn't work
as intended.
2023-01-22 19:34:07 -03:00
9f52040f86
Install directories in alphabetic order
2023-01-22 06:12:24 -03:00
4a22c51a03
bin/install-file: pass multiple files to 'install' cmd
2023-01-22 06:10:37 -03:00
c905c61fff
libexec/portzap/install-directory is now recursive
2023-01-20 22:53:31 -03:00
98e88abfa8
Add libexec/portzap/install-file
2023-01-20 22:53:20 -03:00
0f08f82e6a
Add libexec/portzap/install-directory
2023-01-20 11:06:19 -03:00
20f379d11e
Move bin/portzap-install-port to libexec/portzap/install-port
2023-01-20 00:25:58 -03:00