Re: How to find out download URL for a given package through code ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/10/2011 06:43 AM, Parag N(पराग़) wrote:
> Hi,
>
> On Thu, Nov 10, 2011 at 10:11 AM, Kushal Das<kushaldas@xxxxxxxxx>  wrote:
>> Hi all,
>>
>> I am trying to find the best suitable way to get download URL for any
>> given package ? Say, someone wants to find out download URL for
>> libreoffice-calc-3.3.3.1-1.fc15.x86_64 . The user may not be on a
>> Fedora 15 box. I saw yumdownloader --urls option.
>>
>> Any pointers ?
>
> If you have package n-v-r then you can use "koji rpminfo<n-v-r>" and
> from that output grab the build-id and using that you can construct
> download URL.
> Also, if you want to download all the binary rpms for that package
> then you can use "koji download-build<build-id>"

- or actually look into koji client code and use that part which does 
"download-build"

Jirka

>
> Parag

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux