For XCP (Xen Cloud Platform) that I'm helping to package (the first
version is nearly finished), upstream doesn't releases tarballs, but
instead, just adds tags to its Git repository, and git-buildpackage does
the rest of the magic (eg: selecting the correct tag on the master
branch to build the orig.tar.gz).
Is there currently a way, or is it planned, or is it even possible, that
watch files are used to check git tags?
Cheers,
Thomas
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EEECB9B.1080900@debian.org">http://lists.debian.org/4EEECB9B.1080900@debian.org
12-19-2011, 04:55 AM
Scott Howard
uscan, watch files, and gihub tags
On Mon, Dec 19, 2011 at 12:28 AM, Thomas Goirand <zigo@debian.org> wrote:
> Hi,
>
> For XCP (Xen Cloud Platform) that I'm helping to package (the first
> version is nearly finished), upstream doesn't releases tarballs, but
> instead, just adds tags to its Git repository, and git-buildpackage does
> the rest of the magic (eg: selecting the correct tag on the master
> branch to build the orig.tar.gz).
>
> Is there currently a way, or is it planned, or is it even possible, that
> watch files are used to check git tags?
Since your title said "github tags," I think you're looking for:
http://githubredir.debian.net/
The source code is there if you're not on github.
Cheers,
Scott
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CANg8-dCWTxAWgKZ1No57xFbuOogUJHu9VDWvyziy_xALPSOw-Q@mail.gmail.com">http://lists.debian.org/CANg8-dCWTxAWgKZ1No57xFbuOogUJHu9VDWvyziy_xALPSOw-Q@mail.gmail.com
12-19-2011, 05:16 AM
Paul Wise
uscan, watch files, and gihub tags
On Mon, Dec 19, 2011 at 1:55 PM, Scott Howard wrote:
> Since your title said "github tags," I think you're looking for:
> http://githubredir.debian.net/
There is no need to use githubredir, just do something like this:
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKTje6H_35rv-12S-yXC69qmqzEZDyh1QCXArDsNT4zoT2EPcw@mail.gmail.com"> http://lists.debian.org/CAKTje6H_35rv-12S-yXC69qmqzEZDyh1QCXArDsNT4zoT2EPcw@mail.gmail.com
12-19-2011, 06:15 AM
Thomas Goirand
uscan, watch files, and gihub tags
On 12/19/2011 01:55 PM, Scott Howard wrote:
> Since your title said "github tags," I think you're looking for:
> http://githubredir.debian.net/
>
> The source code is there if you're not on github.
>
> Cheers,
> Scott
>
Hi Scott, thanks for your quick answer. I'm now cross-posting in -mentors.
In my case, upstream tagged "master/1.3", and I'm getting issues still,
with uscan.
zigo@node4407:~/sources/xen-api/xen-api$ uscan --verbose --report
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
http://githubredir.debian.net/github/jonludlam/xen-api (.*).tar.gz
-- Found the following matching hrefs:
/github/jonludlam/xen-api/0~master.tar.gz
/github/jonludlam/xen-api/master/1.3.tar.gz
dpkg: warning: version '/master/1.3' has bad syntax: version number does
not start with digit
Newest version on remote site is /master/1.3, local version is 1.3
dpkg: warning: version '/master/1.3' has bad syntax: version number does
not start with digit
=> Newer version available from
http://githubredir.debian.net/github/jonludlam/xen-api/master/1.3.tar.gz
-- Scan finished
FYI, I really am packaging version 1.3, so uscan should find out that I'm
up-to-date.
I tried to poke with opts="uversionmangle=s/^master///" to remove "master/"
from the version of upstream git repo, but no luck... Upstream is
friendly, so
I can ask to remove the annoying bits of the versions, but there's already 9
packages involved, so I'd be glad to find a solution keeping upstream
scheme,
that would be less work and forcing "git push/pull --force --tags" to
everyone
working on the project is annoying.
Cheers,
Thomas Goirand (zigo)
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EEEE49F.2090001@debian.org">http://lists.debian.org/4EEEE49F.2090001@debian.org
12-19-2011, 11:02 AM
Thomas Goirand
uscan, watch files, and gihub tags
On 12/19/2011 03:15 PM, Thomas Goirand wrote:
> I tried to poke with opts="uversionmangle=s/^master///" to remove "master/"
> from the version of upstream git repo, but no luck...
>
Seems this works for me now:
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EEF27F1.7080509@debian.org">http://lists.debian.org/4EEF27F1.7080509@debian.org
12-19-2011, 08:24 PM
Andreas Rütten
uscan, watch files, and gihub tags
Am Mon, 19 Dec 2011 20:02:57 +0800
schrieb Thomas Goirand <zigo@debian.org>:
> On 12/19/2011 03:15 PM, Thomas Goirand wrote:
> > I tried to poke with opts="uversionmangle=s/^master///" to remove
> > "master/" from the version of upstream git repo, but no luck...
> >
> Seems this works for me now:
>
> version=3
> https://github.com/jonludlam/xen-api/tags
> /jonludlam/xen-api/tarball/master/(.+)
I assume the "tags as .tar.gz" feature is something special from
github. Or could I use also tags from e.g. git.debian.de in a watchfile?
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAKTje6GP-eHpz7mWqbWWLvxtJnPauNC06jAH0OJATtp7BZXF5A@mail.gma il.com">http://lists.debian.org/CAKTje6GP-eHpz7mWqbWWLvxtJnPauNC06jAH0OJATtp7BZXF5A@mail.gma il.com
12-20-2011, 09:08 AM
Andreas Rütten
uscan, watch files, and gihub tags
Hi Paul,
Am Tue, 20 Dec 2011 09:12:13 +0800
schrieb Paul Wise <pabs@debian.org>:
> On Tue, Dec 20, 2011 at 5:24 AM, Andreas Rütten wrote:
>
> > I assume the "tags as .tar.gz" feature is something special from
> > github. Or could I use also tags from e.g. git.debian.de in a
> > watchfile?
>
> git.debian.de doesn't exist so that would not work.
you are absolutely right, I meant git.debian.org
Sorry for the misconception.
> As for non-github sites, gitweb doesn't appear to support this, but
> cgit does:
>
> http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/refs/tags
As far as I can see git.debian.org offers only http[s] access via gitweb
so we don't have it there per default.
But I found a snapshot feature in gitweb.conf (5)
http://www.manpagez.com/man/5/gitweb.conf/
Looks like this could do the trick.