Commit graph

49 commits

Author SHA1 Message Date
104f62ae47 Suppress shellcheck error in setup-{doas,user}
Some checks failed
sourcezap / shellcheck (push) Has been cancelled
2024-07-31 12:29:33 -03:00
16ca9b6c68 Silence "git checkout" output
Some checks failed
sourcezap / shellcheck (push) Has been cancelled
2024-07-27 06:09:53 -03:00
b8bef1f953 Fix shellcheck errors (includes a bug in setup-user) 2024-07-26 22:36:35 -03:00
c6e83bea5e Inline function in setup-doas 2024-07-26 15:43:56 -03:00
f8bcf60ae1 Add setup/setup-user
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
2024-07-26 11:32:27 -03:00
36cb7591ee Add libexec/sourcezap/setup/ 2024-07-25 07:22:30 -03:00
c97b48bc0d Continue script execution when "git checkout" fails 2024-07-24 14:34:23 -03:00
3736e6f15b Update print.sh 2024-07-19 17:46:03 -03:00
59c799c047 Add libexec/sourcezap/functions/ 2024-07-19 17:00:03 -03:00
dfb5fcc92a Remove unused source of functions.sh 2024-07-19 16:55:43 -03:00
0174a27bb2 Remove another case of 'set +x' 2024-07-19 15:05:30 -03:00
d344673f66 Split checkout across multiple lines 2024-07-19 14:22:37 -03:00
fb4629fda5 Replace 'git' function with '${git}' variable
This change adds clarity by removing the 'git'
function, which could be easily confused with
the 'git' exectuable
2024-07-19 14:19:09 -03:00
cd1e504643 Fix a few bugs
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
2024-07-19 03:44:16 -03:00
f65748c533 Inline utils/printerr, utils/printok 2024-07-19 03:32:46 -03:00
19c465d6be Add functions.sh
Replace repetitive code
2024-07-19 03:32:46 -03:00
d5770bc731 Update sourcezap-{clone,pull}
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
Reduce the visual noise generated by set -x
2024-07-19 03:08:12 -03:00
d33cd6628f Add utils/git directory
Group git-related utilities under one directory.
The utils/git/run script runs git as the '_sourcezap'
user, and it is how we talk to git.
2024-07-19 03:08:02 -03:00
d4a18461ca Fix utils/git
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
In this context, we want to use ${*} rather than ${@}
2024-07-19 01:59:13 -03:00
ebdcf33035 Fix utils/git
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
2024-07-08 11:05:59 -03:00
a610b976ba Add source
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
2024-07-08 11:04:06 -03:00
aaecf00394 Replace sourcezap/utils/gitexec with sourcezap/utils/git
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
2024-07-02 09:14:33 -03:00
1c344e0c60 Add gitdiff 2024-07-02 08:39:59 -03:00
d54f37d3b6 Drop set -x for chown -Rv 2024-07-02 06:06:40 -03:00
6092eff441 set +x before we call perform_(update|install) 2024-06-22 19:40:13 -03:00
a9f8daac78 Update git-* utils
Default to a localbase path that is relative to the current
file, and call git via utils/gitexec
2024-06-07 13:07:11 -03:00
1218164c9a Fix typo (in sourcezap-clone) 2024-06-05 18:34:17 -03:00
1943b94da4 Fix typo 2024-06-01 05:34:48 -03:00
14c8b04e41 In sourcezap-pull, set +x before printok 2024-06-01 03:27:49 -03:00
1210a81807 Update issourcezap-member 2024-06-01 01:17:28 -03:00
e3d82b207d Adopt remaining major portzap updates 2024-06-01 01:02:12 -03:00
8b63c53aa9 Adopt many recent portzap updates 2024-06-01 00:50:47 -03:00
32a6d7a369 sourcezap erase -> sourcezap rm 2024-05-12 00:01:04 -03:00
a6d734f065 Update sourcezap-checkout 2024-05-11 23:34:54 -03:00
7d440fa15c Replace set-branch with checkout 2024-05-11 23:33:01 -03:00
3f4bcba84e Update log output 2024-05-11 23:21:45 -03:00
15096110a5 Remove unnecessary 'set +x' 2024-05-11 23:11:56 -03:00
25b305a8fd Remove unused var (${remote}) 2024-05-11 23:08:03 -03:00
e1e9ea0cff Add 'sourcezap set-branch'
The $SOURCEZAP_BRANCH environment variable has been removed. When
you want to change branch 'sourcezap set-branch <branch name>' can
be used instead.
2024-05-11 22:56:13 -03:00
6c1aebcbde Simplify control flow 2024-05-11 21:36:49 -03:00
d5f998ee8f erase: simplify UI 2024-05-11 21:30:47 -03:00
19db805821 erase: offer choice of dirs to erase 2024-05-11 21:24:51 -03:00
4fe253da0f Rename project (srczap -> sourcezap) 2024-05-11 20:19:45 -03:00
0e46aeb12c Swap .hooks for .arclint 2024-05-11 19:34:44 -03:00
c0dc4c3a44 Print errors with [x] rather than [-] 2024-05-11 18:52:45 -03:00
9a1826ff87 Exclude install paths (eg .github) 2024-05-11 18:51:43 -03:00
3c674ef7d5 clone: echo more debug output 2024-05-11 17:17:01 -03:00
5e2171906b Swap shebang with set -e 2024-05-11 16:43:59 -03:00
ea06f0dfbc First commit
A modified copy of portzap repurposed for management of the
hardenedbsd source tree.
2024-05-11 16:03:00 -03:00