Online source code browser

Todd Zullinger tmz at pobox.com
Sun Nov 14 21:18:02 UTC 2010


JD wrote:
> On 11/14/2010 10:53 AM, Todd Zullinger wrote:
>> JD wrote:
>>> Is there an online source code browser for Fedora Packages?
>> If you mean for the package spec files, patches, etc, then gitweb is
>> what you'd use:
>>
>>      http://pkgs.fedoraproject.org/gitweb/?p=puppet.git
>>
>> Replace puppet with whatever package you want to view.
>>
>> If you want to see the full source code for the package, with any
>> Fedora patches applied, then you want to use fedpkg to clone the
>> package repository and unpack it.  Something like 'yum install fedpkg'
>> and then:
>>
>>      fedpkg -a clone puppet
>>      cd puppet
>>      fedpkg prep
>>
> No - but thanks for the info.
> I really wanted to look at the source code of not only
> the pakchage (before patches applied by rpmbuild),
> but also the patches themselves.

That's what you get when you clone the package via fedpkg and run
prep.  It's similar to downloading the source rpm, installing it, and
running rpmbuild -bp -- with the benefit that you can easily check any
branch you want.

Any patches applied to the package will be in the git repo that fedpkg
clone creates.  So it sounds like exactly what you're asking for.  If
it's not, I'm clearly not understanding what you're after.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Politicians, Like Bombers, Seldom See Their Victims...
    -- Dr. Donald Boudreaux, in his article, "Losing Touch"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20101114/d0ae9ed5/attachment.bin 


More information about the users mailing list