Bodhi/BuildRootOverrides

From FedoraProject

< Bodhi
Revision as of 13:49, 26 August 2013 by Jamielinux (Talk | contribs)

Jump to: navigation, search

Contents

What is a BuildRoot Override

Sometimes a package you are trying to build can't be done until another package that it depends on is updated. When building packages for rawhide, successful builds become available fairly soon after they complete. These packages can then be used to build other packages against.

However, when building for any of the release branches below rawhide, builds are usually only available once they are pushed to "stable". Often it isn't practical or convenient to wait for this to happen. You can work around this problem by submitting a BuildRoot Override for any package builds you need that haven't yet made it to "stable". This will place the package into the BuildRoot for the branch that you specify, until the expiry date that you specify. During this time, the package is available to be built against. It is good practice to specify an expiry date that is only as long as you need (eg, a few days). It can easily be extended if needed.

To submit a BuildRoot override for a package, you need commit access. If you don't have commit access, you can ask the maintainer for the package you are interested in (or a proven packager) to submit the BuildRoot Override for you.

It usually takes about 15 to 30 minutes for a new BuildRoot Override to take effect.

Using Bodhi to manage Koji Buildroot Overrides

This document describes how to manage your Koji BuildRoot Overrides using Bodhi. Each section contains URLs for performing actions via the web and commands for doing it from the console.

Idea.png
Legacy method
Legacy method/backup plan: submit releng ticket: https://fedorahosted.org/rel-eng/newticket

Submitting a new override

https://admin.fedoraproject.org/updates/override/new

    bodhi --buildroot-override=<name-version-release> --duration=5 --notes="Useful details."

Viewing your own overrides

https://admin.fedoraproject.org/updates/override/list?mine=True

    bodhi --my-overrides [--show-expired]

Viewing all overrides

https://admin.fedoraproject.org/updates/override/list

    bodhi --list-overrides [--show-expired]

Manually expiring your buildroot override

https://admin.fedoraproject.org/updates/override/expire/<name-version-release>

    bodhi --expire-override=<name-version-release>

Extending your duration or editing override notes

https://admin.fedoraproject.org/updates/override/edit/<name-version-release>

    bodhi --edit-override=<name-version-release> --duration=10 --notes="Oh hai"