Skip to content

Commit

Permalink
Merge pull request #5089 from M4rtinK/master-f39_fix_docs
Browse files Browse the repository at this point in the history
Update branching documentation after Fedora 39 branching
  • Loading branch information
M4rtinK committed Sep 4, 2023
2 parents 70c7b06 + aba6a3a commit 624e48c
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@ Create a new localization directory from ``master`` directory:

::

cp -r master fedora-<version>
cp -r master f<version>

Add the new folder to git:

::

git add fedora-<version>
git add f<version>

Commit these changes:

Expand All @@ -271,21 +271,9 @@ Enable Cockpit CI for the new branch
-------------------------------------------

Anaconda is using the Cockpit CI infrastructure to run Web UI test. Cockpit CI tests are triggered
automatically for all `listed <https://github.com/cockpit-project/bots/blob/main/lib/testmap.py>`_ projects and per-project branches. To enable Cockpit CI in automatic mode for the new Fedora branch, our new fedora-<version> upstream branch needs to be added under the 'rhinstaller/anaconda' key in the file. The end result could look like this:
automatically for all `listed <https://github.com/cockpit-project/bots/blob/main/lib/testmap.py>`_ projects and per-project branches. To enable Cockpit CI in automatic mode for the new Fedora branch, our new fedora-<version> upstream branch needs to be added under the 'rhinstaller/anaconda' key in the file. See the previous PR (for F39) to see how this is to be done:

::
'rhinstaller/anaconda': {
'master': [
'fedora-35/rawhide',
],
'fedora-38': [
'fedora-38',
],
'_manual': [
]
},

Just fork the repo `cockpit-project repo <https://github.com/cockpit-project/bots>`_ and submit the change to ``lib/testmap.py`` as a PR. In case something is not clear (such as what are the valid target strings - fedora-35/rawhide, fedora-36, etc.) reach out to the #cockpit IRC channel on libera.chat.
https://github.com/cockpit-project/bots/pull/5176

How to branch Anaconda
----------------------
Expand Down Expand Up @@ -316,6 +304,12 @@ Then rebuild everything that is templatized:

This should set up infrastructure and some other parts like makefile variables and pykickstart version used.

Lastly it is necessary to set up updated l10n commit hash - check the commit hash of the ``anaconda-l10n`` repo,
the one where the new f<version> folder has been added and put the hash to the ``GIT_L10N_SHA`` variable in the
``po/l10n-config.mk`` file.

This is necessary for the Web UI related translation pinning to work & l10n branching checks to pass.

Verify the changes and commit:

::
Expand Down Expand Up @@ -360,6 +354,19 @@ Expect changes only in Github workflows that generate containers etc. for multip
make -f Makefile.am reload-infra
git commit -a -m "infra: Configure for the new fedora-NN branch"

Then, finally, push the updated master branch:

::

git push origin master

Container rebuilds after branching
----------------------------------

Container rebuilds currently do not happen automatically after branching. So do not forget to rebuild
all relevant containers after Fedora branching.


How to add release version for next Fedora
------------------------------------------

Expand Down

0 comments on commit 624e48c

Please sign in to comment.