Commit graph

142 commits

Author SHA1 Message Date
aaa7dad708 Update libexec/ modes
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-08-20 00:39:47 -03:00
a38962782f Add libexec/portzap/utils/get-umask
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-08-19 23:21:26 -03:00
efc9f7ed28 Break up 'portzap-install' into multiple files
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-08-19 00:01:12 -03:00
741f85cfc2 Update portzap-{setup,teardown} 2024-08-19 00:01:12 -03:00
1b1ee6606d Update portzap-checkout 2024-08-19 00:01:11 -03:00
0a912e3638 Update portzap-checkout
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-08-18 19:26:34 -03:00
98b91c4d5e Fix shellcheck errors
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-08-17 18:50:02 -03:00
340576fd0b Silence grep with -q 2024-08-17 18:14:07 -03:00
c2ee102218 Update setup-doas 2024-08-17 17:35:27 -03:00
493eb51b68 Add 'portzap [setup|teardown]'
And improve setup/setup-doas.
2024-08-17 17:15:30 -03:00
25933cbc85 Sync with recent sourcezap changes 2024-08-09 23:31:36 -03:00
cba5973df8 Add 'portzap sh' 2024-08-07 02:10:37 -03:00
9db88b16b1 Silence "git checkout" output
Some checks failed
portzap / shellcheck (push) Has been cancelled
2024-07-27 05:23:30 -03:00
eca5d5585d Fix shellcheck errors (includes a bug in setup-user) 2024-07-26 22:26:07 -03:00
bf7cc3627e Inline function in setup-doas 2024-07-26 15:42:21 -03:00
382581136e Add setup/setup-user
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-07-26 11:34:07 -03:00
2d6ec73e73 Align find options 2024-07-24 14:31:55 -03:00
ed588bd7d7 Continue script execution when "git checkout" fails 2024-07-21 22:24:44 -03:00
3e76bda8bd Update setup scripts 2024-07-21 21:59:36 -03:00
a0988e1463 Remove setup-cron
I'm not sure about this feature, and since it hasn't been released
yet, I'd prefer not to include it
2024-07-21 21:52:21 -03:00
af917c0649 Replace script
Remove scripts that have been replaced by alternatives
2024-07-21 21:41:49 -03:00
c2a3578a55 Replace utils/gitexec with utils/git/run 2024-07-21 21:28:46 -03:00
ec0fa2f93e Remove "set -x" 2024-07-21 21:04:44 -03:00
3f625d08db Add gitdiff
Some checks are pending
portzap / shellcheck (push) Waiting to run
2024-07-02 08:33:21 -03:00
8d8346d51f Add verify_denyfile, and other small fixes 2024-06-30 07:56:17 -03:00
69a66825ab Add setup-cron
Add a setup script that adds a crontab entry that
runs 'portzap pull' everyday at 12AM localtime
2024-06-30 04:25:23 -03:00
d3c3e3e2f0 Bump diff.renameLimit
After a successful clone, we set the configuration
knob 'diff.renameList' to 7000. This change is made
after observing a warning about the value being too
low.
2024-06-30 03:03:16 -03:00
b02c61fd8c Apply patterns consistently 2024-06-01 05:30:11 -03:00
542e7d20a6 Fix regression 2024-05-23 03:17:04 -03:00
61df681f32 Ignore 'git checkout' failure within portzap-clone 2024-05-23 03:10:41 -03:00
48bd6c6047 Drop empty line 2024-05-23 02:05:46 -03:00
7bf64d5abc Add libexec/portzap/utils/gitexec 2024-05-23 01:51:21 -03:00
2e4a192656 set +x before printok 2024-05-23 00:19:40 -03:00
ec7335aba5 Fix shellcheck 2024-05-23 00:17:07 -03:00
2de42be1ce Update portzap-checkout 2024-05-23 00:01:22 -03:00
4d791170a1 Add libexec/portzap/{commands,utils}/ 2024-05-22 23:52:41 -03:00
2b9707e89f Assign ${mode} consistently (without dbl quotes) 2024-05-22 23:35:33 -03:00
59aa25d3c3 Fix running ./bin/portzap within repo 2024-05-22 23:31:35 -03:00
16b8119ee4 Update isportzap-member 2024-05-22 23:22:42 -03:00
c9f86595c1 set +x before print 2024-05-22 22:36:05 -03:00
e17ecd9244 Assign ${mode} before command line args 2024-05-22 22:32:43 -03:00
43168585f0 Add consistent ${libexec} assignment logic 2024-05-22 22:16:03 -03:00
8192f80eb7 Fix shellcheck 2024-05-22 21:55:03 -03:00
6cde6f8ab6 Replace hard-coded references to /usr/local/ 2024-05-22 21:51:21 -03:00
f14591d42b Add libexec/portzap/printok 2024-05-22 21:42:15 -03:00
20e095019a Prevent root using clone|pull|checkout commands 2024-05-22 20:48:51 -03:00
f125413729 Update error logging
Few notable changes:
  - Write error messages to stderr
  - Keep the error messages brief
  - Centralize error logging via libexec/portzap/print-err
2024-05-22 18:28:20 -03:00
b2b17ba5da Update isportzap-member 2024-05-21 23:27:14 -03:00
b5a80bafdf Update portzap-pull 2024-05-21 22:38:34 -03:00
eb3ebcc627 Prefix errors with ERR 2024-05-21 22:35:16 -03:00