Skip to content

Commit

Permalink
plenary_template_library: Update repository structure
Browse files Browse the repository at this point in the history
- `master` is now `main`
- `template-library-grid` and `template-library-os` now have a single `main` branch
  • Loading branch information
jrha committed Dec 9, 2024
1 parent 1249e01 commit 0ebe9e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/scripts/plenary_template_library/plenary_template_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0ebe9e4

Please sign in to comment.