Package maintainer responsibilities
Package maintainers take care of the packages in Fedora. This includes both the packaging of upstream software into Fedora rpms and working with upstream to improve the software in various ways.
How long to maintain?
Each Fedora release lasts 13 months until it is EOL'ed. A package maintainer is responsible for the package for at least this length of time.
Belong to the appropriate low-traffic mailing list
Package maintainers will receive important announcements through the moderated devel-announce mailing list. Maintainers will be automatically subscribed to this list. Everyone that is a primary maintainer of a package in Fedora is also strongly encouraged to subscribe to the devel list, though this is not mandatory.
Manage security issues
- Package maintainer should handle security issues quickly, and if they need help they should contact the Security Response Team.
Deal with reported bugs in a timely manner
- If you find yourself unable to handle the load of bugs from your package(s), please ask for assistance on the devel and/or test lists. Teaching triagers about how to triage your bugs or getting help from other maintainers can not only reduce your load, but improve Fedora. Consider reaching out for some (more) co-maintainers to assist as well.
- If there are bugs which you aren't capable of fixing yourself because they deal with intricacies of the source code which you don't fully understand, then you still need to address these bugs. It can be helpful to work with the upstream maintainer of the code, obtain help from more code-oriented people on fedora-devel, or check other distributions for patches. Always be sure to post to the bug report what you have done so that the reporter knows what it happening and what to expect. It is recommended that non-coder packagers should find co-maintainers who are familiar with the programming language used by their package(s), and can help with such bugs as a kind of 'second line support'.
PackageMaintainers/Package update guidelines provides guidance for maintainers updating packages on an already-released branch. In summary, however, maintainers should bear in mind that:
- Many Fedora users update automatically, so it is most important that an update doesn't cause a users' applications or system to stop working suddenly.
- Fedora users who do not update automatically may review the descriptions attached to updates before choosing whether they should apply them.
- Not all Fedora users have good Internet bandwidth available and may prefer a single update with multiple changes rather than many updates in a short period.
Mentor and watch over comaintainers
When you take on comaintainers you enter into a partnership with them. They are able to work on the package which takes some of the burden off of you but you need to also be prepared to both help them along and make sure they aren't committing any grevious mistakes. So do be available to answer questions that the comaintainers may have and also keep an eye on the changes they make to the package to keep issues from cropping up unexpectedly.
Watching over the changes to your package also goes for changes made by people who are not explicit comaintainers if you have opened your package for any packager to commit to.
Track dependency issues in a timely manner
- In Rawhide, updates to packages may cause other packages to have broken dependencies. Maintainers will be alerted when this happens, and should work to rebuild their packages with all due haste. Broken dependencies may leave end user systems in a state where no updates will be applied. In order to keep the distribution in a reasonable state, someone will step in and rebuild packages that have had dependency issues for some time, but package maintainers should not rely on these rebuilds.
Notify others of changes that may affect their packages
- Some packages are depended upon by others; in this case, changes to one package may cause issues for others. Maintainers should be aware of the effects that changes to their packages may have, and should alert to the fedora-devel-announce mailing list of updates which contain ABI or API changes which may cause dependency problems for other packages. The announcement should occur a week before the packages update, so all maintainers affected are notified. The announcement should include the following information:
- Nature of the change.
- Branches (Rawhide, F9, etc.) which will be affected by the change.
- Expected date of the change.
- List of packages which are affected by the change. Generally, this is merely the list of packages which depend directly on the package which is being updated, and can be found with
repoquery --whatrequires <package>where
<package>is the package being updated.
- If your package upgrade breaks other packages in Rawhide, you should try to help fix the packages affected. For example, if you're a provenpackager, queue the rebuilds yourself.
- Maintainers need to maintain an upgrade path for their packages.
F(current-1) -> F(current) -> Rawhide
- Packages should be pushed to the Rawhide branch first. If it builds and works fine for a few days, then it can be pushed to F(current). If there is a good reason to push it to F(current-1), it should be done after a few days of being in F(current).
- When releasing a new package to a stable release branch, they should be pushed to the testing repo first in most cases.