Package: git-buildpackage Version: 0.6.13 Severity: wishlist Dear Maintainer,
git-dch only increases the version found in debian/changelog or uses the “--new-version” command line option for native packages. I wonder if the limitation[1] of using upstream-tag to non native packages could not be removed. With something like: #+begin_src python if add_section and not version_change: # Get version from upstream if none provided v = guess_version_from_upstream(repo, options.upstream_tag, cp) if v and source.is_native(): # Strip the non native version part version_change['version'] = v.rstrip('-1') elif v: version_change['version'] = v #+end_src Or adding a “native=False” parameter to “guess_version_from_upstream()” and calling it with: #+begin_src python if add_section and not version_change: # Get version from upstream if none provided v = guess_version_from_upstream(repo, options.upstream_tag, cp, native=source.is_native()) if v: version_change['version'] = v #+end_src This would make easier to drive automatically package building on git events. Regards. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (90, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git-buildpackage depends on: ii devscripts 2.14.1 ii git 1:1.9.1-1 ii man-db 2.6.6-1 ii python 2.7.5-5 ii python-dateutil 1.5+dfsg-1 ii python-pkg-resources 3.4.1-1 Versions of packages git-buildpackage recommends: pn cowbuilder <none> ii pristine-tar 1.30 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-3 ii unzip 6.0-11 -- no debconf information Footnotes: [1] https://honk.sigxcpu.org/gitweb/?p=git-buildpackage.git;a=blob;f=gbp/scripts/dch.py;h=f36f287731c13c6d3ebe07531ae84c310d17fcb1;hb=HEAD#l466 -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF
signature.asc
Description: PGP signature