summaryrefslogtreecommitdiff
path: root/bin/build-master-status-from-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-13 15:33:39 +0100
committerErich Eckner <git@eckner.net>2018-02-13 15:33:39 +0100
commite3021bb9a8bcd9d58e69034312354f9a45dccd3f (patch)
tree127330ae7c08ffa731478275f05bf42392e26347 /bin/build-master-status-from-mysql
parent5b40c2766152357f448e1c425ae999d2f3d244d7 (diff)
downloadbuilder-e3021bb9a8bcd9d58e69034312354f9a45dccd3f.tar.xz
bin/build-master-status-from-mysql: ignore version of dependencies for now in the sanity_check
Diffstat (limited to 'bin/build-master-status-from-mysql')
-rwxr-xr-xbin/build-master-status-from-mysql3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql
index 1d0b761..6f5dea1 100755
--- a/bin/build-master-status-from-mysql
+++ b/bin/build-master-status-from-mysql
@@ -207,8 +207,9 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \
"${tmp_dir}/build-dependencies.mysql"
{
cat "${tmp_dir}/build-dependencies.mysql"
+ # TODO: consider versions dependencies, too
find "${work_dir}/package-infos" -name '*.build-depends' \
- -exec grep -HF '' {} \; | \
+ -exec grep -Hv '[<=>]' {} \; | \
sed '
s,^.*/,,
s/\.\([^.]\+\)\.\([^.]\+\)\.\([^.:]\+\)\.build-depends:\([^:]\+\)$/ \1 \2 \3 \4/