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

Tweak documentation sections #6065

Merged
merged 4 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
api
kickstart-docs.*
html/
contributing.rst
20 changes: 20 additions & 0 deletions docs/developer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Developer documentation
=======================

Here are topics which are covering mostly advanced topics to help users to modify Anaconda and understand the code.

Contents:

.. toctree::
:maxdepth: 1

developer/commit-log
developer/configuration-files
developer/driverdisc
developer/iscsi
developer/mount-points
developer/multipath
developer/sysconfig-file
developer/drop-in-scripts
Testing <developer/testing>

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/testing.rst → docs/developer/testing.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.. include:: ../tests/README.rst
.. include:: ../../tests/README.rst

What to do if there are broken Rawhide dependencies
===================================================
Expand Down Expand Up @@ -38,7 +38,7 @@ Cleanup old repository.
$ ssh <fedora_username>:fedorapeople.org
$ cd /project/anaconda/repos/anaconda_fixup_repo/
$ rm -rv * # to remove the old directory structure


Create your repository locally and upload that.
::
Expand Down
10 changes: 1 addition & 9 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,10 @@ Contents:
release-notes
boot-options
kickstart
configuration-files
How to report a bug <reporting>
common-bugs
How to contribute <contributing>
commit-log
release
driverdisc
iscsi
multipath
list-harddrives
drop-in-scripts
sysconfig-file
mount-points
Testing <testing>
developer
ci-status
24 changes: 12 additions & 12 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ environment way see mock path below. It is also fully manual.


Upcoming Fedora release & package build
========================================
----------------------------------------

Creating an anaconda release and build for an upcoming Fedora release is pretty similar to a Rawhide build
with a few key differences:
Expand Down Expand Up @@ -217,7 +217,7 @@ A link to the update should be returned and you should also start getting regula
anything remotely interesting happens with the update. :)

Releasing during a Fedora code freeze
=====================================
-------------------------------------

There are two generally multi-week phases during which the upcoming Fedora release development a temporary code freeze:

Expand All @@ -232,7 +232,7 @@ If there is a merged PR that has not been approved for a FE or release blocker,
targeting the frozen Fedora.

Branching for the next Fedora release
=====================================
-------------------------------------

Anaconda uses separate branch for each Fedora release to make parallel Anaconda development for Rawhide and next Fedora release possible.
The branch is named fedora-<version>.
Expand All @@ -244,7 +244,7 @@ and release blocker fixes.


Create new localization directory for Anaconda
----------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

First thing which needs to be done before branching in Anaconda is to create a new localization directory which will be used by the new Anaconda branch.

Expand Down Expand Up @@ -282,7 +282,7 @@ Push new localization directory. This will be automatically discovered and added


Adjust localization update automation
-------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In the ``anaconda-l10n`` repository, the update automation needs to work on the new directory.

Expand Down Expand Up @@ -318,15 +318,15 @@ Push the changes:


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. See the previous PR (for F39) to see how this is to be done:

https://github.com/cockpit-project/bots/pull/5176

How to branch Anaconda
----------------------
^^^^^^^^^^^^^^^^^^^^^^

First make sure that localization branch for the next Fedora is already created.

Expand Down Expand Up @@ -411,14 +411,14 @@ 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
------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The current practise is to keep the Rawhide major & minor version from which the
given Anaconda was branched as-is and add a third version number (the release number
Expand Down Expand Up @@ -451,7 +451,7 @@ If everything looks fine (changelog, the version number & tag) push the changes
Then continue with the normal Upcoming Fedora Anaconda build process.

How to bump Rawhide Anaconda version
------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- major version becomes major version ``+1``
- minor version is set to 1
Expand Down Expand Up @@ -483,7 +483,7 @@ Then continue with the normal Rawhide Anaconda build process.


How to use a new Python version
-------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fedora changes Python version from time to time.

Expand All @@ -507,7 +507,7 @@ a Python release candidate (rc). This affects two things:


How to collect release notes after branched GA release
------------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Release notes are collected in ``docs/release-notes/*.rst``. When a major Fedora version goes GA,
these should be collected into the file ``docs/release-notes.rst``. To do so:
Expand Down
Loading