diff options
author | Erich Eckner <git@eckner.net> | 2017-09-15 16:09:32 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-15 16:09:32 +0200 |
commit | 7816b7af9302cebd95e8aeebb7e4164ca0eef097 (patch) | |
tree | 2f3ec6bef148a44dedd1dabdf99fdfcdda24d4f0 /bin/common-functions | |
parent | b1cbd3e9acee71946267189f2696efe3ded7ad7e (diff) | |
download | builder-7816b7af9302cebd95e8aeebb7e4164ca0eef097.tar.xz |
bin/common-functions: add todo
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-x | bin/common-functions | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bin/common-functions b/bin/common-functions index 350e0b6..2d99f80 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -403,8 +403,16 @@ ls_master_mirror() { } # remove_old_package_versions $arch $repository $package_file -# removes all older (not-newer) versions of $package_file for architecture -# $arch in all repositories not-older (newer) than $repository + +# removes all older (not-newer) versions of $package_file +# in all repositories not-older (newer) than $repository + +# TODO: implement b) and c) + +# A package is considered older (not newer) if +# a) its version is older (not newer) or +# b) if its architecture is 'any' and different or +# c) if the other architecture is 'any' and different remove_old_package_versions() { |