From Fedora Project Wiki

Line 11: Line 11:
== What should they contain ==
== What should they contain ==


They should contain the following repo commands with either the rawhide repo command or both of the fedora and updates repo commands commented out (using a leading <code>#</code>). The updates-testing repo command should always be commented out.
In the master branch the rawhide repo commands should all be uncomment and all of the non-rawhide repos should be commented out. In non-master branches the fedora and fedora-updates (if present) should be uncommented and all of the rawhide repos and fedora-updates-testing (if present) should be commented out.
* <code>repo --name=rawhide --mirrorlist=<nowiki>http://mirrors.fedoraproject.org/mirrorlist?</nowiki>repo=rawhide&arch=$basearch</code>
* <code>repo --name=fedora --mirrorlist=<nowiki>http://mirrors.fedoraproject.org/mirrorlist?</nowiki>repo=fedora-$releasever&arch=$basearch</code>
* <code>repo --name=updates --mirrorlist=<nowiki>http://mirrors.fedoraproject.org/mirrorlist?</nowiki>repo=updates-released-f$releasever&arch=$basearch</code>
* <code>#repo --name=updates-testing --mirrorlist=<nowiki>http://mirrors.fedoraproject.org/mirrorlist?</nowiki>repo=updates-testing-f$releasever&arch=$basearch</code>


== When to change which repo(s) is used ==
== When to change which repo(s) is used ==


The repo commands should be changed when the master branch is branched.
The repo commands should be changed when the master branch is branched.

Revision as of 16:41, 29 June 2013

Spins repo directives

Where are they

There are repo directives in the following files:

  • fedora-repo.ks
    • This is included by spins (often indirectly).
  • fedora-install-fedora
    • This one uses different repos than normal spins and can't include fedora-repo.ks.

What should they contain

In the master branch the rawhide repo commands should all be uncomment and all of the non-rawhide repos should be commented out. In non-master branches the fedora and fedora-updates (if present) should be uncommented and all of the rawhide repos and fedora-updates-testing (if present) should be commented out.

When to change which repo(s) is used

The repo commands should be changed when the master branch is branched.