[SCM] Debian packaging for jack-audio-connection-kit branch, master, updated. debian/0.116.1-4-92-g8b13fcc

Reinhard Tartler siretart at tauware.de
Thu Nov 19 06:41:41 UTC 2009


adi at drcomp.erfurt.thur.de (Adrian Knoth) writes:

> On Wed, Nov 18, 2009 at 12:45:16PM -0500, Eric Dantan Rzewnicki wrote:
>
>> > >>+jack-audio-connection-kit (0.118+svn3796-1) UNRELEASED; urgency=low
>> > >> jack-audio-connection-kit (0.116.2+svn3592-3) unstable; urgency=low
>> > >
>> > >I'm curious to know where the version in the Subject: comes from and how
>> > >it relates to the packaged version.
>> > The version comes from git-describe, which in turn uses the last 
>> Thanks. It comes from `git describe $rev`, which outputs the most recent
>> tag and apends the number of commits since that tag and an abbreviated
>
> Looks like it has some trouble with the +svn part. The latest non-plus
> tag is 0.116.1, followed by the 0.116.2+svn tags:
>
> debian/0.116.1-4
> debian/0.116.2+svn3592-1
> debian/0.116.2+svn3592-2
> debian/0.116.2+svn3592-3

I've applied this patch to /git/pkg-multimedia/git-commit-notice. This
should fix the problem for future notifications.

--- git-commit-notice   2009/11/19 06:36:31     1.1
+++ git-commit-notice   2009/11/19 06:37:33
@@ -153,7 +153,7 @@
        fi
        # The email subject will contain the best description of the ref
        # that we can build from the parameters
-       describe=$(git describe $rev 2>/dev/null)
+       describe=$(git describe --tags $rev 2>/dev/null)
        if [ -z "$describe" ]; then
                describe=$rev
        fi


Explanation. See this part taken from git-describe(1):

,----
|  By default (without --all or --tags) git describe only shows
|  annotated tags. For more information about creating annotated
|  tags see the -a and -s options to git- tag(1).
`----


it seems that the most recent tags have not been created by
git-buildpackage, but manually with 'git tag'. This causes the most
recent tags to be skipped. The parameter --tags "fixes" this.


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list