Changes

Jump to: navigation, search

Fall 2008 SPR720 Weekly Schedule

1,546 bytes added, 15:43, 30 October 2008
Week 8 (Oct 27) - Using Mock and Creating a Repository
= Week 8 (Oct 27) - Using Mock and Creating a Repository =
 
* Key documents:
** [[:fedora:PackageMaintainers/Join]] (How to become a Fedora package maintainer. Includes instructions on setting up a packaging environment, using Koji, and more).
** [[:fedora:PackageMaintainers/NewPackageProcess]] (Short version of above, intended for existing package maintainers).
 
* Mock is a tool for creating chroot environments and populating them with packages. One of its main uses is to test and verify the <code>BuildRequires</code> values in spec files:
mock -r ''configuration-file'' --rebuild ''name-of-srpm''
 
The <code>configuration-files</code> can be found in <code>/etc/rpm</code> (example: <code>fedora-9-x86_64</code>).
 
* Koji is the Fedora build server system (koji.fedoraproject.org). The same name is used for the Koji software, which you can install on your own build server.
** Koji can checkout code from the Fedora CVS and build it. This is usually done under the control of the makefiles created when a CVS module is generated for a new package.
** Koji can also be used for a ''scratch build'', where any source RPM is submitted for building. If your packaging environment is set up, you can request a scratch build with a command such as this (where ''ppc'' is the arch, ''dist-f9'' is the build target, and ''nled-2.52-3.fc8.src.rpm'' is the source package):
 
koji build --arch-override=ppc --scratch dist-f9 nled-2.52-3.fc8.src.rpm
 
'''TODO''':
* Do the [[SPR720 Package Review Lab]]
* Blog about your project progress, particularly your plans for your 0.2 release (see [[LUX Project]]).
= Week 9 (Nov 3) - Python Scripting Basics I =

Navigation menu