Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8002 > unrolled thread

Updating python-jsmin

Started byChristopher Baines <chris@cbaines.net>
First post2015-12-22 18:50 +0100
Last post2016-01-14 17:50 +0100
Articles 16 — 7 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Updating python-jsmin Christopher Baines <chris@cbaines.net> - 2015-12-22 18:50 +0100
    Re: Updating python-jsmin "gustavo panizzo (gfa)" <gfa@zumbi.com.ar> - 2015-12-23 01:20 +0100
      Re: Updating python-jsmin Christopher Baines <chris@cbaines.net> - 2015-12-23 11:10 +0100
        Re: Updating python-jsmin "gustavo panizzo (gfa)" <gfa@zumbi.com.ar> - 2015-12-23 11:50 +0100
          Re: Updating python-jsmin Christopher Baines <chris@cbaines.net> - 2015-12-23 12:40 +0100
            Re: Updating python-jsmin Ben Finney <ben+debian@benfinney.id.au> - 2015-12-23 20:10 +0100
              Re: Updating python-jsmin "gustavo panizzo (gfa)" <gfa@zumbi.com.ar> - 2015-12-25 18:20 +0100
          Re: Updating python-jsmin "gustavo panizzo (gfa)" <gfa@zumbi.com.ar> - 2016-01-12 03:20 +0100
            Re: Updating python-jsmin Mattia Rizzolo <mattia@debian.org> - 2016-01-12 03:50 +0100
              Re: Updating python-jsmin "gustavo panizzo (gfa)" <gfa@zumbi.com.ar> - 2016-01-14 07:50 +0100
                Re: Updating python-jsmin Mattia Rizzolo <mattia@debian.org> - 2016-01-14 12:20 +0100
                  Re: Updating python-jsmin "gustavo panizzo (gfa)" <gfa@zumbi.com.ar> - 2016-01-14 16:50 +0100
                    Re: Updating python-jsmin Mattia Rizzolo <mattia@debian.org> - 2016-01-14 17:30 +0100
                  Re: Updating python-jsmin Thomas Goirand <zigo@debian.org> - 2016-01-15 04:00 +0100
                Re: Updating python-jsmin Dmitry Shachnev <mitya57@debian.org> - 2016-01-14 16:50 +0100
                Re: Updating python-jsmin Barry Warsaw <barry@debian.org> - 2016-01-14 17:50 +0100

#8002 — Updating python-jsmin

FromChristopher Baines <chris@cbaines.net>
Date2015-12-22 18:50 +0100
SubjectUpdating python-jsmin
Message-ID<qIzep-6Xt-15@gated-at.bofh.it>
python-jsmin [1] is not currently maintained by the Python Modules Team,
but I have made a attempt at updating it to the latest upstream version
in a manor compliant with the team policy.

You can find the package here [2]. Is anyone (including the current
maintainer CC'ed) interested in updating this package, and possibly
bringing it in to the team?

Thanks,

Chris

1: https://tracker.debian.org/pkg/python-jsmin
2: http://git.cbaines.net/python-jsmin/

[toc] | [next] | [standalone]


#8003

From"gustavo panizzo (gfa)" <gfa@zumbi.com.ar>
Date2015-12-23 01:20 +0100
Message-ID<qIFjQ-2w8-5@gated-at.bofh.it>
In reply to#8002
On Tue, Dec 22, 2015 at 05:44:53PM +0000, Christopher Baines wrote:
> python-jsmin [1] is not currently maintained by the Python Modules Team,
> but I have made a attempt at updating it to the latest upstream version
> in a manor compliant with the team policy.
do you have a link for the team policy?


You could have open a bug and I would update the pkg, or just ping me.
to get it updated to the latest version.

> 
> You can find the package here [2]. Is anyone (including the current
> maintainer CC'ed) interested in updating this package, and possibly
> bringing it in to the team?

I'm OK moving it into the python modules team, if I don't have to change
my workflow much, or follow another mailing list

> 
> Thanks,
> 
> Chris

cheers!

> 
> 1: https://tracker.debian.org/pkg/python-jsmin
> 2: http://git.cbaines.net/python-jsmin/

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa

[toc] | [prev] | [next] | [standalone]


#8004

FromChristopher Baines <chris@cbaines.net>
Date2015-12-23 11:10 +0100
Message-ID<qIOwP-8gG-25@gated-at.bofh.it>
In reply to#8003
On 23/12/15 00:07, gustavo panizzo (gfa) wrote:
> On Tue, Dec 22, 2015 at 05:44:53PM +0000, Christopher Baines wrote:
>> python-jsmin [1] is not currently maintained by the Python Modules Team,
>> but I have made a attempt at updating it to the latest upstream version
>> in a manor compliant with the team policy.
>
> do you have a link for the team policy?

Yes, you can find it here:
  https://python-modules.alioth.debian.org/policy.html

> You could have open a bug and I would update the pkg, or just ping me.
> to get it updated to the latest version.

Ok, getting an up to date package in Debian would be great. Are you now
planning on updating it?

>> You can find the package here [2]. Is anyone (including the current
>> maintainer CC'ed) interested in updating this package, and possibly
>> bringing it in to the team?
> 
> I'm OK moving it into the python modules team, if I don't have to change
> my workflow much, or follow another mailing list

Sounds like team maintenance is not the best option then at the moment,
as I imagine that there are significant workflow changes (the
python-jsmin package is not in Git at the moment).

[toc] | [prev] | [next] | [standalone]


#8005

From"gustavo panizzo (gfa)" <gfa@zumbi.com.ar>
Date2015-12-23 11:50 +0100
Message-ID<qIP9w-8u4-33@gated-at.bofh.it>
In reply to#8004

[Multipart message — attachments visible in raw view] — view raw

I will update the pkg, last updates weren't difficult so I expect to get it done soon.

Pkg is already on git, in collab-maint


PS: sorry for the top posting

On December 23, 2015 6:03:13 PM GMT+08:00, Christopher Baines <chris@cbaines.net> wrote:
>On 23/12/15 00:07, gustavo panizzo (gfa) wrote:
>> On Tue, Dec 22, 2015 at 05:44:53PM +0000, Christopher Baines wrote:
>>> python-jsmin [1] is not currently maintained by the Python Modules
>Team,
>>> but I have made a attempt at updating it to the latest upstream
>version
>>> in a manor compliant with the team policy.
>>
>> do you have a link for the team policy?
>
>Yes, you can find it here:
>  https://python-modules.alioth.debian.org/policy.html
>
>> You could have open a bug and I would update the pkg, or just ping
>me.
>> to get it updated to the latest version.
>
>Ok, getting an up to date package in Debian would be great. Are you now
>planning on updating it?
>
>>> You can find the package here [2]. Is anyone (including the current
>>> maintainer CC'ed) interested in updating this package, and possibly
>>> bringing it in to the team?
>> 
>> I'm OK moving it into the python modules team, if I don't have to
>change
>> my workflow much, or follow another mailing list
>
>Sounds like team maintenance is not the best option then at the moment,
>as I imagine that there are significant workflow changes (the
>python-jsmin package is not in Git at the moment).

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[toc] | [prev] | [next] | [standalone]


#8007

FromChristopher Baines <chris@cbaines.net>
Date2015-12-23 12:40 +0100
Message-ID<qIPVU-yO-29@gated-at.bofh.it>
In reply to#8005
On 23/12/15 10:48, gustavo panizzo (gfa) wrote:
> I will update the pkg, last updates weren't difficult so I expect to get
> it done soon.
> 
> Pkg is already on git, in collab-maint

Ah, sorry, I missed that. I just used apt-get source to get the source
package.

[toc] | [prev] | [next] | [standalone]


#8010

FromBen Finney <ben+debian@benfinney.id.au>
Date2015-12-23 20:10 +0100
Message-ID<qIWXo-57D-33@gated-at.bofh.it>
In reply to#8007
Christopher Baines <chris@cbaines.net> writes:

> On 23/12/15 10:48, gustavo panizzo (gfa) wrote:
> > Pkg is already on git, in collab-maint
>
> Ah, sorry, I missed that. I just used apt-get source to get the source
> package.

For future reference: The ‘debcheckout(1)’ command will automatically
query the package's “VCS-*” fields and get the source from the specified
VCS repository.

That currently fails for ‘python-jsmin’. Gustavo, please read the
Developer's Reference §6.2.5 and add the appropriate “VCS-*” fields to
the source package.

-- 
 \      “We suffer primarily not from our vices or our weaknesses, but |
  `\    from our illusions.” —Daniel J. Boorstin, historian, 1914–2004 |
_o__)                                                                  |
Ben Finney <ben@benfinney.id.au>

[toc] | [prev] | [next] | [standalone]


#8011

From"gustavo panizzo (gfa)" <gfa@zumbi.com.ar>
Date2015-12-25 18:20 +0100
Message-ID<qJEc1-6kC-3@gated-at.bofh.it>
In reply to#8010
On Thu, Dec 24, 2015 at 05:49:01AM +1100, Ben Finney wrote:
> Christopher Baines <chris@cbaines.net> writes:
> 
> > On 23/12/15 10:48, gustavo panizzo (gfa) wrote:
> > > Pkg is already on git, in collab-maint
> >
> > Ah, sorry, I missed that. I just used apt-get source to get the source
> > package.

see bellow

> 
> For future reference: The ‘debcheckout(1)’ command will automatically
> query the package's “VCS-*” fields and get the source from the specified
> VCS repository.
good to know that

> 
> That currently fails for ‘python-jsmin’. Gustavo, please read the
> Developer's Reference §6.2.5 and add the appropriate “VCS-*” fields to
> the source package.

yes, that was my bad. I had an updated package in alioth but it never
went out to debian archive, that's why Christopher didn't see it. sorry
about that.

I've pushed to alioth an 2.2.0-1 package, I plan to contact my
sponsor to upload to debian on Monday

My package is not that far from python modules team policy so maybe in
next releases I will move into it


thanks everybody!

> 
> -- 
>  \      “We suffer primarily not from our vices or our weaknesses, but |
>   `\    from our illusions.” —Daniel J. Boorstin, historian, 1914–2004 |
> _o__)                                                                  |
> Ben Finney <ben@benfinney.id.au>

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa

[toc] | [prev] | [next] | [standalone]


#8083

From"gustavo panizzo (gfa)" <gfa@zumbi.com.ar>
Date2016-01-12 03:20 +0100
Message-ID<qPWIV-2PA-5@gated-at.bofh.it>
In reply to#8005
Hello

anybody willing to sponsor the upload?

git.debian.org:/git/collab-maint/python-jsmin.git

thanks!

On Wed, Dec 23, 2015 at 06:48:03PM +0800, gustavo panizzo (gfa) wrote:
> I will update the pkg, last updates weren't difficult so I expect to get it done soon.
> 
> Pkg is already on git, in collab-maint
> 
> 
> PS: sorry for the top posting
> 
> On December 23, 2015 6:03:13 PM GMT+08:00, Christopher Baines <chris@cbaines.net> wrote:
> >On 23/12/15 00:07, gustavo panizzo (gfa) wrote:
> >> On Tue, Dec 22, 2015 at 05:44:53PM +0000, Christopher Baines wrote:
> >>> python-jsmin [1] is not currently maintained by the Python Modules
> >Team,
> >>> but I have made a attempt at updating it to the latest upstream
> >version
> >>> in a manor compliant with the team policy.
> >>
> >> do you have a link for the team policy?
> >
> >Yes, you can find it here:
> >  https://python-modules.alioth.debian.org/policy.html
> >
> >> You could have open a bug and I would update the pkg, or just ping
> >me.
> >> to get it updated to the latest version.
> >
> >Ok, getting an up to date package in Debian would be great. Are you now
> >planning on updating it?
> >
> >>> You can find the package here [2]. Is anyone (including the current
> >>> maintainer CC'ed) interested in updating this package, and possibly
> >>> bringing it in to the team?
> >> 
> >> I'm OK moving it into the python modules team, if I don't have to
> >change
> >> my workflow much, or follow another mailing list
> >
> >Sounds like team maintenance is not the best option then at the moment,
> >as I imagine that there are significant workflow changes (the
> >python-jsmin package is not in Git at the moment).
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa

[toc] | [prev] | [next] | [standalone]


#8084

FromMattia Rizzolo <mattia@debian.org>
Date2016-01-12 03:50 +0100
Message-ID<qPXbX-30c-7@gated-at.bofh.it>
In reply to#8083

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jan 12, 2016 at 10:18:43AM +0800, gustavo panizzo (gfa) wrote:
> Hello
> 
> anybody willing to sponsor the upload?
> 
> git.debian.org:/git/collab-maint/python-jsmin.git
> 
> thanks!

I can do it, but what should I use as a orig tarball?  what I get out of
uscan (from pypi) has sha256sum
8e7f19bc2cc467bccd02322dc0a6065d06a038e311f2531af1a33b410afea081
Please consider following a git format with packagin branch
(debian/unstable in your case and that's ok) + upstream branch +
pristine-tar.  according to debian/gbp.conf there should be master
branch, but maybe you didn't push it?

btw, from that tarball you miss .travis.yml so I can't get the source
built.

also, please consider fixing unused-file-paragraph-in-dep5-copyright
(you need to swap the paragraphs; in dep5 order matters).
and also please consider using https in Vcs-Browser.
(but I won't hold on those 2 if you say you don't want to bother)


So, I'm up, but you need to give me an upstream tarball.

> keybase: http://keybase.io/gfa
the key used to sign the tags on that repo is not the same as the one in
keybase, btw.  doesn't really help.  (063A6583 is the one used, 9F6C6333
the one on keybase)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

[toc] | [prev] | [next] | [standalone]


#8092

From"gustavo panizzo (gfa)" <gfa@zumbi.com.ar>
Date2016-01-14 07:50 +0100
Message-ID<qQJTk-3cp-9@gated-at.bofh.it>
In reply to#8084
On Tue, Jan 12, 2016 at 02:40:46AM +0000, Mattia Rizzolo wrote:
> On Tue, Jan 12, 2016 at 10:18:43AM +0800, gustavo panizzo (gfa) wrote:
> > Hello
> > 
> > anybody willing to sponsor the upload?
> > 
> > git.debian.org:/git/collab-maint/python-jsmin.git
> > 
> > thanks!
> 
> I can do it, but what should I use as a orig tarball?  what I get out of
> uscan (from pypi) has sha256sum
> 8e7f19bc2cc467bccd02322dc0a6065d06a038e311f2531af1a33b410afea081
> Please consider following a git format with packagin branch

Usually I generate the orig.tar.gz from git tags myself (gbp will do it
for you) and upload that.
if the pkg needs a -2 release I base on that, I never used pristine-tar

> (debian/unstable in your case and that's ok) + upstream branch +
> pristine-tar.  according to debian/gbp.conf there should be master
> branch, but maybe you didn't push it?
nop, accidentaly i didn't upload it

> 
> btw, from that tarball you miss .travis.yml so I can't get the source
> built.

another good reason not to use tarballs from pip, its not the first time
I see that.

> 
> also, please consider fixing unused-file-paragraph-in-dep5-copyright
> (you need to swap the paragraphs; in dep5 order matters).

ohhh, excelent catch, I never found a solution for that error, thank you

> and also please consider using https in Vcs-Browser.
> (but I won't hold on those 2 if you say you don't want to bother)
I will switch to https

I just pushed the changes, could you upload? you will need to force as I
changed the tag and I merged over the branch from alioth but the end
result is fine

thanks!

> 
> 
> So, I'm up, but you need to give me an upstream tarball.
> 
> > keybase: http://keybase.io/gfa
> the key used to sign the tags on that repo is not the same as the one in
> keybase, btw.  doesn't really help.  (063A6583 is the one used, 9F6C6333
> the one on keybase)
> 
> -- 
> regards,
>                         Mattia Rizzolo
> 
> GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
> more about me:  http://mapreri.org                              : :'  :
> Launchpad user: https://launchpad.net/~mapreri                  `. `'`
> Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-



-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa

[toc] | [prev] | [next] | [standalone]


#8093

FromMattia Rizzolo <mattia@debian.org>
Date2016-01-14 12:20 +0100
Message-ID<qQO6C-6bn-21@gated-at.bofh.it>
In reply to#8092

[Multipart message — attachments visible in raw view] — view raw

On Thu, Jan 14, 2016 at 02:45:55PM +0800, gustavo panizzo (gfa) wrote:
> On Tue, Jan 12, 2016 at 02:40:46AM +0000, Mattia Rizzolo wrote:
> > On Tue, Jan 12, 2016 at 10:18:43AM +0800, gustavo panizzo (gfa) wrote:
> > > Hello
> > > 
> > > anybody willing to sponsor the upload?
> > > 
> > > git.debian.org:/git/collab-maint/python-jsmin.git
> > > 
> > > thanks!
> > 
> > I can do it, but what should I use as a orig tarball?  what I get out of
> > uscan (from pypi) has sha256sum
> > 8e7f19bc2cc467bccd02322dc0a6065d06a038e311f2531af1a33b410afea081
> > Please consider following a git format with packagin branch
> 
> Usually I generate the orig.tar.gz from git tags myself (gbp will do it
> for you) and upload that.

umh, how gbp does that without pristine-tar?
I don't use gbp to dispatch build, so I wouldn't know how to do that.
Also, if I try:

mattia@chase ~/devel/RFS/python-jsmin/python-jsmin (git)-[debian/unstable] % gbp buildpackage
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=python_distutils --with python2,python3
   dh_clean -O--buildsystem=python_distutils
gbp:warning: Pristine-tar branch "pristine-tar" not found
gbp:error: Pristine-tar couldn't checkout "python-jsmin_2.2.0.orig.tar.gz": pristine-tar: no pristine-tar branch found, use "pristine-tar commit" first


Please tell me how I'm supposed to take that tarball, and at this point
also the checksum of what I should expect, since I could start worrying.

Otherwise (sadly) ignore git and upload the source package somewhere
(mentors.d.n).  But I usually prefer git, meh.

> if the pkg needs a -2 release I base on that,

if the pkg needs a -2 I use whatever is already on the Debian archive,
ignoring the git repository (but I usually check they matches).

> I never used pristine-tar

I have gbp doing all the dirty job for me (i.e. the
`pristine-tar commit` above), I just push it out.

> I just pushed the changes, could you upload? you will need to force as I
> changed the tag and I merged over the branch from alioth but the end
> result is fine

moving tags around doesn't need a force.  `git pull --tags` will move
them.  And thanksfully the HEAD was just moved ahead, not force-pushed
(and you shouldn't need to).

> > > keybase: http://keybase.io/gfa
> > the key used to sign the tags on that repo is not the same as the one in
> > keybase, btw.  doesn't really help.  (063A6583 is the one used, 9F6C6333
> > the one on keybase)


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

[toc] | [prev] | [next] | [standalone]


#8094

From"gustavo panizzo (gfa)" <gfa@zumbi.com.ar>
Date2016-01-14 16:50 +0100
Message-ID<qQSjT-Dz-5@gated-at.bofh.it>
In reply to#8093
On Thu, Jan 14, 2016 at 11:16:40AM +0000, Mattia Rizzolo wrote:
> On Thu, Jan 14, 2016 at 02:45:55PM +0800, gustavo panizzo (gfa) wrote:
> > On Tue, Jan 12, 2016 at 02:40:46AM +0000, Mattia Rizzolo wrote:
> > > On Tue, Jan 12, 2016 at 10:18:43AM +0800, gustavo panizzo (gfa) wrote:
> > > > Hello
> > > > 
> > > > anybody willing to sponsor the upload?
> > > > 
> > > > git.debian.org:/git/collab-maint/python-jsmin.git
> > > > 
> > > > thanks!
> > > 
> > > I can do it, but what should I use as a orig tarball?  what I get out of
> > > uscan (from pypi) has sha256sum
> > > 8e7f19bc2cc467bccd02322dc0a6065d06a038e311f2531af1a33b410afea081
> > > Please consider following a git format with packagin branch
> > 
> > Usually I generate the orig.tar.gz from git tags myself (gbp will do it
> > for you) and upload that.
> 
> umh, how gbp does that without pristine-tar?
> I don't use gbp to dispatch build, so I wouldn't know how to do that.
> Also, if I try:

I use this line, it makes everything for me

export GIT_PBUILDER_OPTIONS=--twice ; export ARCH=amd64 ;export \
DIST=sid; /usr/bin/time gbp buildpackage --git-builder=git-pbuilder \
--git-cleaner=true -d --git-verbose

please note that I use pbuilder to build


> 
> mattia@chase ~/devel/RFS/python-jsmin/python-jsmin (git)-[debian/unstable] % gbp buildpackage
> pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
> pyversions: missing debian/pyversions file, fall back to supported versions
> py3versions: no X-Python3-Version in control file, using supported versions
> dh clean --buildsystem=python_distutils --with python2,python3
>    dh_clean -O--buildsystem=python_distutils
> gbp:warning: Pristine-tar branch "pristine-tar" not found
> gbp:error: Pristine-tar couldn't checkout "python-jsmin_2.2.0.orig.tar.gz": pristine-tar: no pristine-tar branch found, use "pristine-tar commit" first
> 
> 
> Please tell me how I'm supposed to take that tarball, and at this point
> also the checksum of what I should expect, since I could start worrying.

I've generated a tarball using git archive and push it to pristine-tar
branch

the md5sum of the tarball is 8f5e2fcdbe62b539efb5686ef0484831

I cloned the repo in a clean sid chroot, built it, and the md5sum
coincided

thanks! I learned something today :)

> 
> Otherwise (sadly) ignore git and upload the source package somewhere
> (mentors.d.n).  But I usually prefer git, meh.
> 
> > if the pkg needs a -2 release I base on that,
> 
> if the pkg needs a -2 I use whatever is already on the Debian archive,
> ignoring the git repository (but I usually check they matches).
> 
> > I never used pristine-tar
> 
> I have gbp doing all the dirty job for me (i.e. the
> `pristine-tar commit` above), I just push it out.
> 
> > I just pushed the changes, could you upload? you will need to force as I
> > changed the tag and I merged over the branch from alioth but the end
> > result is fine
> 
> moving tags around doesn't need a force.  `git pull --tags` will move
> them.  And thanksfully the HEAD was just moved ahead, not force-pushed
> (and you shouldn't need to).
> 
> > > > keybase: http://keybase.io/gfa
> > > the key used to sign the tags on that repo is not the same as the one in
> > > keybase, btw.  doesn't really help.  (063A6583 is the one used, 9F6C6333
> > > the one on keybase)
> 
> 
> -- 
> regards,
>                         Mattia Rizzolo
> 
> GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
> more about me:  http://mapreri.org                              : :'  :
> Launchpad user: https://launchpad.net/~mapreri                  `. `'`
> Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-



-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa

[toc] | [prev] | [next] | [standalone]


#8096

FromMattia Rizzolo <mattia@debian.org>
Date2016-01-14 17:30 +0100
Message-ID<qQSWC-197-15@gated-at.bofh.it>
In reply to#8094

[Multipart message — attachments visible in raw view] — view raw

On Thu, Jan 14, 2016 at 11:44:09PM +0800, gustavo panizzo (gfa) wrote:
> I've generated a tarball using git archive and push it to pristine-tar
> branch
> 
> the md5sum of the tarball is 8f5e2fcdbe62b539efb5686ef0484831
> 
> I cloned the repo in a clean sid chroot, built it, and the md5sum
> coincided
> 
> thanks! I learned something today :)


cool, uploaded.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

[toc] | [prev] | [next] | [standalone]


#8099

FromThomas Goirand <zigo@debian.org>
Date2016-01-15 04:00 +0100
Message-ID<qR2Mi-85x-11@gated-at.bofh.it>
In reply to#8093
On 01/14/2016 07:16 PM, Mattia Rizzolo wrote:
>> Usually I generate the orig.tar.gz from git tags myself (gbp will do it
>> > for you) and upload that.
> umh, how gbp does that without pristine-tar?

Just tell gbp to use tags this way:

# cat debian/gbp.conf
[DEFAULT]
debian-branch = somethingyoulike
upstream-tag = %(version)s
compression = xz

It's very convenient. I like it a way more than using pristine tar,
which forces you to use 3 branches, when really, a single one is needed.
This way, it is also very easy to tag any commit and package that.

You can produce the tarball using something like this:

DEBPKGNAME=`dpkg-parsechangelog -S Source` \
VERSION=`dpkg-parsechangelog -S Version | sed -e 's/[-].*//'` \
git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(GIT_TAG) \
	| xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz

Note that you may want to add this to the VERSION thing to handle EPOCH:
-e 's/^[[:digit:]]*://'. And also, since the -S option for
dpkg-parsechangelog doesn't work in trusty, you may prefer to use grep /
sed / awk.

These days, 99,99% of my upstream authors are using a public Git
repository. They sometime forget to tag before releasing to PyPi,
however, it's trivial to find out which commit matches the PyPi release
(most of the time, a quick look at matching release and commit dates are
enough to find out).

Cheers,

Thomas Goirand (zigo)

[toc] | [prev] | [next] | [standalone]


#8095

FromDmitry Shachnev <mitya57@debian.org>
Date2016-01-14 16:50 +0100
Message-ID<qQSjU-Dz-19@gated-at.bofh.it>
In reply to#8092

[Multipart message — attachments visible in raw view] — view raw

On Thu, Jan 14, 2016 at 02:45:55PM +0800, gustavo panizzo (gfa) wrote:
>> I can do it, but what should I use as a orig tarball?  what I get out of
>> uscan (from pypi) has sha256sum
>> 8e7f19bc2cc467bccd02322dc0a6065d06a038e311f2531af1a33b410afea081
>> Please consider following a git format with packagin branch
> 
> Usually I generate the orig.tar.gz from git tags myself (gbp will do it
> for you) and upload that.
> if the pkg needs a -2 release I base on that, I never used pristine-tar

If you have a (working) debian/watch file, then please use it. If the PyPI
tarballs don't suit you and you need Git tags, then remove/fix the watch file
and document the procedure to obtain the original tarballs somewhere.

--
Dmitry Shachnev

[toc] | [prev] | [next] | [standalone]


#8097

FromBarry Warsaw <barry@debian.org>
Date2016-01-14 17:50 +0100
Message-ID<qQTfY-1gW-1@gated-at.bofh.it>
In reply to#8092
On Jan 14, 2016, at 02:45 PM, gustavo panizzo (gfa) wrote:

>Usually I generate the orig.tar.gz from git tags myself (gbp will do it for
>you) and upload that.  if the pkg needs a -2 release I base on that, I never
>used pristine-tar

Team policy is to use PyPI tarballs and pristine-tar workflow with git-dpm.
If there's a really good reason not to do it (i.e. not just personal
preference), then you have to document both the rationale and maintenance
procedure in README.source.

https://wiki.debian.org/Python/GitPackaging

channeling-the-evil-general-ly y'rs,
-Barry

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web