index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-09-19 09:29:46 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-19 09:29:46 +0200 |
commit | 93274f3c2ccd1b346354e3ea993e368f8a22298d (patch) | |
tree | b881c38486c1e633cd6d7402640015d126157614 /bin/get-package-updates | |
parent | 44410e62fe988939136222165da474bcf2d44191 (diff) |
-rwxr-xr-x | bin/get-package-updates | 14 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index 7d9248a..6bddbea 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -4,13 +4,12 @@ # Details: # https://github.com/archlinux32/builder/wiki/Build-system#get-package-updates -# TODOs: +# TODO: be more secure in case of update while build(s) is/are still in +# progress -> (stale) lock files, moving (or changing content of) loop +# lock files -# be more secure in case of update while build(s) is/are still in progress -# -> (stale) lock files, moving (or changing content of) loop lock files - -# (might be connected to above): find out who deletes loop-files which -# should not be deleted +# TODO: (might be connected to above): find out who deletes loop-files which +# should not be deleted # remove extra whitelist cases @@ -87,8 +86,7 @@ delete_package() { for repo in ${repo_names}; do eval repo_path='"${repo_paths__'"${repo}"'}"' - # TODO: - # this is somewhat redundant and slow -- improve it! + # TODO: this is somewhat redundant and slow -- improve git performance! git -C "${repo_path}" checkout -f master git -C "${repo_path}" clean -xdf git -C "${repo_path}" fetch |