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

Re: Gitorious and debian/watch file



Creating a watch file for Gitorious will most likely require a redirect
service to translate the refs JSON to download URLs.

Take for example your osm-c-tools package, it has JSON data with the
repo branches and tags available at:

https://gitorious.org/osm-c-tools/osmctools/refs

The tags can be translated to the tarball URL using the hash:

https://gitorious.org/osm-c-tools/osmctools/archive/9cb724682b14840e1fd020eee7a380926424d603.tar.gz

It's an ugly filename, but you can mangle that in the watch to become
osmctools-0.1.tar.gz

Kind Regards,

Bas

-- 
GnuPG: 0xE88D4AF1 (new) / 0x77A975AD (old)


Reply to: