From Fedora Project Wiki

m (Oops, no braces here)
(Add more about software source code using rpmbuild)
Line 10: Line 10:
: {{command|cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs co <source_package_name>}}
: {{command|cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs co <source_package_name>}}
: '''OR''' install {{package|yum-utils}} and run {{command|yumdownloader --source <package_name>}}
: '''OR''' install {{package|yum-utils}} and run {{command|yumdownloader --source <package_name>}}
;Use the source
: Run the command {{command|rpm -ivh <filename.src.rpm>}} and then look in your {{filename|~/rpmbuild}} directory for the source code archive and additional files and patches in {{filename|~/rpmbuild/SOURCES}} and the specfile that defines the building of the RPM in {{filename|~/rpmbuild/SPECS}}.  To explode the archive and apply the patches so you can browse the code, run {{command|rpmbuild -bp ~/rpmbuild/SPECS/<package>.spec}} and then look in {{filename|~/rpmbuild/BUILD}}.


== Documentation ==
== Documentation ==

Revision as of 23:11, 1 June 2009

This is the home of the initiative to document how to gain access to all Fedora Project source. This includes all software code, art work, documentation, and more. Also, we will show how to gain access to information from within the Fedora Project that is used to make decisions within the organization.

Software Source Code

View the source
http://cvs.fedoraproject.org/viewvc/?root=pkgs
List available source
cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs co -c
Get the source
cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs co <source_package_name>
OR install yum-utils and run yumdownloader --source <package_name>
Use the source
Run the command rpm -ivh <filename.src.rpm> and then look in your ~/rpmbuild directory for the source code archive and additional files and patches in ~/rpmbuild/SOURCES and the specfile that defines the building of the RPM in ~/rpmbuild/SPECS. To explode the archive and apply the patches so you can browse the code, run rpmbuild -bp ~/rpmbuild/SPECS/<package>.spec and then look in ~/rpmbuild/BUILD.

Documentation

New documentation

Refer to the documentation itself for information on how to browse or retrieve the source code.

(FIXME: Make sure that each document has this section included by default. Should be included by Docs team practice.)

Obsolete (legacy) documentation

View the source
http://cvs.fedoraproject.org/viewvc/?root=docs
List available source
cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/docs co -c
Get the source
cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/docs co <module_name>

Artwork

Information

Listservs

Many discussions dealing with decision making take place on one of our listservs. You should be able read all the discussions without logging in.