Your message dated Thu, 29 Dec 2011 14:48:00 +0000
with message-id <[email protected]>
and subject line Bug#652366: fixed in git-buildpackage 0.6.0~git20111229
has caused the Debian Bug report #652366,
regarding git-dch ignores epochs when detecting new upstream versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
652366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.6.0~git20111202
Severity: minor

Dear Maintainer,

I'm continuing my tests with the debian package management with
git-buildpackage and found something which may be an issue, but not
sure.

I'm trying to build a snapshot package of libextractor and the debian
version number use an epoch, here what I did:

- I 'git svn clone' the svn repository of libextractor 

- I created two upstream tags, one for 'upstream/0.6.3' and one for
  'upstream/0.6.4_r18483'

- I created a debian branch based on tag 'upstream/0.6.3', 'cp -r' the 'debian/'
  from source libextractor-0.6.3[1], add, commit and 'git buildpackage 
--git-tag-only'

- I changed the Maintainer to XSBC-Original-Maintainer and add myself as
  maintainer, add and commit

- I merge the upstream tag 'upstream/0.6.4_r18483' in the debian branch

To update the 'debian/changelog', I run 'git-dch --verbose -a -S debian/'.

My issue is that I need an upstream tag with epoch:
'upstream/1%0.6.4_r18483' for git-dch updating the version number.

Without it, I got version '1:0.6.3-2~1.gbpXXXXXX' in 'debian/changelog'

So, I delete the without epoch upstream tag and add one with epoch:
'upstream/1%0.6.4_r18483'.

Now the 'debian/changelog' entry is correct
'1:0.6.4~r18483-1~1.gbp9ae3b3'.

Now, I try 'git buildpackage' and get the following error:

#+begin_src
gbp:info: libextractor_0.6.4~r18483.orig.tar.gz does not exist, creating from 
'upstream/svn/snapshot/0.6.4_r18483'
fatal: Not a valid object name upstream/svn/snapshot/0.6.4_r18483
#+end_src

Is this normal to need two upstream tags when using epoch in Debian
version?

Feel free to close this bug if the answer is yes ;-)

Regards.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc5+hati.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts       2.11.2     
ii  git [git-core]   1:1.7.7.3-1
ii  git-core         1:1.7.7.3-1
ii  python           2.7.2-9    
ii  python-dateutil  1.5-1      
ii  python2.6        2.6.7-4    
ii  python2.7        2.7.2-8    

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.65
ii  pristine-tar  1.15

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-3
ii  unzip          6.0-5  

-- no debconf information


Footnotes: 
[1]  Yes, I do not use git-import-dsc, I need more tests with that tool,
     it gave me strange things after merging the upstream trunk in the
     debian branch, I surely do not understand something ;-)

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgppY1ZrV1fzT.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: git-buildpackage
Source-Version: 0.6.0~git20111229

We believe that the bug you reported is fixed in the latest version of
git-buildpackage, which is due to be installed in the Debian FTP archive:

git-buildpackage_0.6.0~git20111229.dsc
  to main/g/git-buildpackage/git-buildpackage_0.6.0~git20111229.dsc
git-buildpackage_0.6.0~git20111229.tar.gz
  to main/g/git-buildpackage/git-buildpackage_0.6.0~git20111229.tar.gz
git-buildpackage_0.6.0~git20111229_all.deb
  to main/g/git-buildpackage/git-buildpackage_0.6.0~git20111229_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated git-buildpackage package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 29 Dec 2011 14:52:29 +0100
Source: git-buildpackage
Binary: git-buildpackage
Architecture: source all
Version: 0.6.0~git20111229
Distribution: experimental
Urgency: low
Maintainer: Guido Günther <[email protected]>
Changed-By: Guido Günther <[email protected]>
Description: 
 git-buildpackage - Suite to help with Debian packages in Git repositories
Closes: 635061 642355 652366 653472
Changes: 
 git-buildpackage (0.6.0~git20111229) experimental; urgency=low
 .
   * [686f29c] scripts/pq: handle patches without filename extension. Don't
     fail if patches don't have a proper patch header and filename extensions
     (like in the heimdal package)
   * [248b550] Update git-pbuilder to 1.25.
     Thanks to Russ Allbery (Closes: #635061, #642355)
   * [58978c5] Add --[no-]-pbuilder-autoconf to pass GIT_PBUILDER_AUTOCONF=no
     to git-pbuilder.
   * [01a2689] gbp-pq: add "switch" action to quickly switch between
     patch-queue and base branch.
   * [8f41ffb] docs: add missing dependency to manpage generation
   * [6bfc8e5] Fix typo in clean target override
   * [747c05d] dch: Honor epoch when guessing new upstream version.
     Thanks to a lot to Daniel Dehennin for the testcase (Closes: #652366)
   * [ed4e523] import_dsc: remove debian/ dir from upstream source after
     importing it. This gives us the orig tarball on upstream but the debian
     branch looks the same as with dpkg-source -x. (Closes: #653472)
Checksums-Sha1: 
 a765be0f561254c67defc9284b3d2b2f720c25e0 1243 
git-buildpackage_0.6.0~git20111229.dsc
 68b3a0e96ec7b753768a911a1aede853988b852b 129082 
git-buildpackage_0.6.0~git20111229.tar.gz
 5c36947006a2a7426a651a7b493685b62da4f7c9 264876 
git-buildpackage_0.6.0~git20111229_all.deb
Checksums-Sha256: 
 d8534bb6718276eb376328afa7da99e3989b03d03c9e9d6da670e7fce695a093 1243 
git-buildpackage_0.6.0~git20111229.dsc
 be309e2911b33173867f3c4d90029ee590cfaf8f25d29a980d742b6d4c7692ee 129082 
git-buildpackage_0.6.0~git20111229.tar.gz
 6df4e98bc7f9c93e704de1e5e2789f1ca86af016022d0e17ae59cb777647f124 264876 
git-buildpackage_0.6.0~git20111229_all.deb
Files: 
 cce26bf79bed64f62a4fc1c791ad3199 1243 vcs optional 
git-buildpackage_0.6.0~git20111229.dsc
 04ebd5b7be73d680d75f07ef292ae98f 129082 vcs optional 
git-buildpackage_0.6.0~git20111229.tar.gz
 51af9c016150495210cf728a0999c74b 264876 vcs optional 
git-buildpackage_0.6.0~git20111229_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFO/HMvn88szT8+ZCYRAqtCAJ0SUNs6qXSr3/KI0lXY4Rjcqm4uAgCfQ37u
CD3udAl88Py9Cbt3PeQHoDY=
=LeAD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to