diff options
author | Erich Eckner <git@eckner.net> | 2018-03-22 14:09:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-22 14:09:37 +0100 |
commit | 850aa6b864bf0bc4065a49ccca446605f7d7adb4 (patch) | |
tree | 987f81ba3790dde32d4cc05bd9f1dedc07892bda /bin/build-master-status-from-mysql | |
parent | 5d7f3bf6df321253e9e2718fa2cc0552793268b2 (diff) | |
download | builder-850aa6b864bf0bc4065a49ccca446605f7d7adb4.tar.xz |
bin/build-master-status-from-mysql: do not check build-dependencies - they're about to be decommissioned
Diffstat (limited to 'bin/build-master-status-from-mysql')
-rwxr-xr-x | bin/build-master-status-from-mysql | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 581fd43..0e66473 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -143,55 +143,6 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \ sort -u > \ "${tmp_dir}/testing.file" -# shellcheck disable=SC2016 -{ - printf 'SELECT ' - printf '`package_sources`.`%s`,' \ - 'pkgbase' \ - 'git_revision' \ - 'mod_git_revision' - printf '`upstream_repositories`.`name`,`install_targets`.`name`' - printf ' FROM `binary_packages`' - mysql_join_binary_packages_dependencies - mysql_join_dependencies_dependency_types - mysql_join_dependencies_install_targets - mysql_join_binary_packages_build_assignments - mysql_join_build_assignments_package_sources - mysql_join_package_sources_upstream_repositories - printf ' WHERE `dependency_types`.`relevant_for_building`' -} | \ - mysql_run_query | \ - tr '\t' ' ' | \ - sort -u > \ - "${tmp_dir}/build-dependencies.mysql" -{ - cat "${tmp_dir}/build-dependencies.mysql" - # shellcheck disable=SC2016 - { - printf 'SELECT DISTINCT ' - printf '`package_sources`.`%s`,' \ - 'pkgbase' 'git_revision' 'mod_git_revision' - printf '`upstream_repositories`.`name`' - printf ' FROM `upstream_repositories`' - mysql_join_upstream_repositories_package_sources - mysql_join_package_sources_build_assignments - mysql_join_build_assignments_binary_packages - } | \ - mysql_run_query | \ - tr '\t' ' ' | \ - while read -r pkgbase git_revision mod_git_revision repository; do - if [ -f "${work_dir}/package-infos/${pkgbase}.${git_revision}.${mod_git_revision}.${repository}.build-depends" ]; then - # TODO: consider versions dependencies, too - grep -v '[<=>]' "${work_dir}/package-infos/${pkgbase}.${git_revision}.${mod_git_revision}.${repository}.build-depends" | \ - sed ' - s/^/'"${pkgbase} ${git_revision} ${mod_git_revision} ${repository}"' / - ' - fi - done -} | \ - sort -u > \ - "${tmp_dir}/build-dependencies.file" - { diff -u \ "${tmp_dir}/locked.file" \ @@ -214,10 +165,6 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \ "${tmp_dir}/testing.file" \ "${tmp_dir}/testing.mysql" || \ true - diff -u \ - "${tmp_dir}/build-dependencies.file" \ - "${tmp_dir}/build-dependencies.mysql" || \ - true } | \ sed ' s,^-.*$,<font color="#FF0000">\0</font>, |