From f2a2949a476b91d5a71239d61ad399b7a51634bd Mon Sep 17 00:00:00 2001 From: tmadlener Date: Mon, 16 Oct 2023 15:37:15 +0200 Subject: [PATCH] Remove github action that checks for new versions --- .github/scripts/generate_new_version_issue.sh | 31 ------------------- .github/scripts/post_new_version_issue.sh | 19 ------------ .../scripts/post_new_version_issue_comment.sh | 18 ----------- .github/workflows/check-new-versions.yaml | 30 ------------------ 4 files changed, 98 deletions(-) delete mode 100755 .github/scripts/generate_new_version_issue.sh delete mode 100755 .github/scripts/post_new_version_issue.sh delete mode 100755 .github/scripts/post_new_version_issue_comment.sh delete mode 100644 .github/workflows/check-new-versions.yaml diff --git a/.github/scripts/generate_new_version_issue.sh b/.github/scripts/generate_new_version_issue.sh deleted file mode 100755 index 4458354c..00000000 --- a/.github/scripts/generate_new_version_issue.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -package_list=$(spack maintainers --by-user vvolkl mirguest tmadlener) - -# todo: add packages by hep/key4hep label also? - -# prune duplicates (needed if package list is appended to) -#package_list=$(echo ${package_list} | tr ' ' '\n' | sort | uniq | tr '\n' ' ' | sed -e 's/[[:space:]]*$//') - -for p in ${package_list}; do - # ignore deprecated packages - if [[ "$p" == "py-awkward1" ]] || [[ "$p" == "py-uproot4" ]]; then - continue - fi - v=$(spack versions --new $p) - # ignore pre and rc versions (for all packages) - v=$(echo $v | sed 's/\S*\(rc\|pre\|alpha\)\S*//g') - # ignore alpha and beta versions for py-kubernetes - if [[ "$p" == "py-kubernetes" ]] ; then - v=$(echo $v | sed 's/\S*\(a\|b\)\S*//g') - fi - # ignore version 00-03-02 for edm4hep which has no code changes - if [[ "$p" == "edm4hep" ]] ; then - v=$(echo $v | sed 's/\S*\(00-03-02\)\S*//g') - fi - # using `echo $v` instead of "$v" will handle v=" " correctly - if [[ ! -z `echo $v` ]]; then - echo "- [ ] \`$p\`: \`$v\` " >> gh-new-version.log - fi -done - diff --git a/.github/scripts/post_new_version_issue.sh b/.github/scripts/post_new_version_issue.sh deleted file mode 100755 index ab414bcb..00000000 --- a/.github/scripts/post_new_version_issue.sh +++ /dev/null @@ -1,19 +0,0 @@ -generate_new_version_data() -{ - cat <