How to find out download URL for a given package through code ?
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 ? Kushal -- http://fedoraproject.org http://kushaldas.in -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: How to find out download URL for a given package through code ?
On Thu, Nov 10, 2011 at 10:11 AM, Kushal Das kushal...@gmail.com 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 the rpm is installed, then you can use rpm -qi package name. Don't know if you are looking for this or not though. Aditya Patawari http://blog.adityapatawari.com/ https://fedoraproject.org/wiki/User:Adimania India -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: How to find out download URL for a given package through code ?
Hi, On Thu, Nov 10, 2011 at 10:11 AM, Kushal Das kushal...@gmail.com 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 Parag -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: How to find out download URL for a given package through code ?
On Thu, 10 Nov 2011 10:11:08 +0530 Kushal Das kushal...@gmail.com 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. repoquery can do it, too. what kind of code would be calling this? -sv -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: How to find out download URL for a given package through code ?
On Thu, Nov 10, 2011 at 11:04 AM, seth vidal skvi...@fedoraproject.org wrote: repoquery can do it, too. what kind of code would be calling this? It will be some python code, the idea is one can ask a webservice for the download url with a package name and webservice will return the download url for that package. Kushal -- http://fedoraproject.org http://kushaldas.in -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: How to find out download URL for a given package through code ?
On 11/10/2011 06:43 AM, Parag N(पराग़) wrote: Hi, On Thu, Nov 10, 2011 at 10:11 AM, Kushal Daskushal...@gmail.com 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 rpminfon-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-buildbuild-id - or actually look into koji client code and use that part which does download-build Jirka Parag -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel