| |
@@ -17,6 +17,7 @@
|
| |
copr-frontend create_chroot <name>
|
| |
copr-frontend alter_chroot --action activate <name>
|
| |
copr-frontend alter_chroot --action deactivate <name>
|
| |
+ copr-frontend branch_fedora <new-branched-version>
|
| |
copr-frontend rawhide_to_release <rawhide-chroot> <newly-created-chroot>
|
| |
|
| |
However, `enablement process upon Fedora branching <#branching-process>`_ and also
|
| |
@@ -27,39 +28,51 @@
|
| |
Branching process
|
| |
-----------------
|
| |
|
| |
- Immediately after Fedora branching, you want to do something like this
|
| |
+ Projects can be configured to follow Fedora branching. That means, that once a
|
| |
+ chroot for new Fedora release is enabled, it should be automatically turned-on
|
| |
+ for such projects. Moreover, builds from Rawhide should be forked into this new
|
| |
+ chroot.
|
| |
|
| |
- ::
|
| |
-
|
| |
- copr-frontend create_chroot fedora-27-x86_64 fedora-27-i386 fedora-27-ppc64le
|
| |
+ So **immediately** after Fedora branching (for exmaple to version **31**), you
|
| |
+ want to do this (the command takes a very long time, be prepared)::
|
| |
|
| |
+ copr-frontend branch_fedora 31
|
| |
|
| |
- Copr uses `Mock <https://github.com/rpm-software-management/mock>`_ for building packages, so you should check if
|
| |
- the mock configs
|
| |
- `are already available <https://github.com/rpm-software-management/mock/tree/devel/mock-core-configs/etc/mock>`_
|
| |
- and in which version of the :code:`mock-core-configs` package they were added. If that version is not installed
|
| |
- on builders, you should temporarily disable the chroots.
|
| |
+ This command creates ``fedora-31-*`` chroots from corresponding
|
| |
+ ``fedora-rawhide-*`` chroots, and it also copies (duplicates/forks) latest
|
| |
+ successful rawhide package builds into the new chroots. This can be done
|
| |
+ manually for each architecture by::
|
| |
|
| |
- ::
|
| |
+ copr-frontend create_chroot fedora-31-x86_64 --deactivated
|
| |
+ copr-frontend rawhide_to_release fedora-rawhide-x86_64 fedora-31-x86_64
|
| |
|
| |
- copr-frontend alter_chroot --action deactivate fedora-27-x86_64 fedora-27-i386 fedora-27-ppc64le
|
| |
+ From the manual steps you can see that the new chroots are **deactivated** at
|
| |
+ the beginning.
|
| |
|
| |
+ It's important to do ``rawhide_to_release`` as soon as possible, because right
|
| |
+ after branching action - Fedora Rawhide starts to live it's own separate life -
|
| |
+ and the builds in Rawhide become more and more incompatible with the branched
|
| |
+ Fedora. So - if we copied the packages later - the branched chroot in copr
|
| |
+ could become unusable. You may consider sending an email to mailing list that
|
| |
+ rawhide packages were copied.
|
| |
|
| |
- Projects can be configured to follow Fedora branching. That means, that once a chroot for new Fedora release is
|
| |
- enabled, it should be automatically turned-on for such projects. Moreover, builds from Rawhide should be forked into
|
| |
- this new chroot. It can be done like this
|
| |
+ The next needs to wait a bit, namely
|
| |
+ * till there's a working compose for the freshly branched Fedora, and
|
| |
+ * till the new mock configs are available on the builders.
|
| |
|
| |
- ::
|
| |
-
|
| |
- copr-frontend rawhide_to_release fedora-rawhide-x86_64 fedora-27-x86_64
|
| |
- copr-frontend rawhide_to_release fedora-rawhide-i386 fedora-27-i386
|
| |
- copr-frontend rawhide_to_release fedora-rawhide-ppc64le fedora-27-ppc64le
|
| |
-
|
| |
- Once the mock configs are available on the builders, you can re-enable the chroots
|
| |
+ Copr uses `Mock <https://github.com/rpm-software-management/mock>`_ for building packages, so you should check if
|
| |
+ the mock configs
|
| |
+ `are already available <https://github.com/rpm-software-management/mock/tree/devel/mock-core-configs/etc/mock>`_
|
| |
+ and in which version of the :code:`mock-core-configs` package they were added. If that version is not installed
|
| |
+ on builders, you should keep the chroots deactivated for now and continue later.
|
| |
|
| |
- ::
|
| |
+ But the sooner we can enable the new chroots, the better -- all the builds that
|
| |
+ happened in the time window between ``rawhide_to_release`` and chroot enablement
|
| |
+ will be missed in the branched chroot later (users will have to rebuild them
|
| |
+ manually). So as soon as it is possible, do::
|
| |
|
| |
- copr-frontend alter_chroot --action activate fedora-27-x86_64 fedora-27-i386 fedora-27-ppc64le
|
| |
+ copr-frontend alter_chroot --action activate \
|
| |
+ fedora-31-x86_64 fedora-31-i386 fedora-31-ppc64le fedora-31-aarch64
|
| |
|
| |
When everything is done, `send an information email to a mailing list <#mailing-lists>`_.
|
| |
|
| |