Re: create Debian Source from GIT repository without tag

2016-08-17 Thread Andrey Rahmatullin
On Wed, Aug 17, 2016 at 09:25:21PM +0200, Adam Borowski wrote: > > > > > If the repository contains any tags, I'd strongly recommend the > > > > > output of > > > > > "git describe --tags". This will, beside DTRT when you're exactly on > > > > > a > > > > > tag (ie, on a release), produce

Re: create Debian Source from GIT repository without tag

2016-08-17 Thread Adam Borowski
On Wed, Aug 17, 2016 at 11:04:39AM +0500, Andrey Rahmatullin wrote: > On Tue, Aug 16, 2016 at 11:39:33PM +0200, Adam Borowski wrote: > > > > If the repository contains any tags, I'd strongly recommend the output > > > > of > > > > "git describe --tags". This will, beside DTRT when you're exactly

Re: create Debian Source from GIT repository without tag

2016-08-17 Thread Andrey Rahmatullin
On Tue, Aug 16, 2016 at 11:39:33PM +0200, Adam Borowski wrote: > > > If the repository contains any tags, I'd strongly recommend the output of > > > "git describe --tags". This will, beside DTRT when you're exactly on a > > > tag (ie, on a release), produce version numbers of the form: > > > -<#

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Sean Whitton
On Tue, Aug 16, 2016 at 08:43:05AM +0200, Ferenc Wágner wrote: > Sean Whitton writes: > > > For example, support I'm packaging 0~git.abc123d. This version number > > might be used because I'm basing my packaging on upstream git commit > > whose hash is uniquely

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Adam Borowski
On Tue, Aug 16, 2016 at 10:04:43PM +0500, Andrey Rahmatullin wrote: > On Tue, Aug 16, 2016 at 05:00:02PM +0200, Adam Borowski wrote: > > If the repository contains any tags, I'd strongly recommend the output of > > "git describe --tags". This will, beside DTRT when you're exactly on a > > tag

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Andrey Rahmatullin
On Tue, Aug 16, 2016 at 05:00:02PM +0200, Adam Borowski wrote: > If the repository contains any tags, I'd strongly recommend the output of > "git describe --tags". This will, beside DTRT when you're exactly on a > tag (ie, on a release), produce version numbers of the form: > -<# of commits>-g,

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Adam Borowski
On Tue, Aug 16, 2016 at 11:54:19AM +0500, Andrey Rahmatullin wrote: > On Tue, Aug 16, 2016 at 07:50:37AM +0100, Ghislain Vaillant wrote: > > > > For example, support I'm packaging 0~git.abc123d. This version number > > > > might be used because I'm basing my packaging on upstream git commit > > >

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Andrey Rahmatullin
On Tue, Aug 16, 2016 at 10:09:48AM +0100, Ghislain Vaillant wrote: > > > Generally speaking, is there a recommended Debian version format for > > > git snapshots? > > 1.1+20160816, or ~ instead of +, as usual. > > Unless you are packaging two different snapshots committed at the same > > day. > >

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Ghislain Vaillant
On 16/08/16 07:54, Andrey Rahmatullin wrote: On Tue, Aug 16, 2016 at 07:50:37AM +0100, Ghislain Vaillant wrote: For example, support I'm packaging 0~git.abc123d. This version number might be used because I'm basing my packaging on upstream git commit whose hash is uniquely identified by the

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Andrey Rahmatullin
On Tue, Aug 16, 2016 at 07:50:37AM +0100, Ghislain Vaillant wrote: > > > For example, support I'm packaging 0~git.abc123d. This version number > > > might be used because I'm basing my packaging on upstream git commit > > > whose hash is uniquely identified by the string 'abc123d'. > > > > Such

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Ghislain Vaillant
On 16/08/16 07:43, Ferenc Wágner wrote: Sean Whitton writes: For example, support I'm packaging 0~git.abc123d. This version number might be used because I'm basing my packaging on upstream git commit whose hash is uniquely identified by the string 'abc123d'. Such

Re: create Debian Source from GIT repository without tag

2016-08-16 Thread Ferenc Wágner
Sean Whitton writes: > For example, support I'm packaging 0~git.abc123d. This version number > might be used because I'm basing my packaging on upstream git commit > whose hash is uniquely identified by the string 'abc123d'. Such version numbers won't order correctly.

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread Andrey Rahmatullin
On Mon, Aug 15, 2016 at 04:53:59PM -0700, Sean Whitton wrote: > One thing I've done is added a tag corresponding to upstream part of the > version in my Debian changelog entry. Then gbp can generate the tarball > for me. Sure, but Jerome didn't say he was using gbp. -- WBR, wRAR signature.asc

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread Sean Whitton
Hello, On Mon, Aug 15, 2016 at 09:24:01PM +0500, Andrey Rahmatullin wrote: > > Do you have a example or a wiki in mind ? > Um. git archive | xz > foo.tar.xz, I guess. One thing I've done is added a tag corresponding to upstream part of the version in my Debian changelog entry. Then gbp can

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread Jerome BENOIT
Hi, On 15/08/16 17:46, Andrew Shadura wrote: > On 15 August 2016 at 17:24, Andrey Rahmatullin wrote: >> On Mon, Aug 15, 2016 at 04:58:32PM +0100, Jerome BENOIT wrote: > So I am considering to create a Debian Source from the GIT repository. > Unfortunately, the GIT

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread gregor herrmann
On Mon, 15 Aug 2016 16:58:32 +0100, Jerome BENOIT wrote: > >> What is the best way to create a Debian Source from the upstream GIT > >> repository ? > > git archive would be enough, you don't need uscan for that. > > You can't have a debian/watch in this case, of course. > Do you have a example

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread Andrey Rahmatullin
On Mon, Aug 15, 2016 at 04:58:32PM +0100, Jerome BENOIT wrote: > >> So I am considering to create a Debian Source from the GIT repository. > >> Unfortunately, the GIT repository contains no tags, so uscan(1) seems > >> not be useful here. I have already submitted a ticket to the upstream > >>

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread Jerome BENOIT
Hello Andrey, thanks for your prompt reply. On 15/08/16 16:43, Andrey Rahmatullin wrote: > On Mon, Aug 15, 2016 at 04:19:03PM +0100, Jerome BENOIT wrote: >> it appears that for one of my pacage, libgap-sage not to mention it [1], >> the upstream source tarbal does not contain the required

create Debian Source from GIT repository without tag

2016-08-15 Thread Jerome BENOIT
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello Forum, it appears that for one of my pacage, libgap-sage not to mention it [1], the upstream source tarbal does not contain the required material to be not rejected by ftpmaster [2]. So I am considering to create a Debian Source from the GIT

Re: create Debian Source from GIT repository without tag

2016-08-15 Thread Andrey Rahmatullin
On Mon, Aug 15, 2016 at 04:19:03PM +0100, Jerome BENOIT wrote: > it appears that for one of my pacage, libgap-sage not to mention it [1], > the upstream source tarbal does not contain the required material to be not > rejected by ftpmaster [2]. Your link doesn't seem to support that. > So I am

create Debian Source from GIT repository without tag

2016-08-15 Thread Jerome BENOIT
Hello Forum, it appears that for one of my pacage, libgap-sage not to mention it [1], the upstream source tarbal does not contain the required material to be not rejected by ftpmaster [2]. So I am considering to create a Debian Source from the GIT repository. Unfortunately, the GIT repository