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

Collection branching #180

Merged
merged 5 commits into from
Aug 29, 2017
Merged

Collection branching #180

merged 5 commits into from
Aug 29, 2017

Conversation

msimacek
Copy link
Contributor

Branched collections are created from a master collection (rawhide). It
performs these steps:

  1. creates a branched collection with the same attributes as the master
    one, except for display name and bugzilla version passed as arguments
  2. copies most recent (1 month) builds from master collection to the
    branched one
  3. sets new name for the master collection and moves it to give new koji
    target

Example invocation:
koschei-admin branch-collection f27 f28 -d 'Fedora 27' -t f28 --bugzilla-version 27

Branched collections are created from a master collection (rawhide). It
performs these steps:
1. creates a branched collection with the same attributes as the master
   one, except for display name and bugzilla version passed as arguments
2. copies most recent (1 month) builds from master collection to the
   branched one
3. sets new name for the master collection and moves it to give new koji
   target

Example invocation:
koschei-admin branch-collection f27 f28 -d 'Fedora 27' -t f28 --bugzilla-version 27

Fixes #132
@msimacek msimacek requested a review from mizdebsk August 28, 2017 16:27
Copy link
Member

@mizdebsk mizdebsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I deployed and tested this in staging:

# koschei-admin branch-collection f26 f27 -d 'Fedora Rawhide' -t f27 --bugzilla-version 26
# koschei-admin edit-collection f26 -d 'Fedora 26'

It worked, but display name edit was necessary.

@mizdebsk mizdebsk merged commit 2b7cb2a into master Aug 29, 2017
@mizdebsk mizdebsk deleted the collection-branching branch August 29, 2017 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants