Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get-template-library: exclude all versions before 23.x #359

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/scripts/get-template-library
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ monitoring_dest_dir=standard/monitoring
# If a branch name matches one of the pattern, it will be ignored
# HEAD added to workaround a bug in the release procedure when producing 14.5
ignore_branch_patterns='\.obsolete$ ^HEAD$'
ignore_version_patterns='13.1.[1-3] 13.[2-9] 13.12 14.[2-8]'
ignore_version_patterns='^1[0-9]\..* ^2[0-2]\.*'
template_lib_root=${TMPDIR:-/tmp}/quattor-template-library
git_clone_root=${template_lib_root}/.gitrepos
list_branches=0
Expand All @@ -85,6 +85,7 @@ usage () {
echo ""
echo " Valid options are:"
echo ""
echo " --all-versions: download all available versions"
echo " --continuous-integration: use working copy contents instead of the GitHub repository"
echo " -d template_library_root: directory where to create the template library."
echo " (D: ${template_lib_root})"
Expand Down Expand Up @@ -146,6 +147,10 @@ do
usage
;;

--all-versions)
ignore_version_patterns="non existing version pattern"
;;

--pull-request)
shift
pull_request=$1
Expand Down