Writing debian/watch for project located at ohloh
Hi, I am currently trying to create a package for something which hosts its files only on ohloh's download services. The files can be found at https://www.ohloh.net/p/mereo/download?package=stable I started with following file: --- version=3 https://www.ohloh.net/p/mereo/download?package=stable \ /p/mereo/download\?filename=mereo_(.*)_src.zip --- This works quite good to get informed about the current version, but the download doesn't work at all. $ uscan --download cppcheck: Newer version (1.8.0) available on remote site: https://www.ohloh.net/p/mereo/download?filename=mereo_1.8.0_src.zip (local version is 1.3) cppcheck: Successfully downloaded updated package download Will (as you can read above) only create a file called 'download'. Inside is a html file with the link hidden somewhere. Does anyone has experience or an idea how to write a working debian/watch file for such a project? Greetings, Resul Cetin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Writing debian/watch for project located at ohloh
On Mon, Apr 27, 2009 at 11:01 PM, Resul Cetin resul-ce...@gmx.net wrote: Will (as you can read above) only create a file called 'download'. Inside is a html file with the link hidden somewhere. Does anyone has experience or an idea how to write a working debian/watch file for such a project? Potential options: Use your current watch file and manually do the download every time you have a new upstream version. Create an ohloh.debian.net redirector site. Ask upstream to also host their downloads on another site. Ask ohloh if they could remove the javascript redirector page. Ask ohloh to provide an alternate view of the download page without the javascript redirects. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Writing debian/watch for project located at ohloh
Am Montag, den 27.04.2009, 17:01 +0200 schrieb Resul Cetin: Hi, I am currently trying to create a package for something which hosts its files only on ohloh's download services. The files can be found at https://www.ohloh.net/p/mereo/download?package=stable I started with following file: --- version=3 https://www.ohloh.net/p/mereo/download?package=stable \ /p/mereo/download\?filename=mereo_(.*)_src.zip --- This works quite good to get informed about the current version, but the download doesn't work at all. $ uscan --download cppcheck: Newer version (1.8.0) available on remote site: https://www.ohloh.net/p/mereo/download?filename=mereo_1.8.0_src.zip (local version is 1.3) cppcheck: Successfully downloaded updated package download Will (as you can read above) only create a file called 'download'. Inside is a html file with the link hidden somewhere. Does anyone has experience or an idea how to write a working debian/watch file for such a project? You can manipulate the download URL and the filename via an opts line and downloadurlmangle and filenamemangle in your watch file. As far as I understand the cloudfront-concept, the distribution ID is always the same for a project. Check the attached watch file. It works here. Regards, Daniel watch.mereo Description: application/fluid
Re: Writing debian/watch for project located at ohloh
On Monday 27 April 2009 17:45:32 Daniel Leidert wrote: You can manipulate the download URL and the filename via an opts line and downloadurlmangle and filenamemangle in your watch file. As far as I understand the cloudfront-concept, the distribution ID is always the same for a project. Check the attached watch file. It works here. Thanks. It looks quite good. I hadn't checked if the ID is always the same, but I looked at it after you mentioned it. I thought that it was somehow autogenerated each time. Regards, Resul -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org