From Fedora Project Wiki

(Add more about software source code using rpmbuild)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{admon/note|This page needs updated|We don't use CVS for packages anymore}}
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.
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.


Line 11: Line 13:
: '''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
;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}}.
: Follow this procedure:
# Run the command {{command|rpm -ivh <filename.src.rpm>}}.
# 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 ==

Latest revision as of 17:37, 22 June 2011

Note.png
This page needs updated
We don't use CVS for packages anymore

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 Package-x-generic-16.pngyum-utils and run yumdownloader --source <package_name>
Use the source
Follow this procedure:
  1. Run the command rpm -ivh <filename.src.rpm>.
  2. 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.
  3. 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.