From 0ebe9e4929dbbd145c922a8c86d68ef6872761e2 Mon Sep 17 00:00:00 2001 From: James Adams Date: Tue, 3 Dec 2024 15:57:41 +0000 Subject: [PATCH] plenary_template_library: Update repository structure - `master` is now `main` - `template-library-grid` and `template-library-os` now have a single `main` branch --- .../plenary_template_library.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scripts/plenary_template_library/plenary_template_library.py b/src/scripts/plenary_template_library/plenary_template_library.py index 8ad6630fa1..3feb3066df 100755 --- a/src/scripts/plenary_template_library/plenary_template_library.py +++ b/src/scripts/plenary_template_library/plenary_template_library.py @@ -16,10 +16,10 @@ RELEASES_URL = 'http://www.quattor.org/release/releases.json' LIBRARY_URL_PATTERN = 'https://github.com/quattor/template-library-%s.git' LIBRARY_BRANCHES = { - 'core': ['master'], - 'grid': ['umd-3', 'umd-4'], - 'os': ['sl6.x-x86_64', 'el7.x-x86_64', 'el8.x-x86-64'], - 'standard': ['master'], + 'core': ['main'], + 'grid': ['main'], + 'os': ['main'], + 'standard': ['main'], 'openstack': ['mitaka', 'newton', 'ocata'], } @@ -112,7 +112,7 @@ def sync_template_library(base_dir, releases): target_dir = join(base_dir, release, library) logger.debug('Target dir is %s', target_dir) - if branch != 'master': + if branch != 'main': tag = f'{branch}-{tag}' target_dir = join(target_dir, branch) logger.debug('Added branch to target dir, which is now %s', target_dir)