mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-11-23 20:38:16 +08:00
feat: unify scf discovery and fix shell tooling bugs
- scf: discover referenced text files with source-based ordering; cache canonical paths and bound scans, parsing and candidate display - config: rewrite config includes atomically - installer: preserve configuration contents, permissions and links; fix dry-run - updater: recover stale updater scripts and report update failures - riot: fix riot batches, dry runs, empty arguments and IPv6 SCP paths - frigg: propagate Frigg authentication failures - add offline regression tests and CI coverage Signed-off-by: Dict Xiong <me@dxng.cn>
This commit is contained in:
@@ -12,7 +12,7 @@ cleanup() {
|
||||
}
|
||||
trap cleanup EXIT
|
||||
mkdir -m 700 "$GNUPGHOME"
|
||||
unset DFS_IGNORE_COMMIT_SIGN DFS_UPDATE_GPG_KEY_FILE DFS_UPDATE_CHANNEL
|
||||
unset DFS_IGNORE_COMMIT_SIGN DFS_UPDATE_GPG_KEY_FILE DFS_UPDATE_CHANNEL DFS_DRY_RUN
|
||||
|
||||
old_signer=old@example.invalid
|
||||
new_signer=new@example.invalid
|
||||
@@ -128,7 +128,7 @@ git -C "$remote" commit -q --allow-empty --no-gpg-sign -m 'Unsigned commit'
|
||||
reject_update 'has no trusted signature or signed release tag'
|
||||
without_gpg="$fixture/bin-without-gpg"
|
||||
mkdir "$without_gpg"
|
||||
for tool in bash dirname basename git grep mktemp cp chmod mv rm; do
|
||||
for tool in bash dirname basename git grep mktemp cp chmod mv rm cmp; do
|
||||
ln -s "$(command -v "$tool")" "$without_gpg/$tool"
|
||||
done
|
||||
PATH="$without_gpg" reject_update 'gpg not found. Set DFS_IGNORE_COMMIT_SIGN=1'
|
||||
|
||||
Reference in New Issue
Block a user