From 93274f3c2ccd1b346354e3ea993e368f8a22298d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Sep 2017 09:29:46 +0200 Subject: clean up todos --- bin/get-package-updates | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'bin/get-package-updates') 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 -- cgit v1.2.3-54-g00ecf