Online source code browser

JD jd1008 at gmail.com
Sun Nov 14 21:25:07 UTC 2010


On 11/14/2010 01:18 PM, Todd Zullinger wrote:
> 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.
You are right that what you suggest works;
but I really wanted to avoid using local storage.
That's why I would like to do it online.

Cheers,

JD



More information about the users mailing list