#695795 use annotated git tags (even whenever no signing requested)

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Date:
2012-12-12 19:06:04 UTC
Severity:
normal
#695795#5
Date:
2012-12-12 19:03:19 UTC
From:
To:
At the moment debcommit -r provides commit message only when creating signed tags:

    if ($signtags) {
        if (defined $keyid) {
            if (! action($prog, "tag", "-u", $keyid, "-m",
                         "tagging version $tag", $tag)) {
                    die "debcommit: failed tagging with $tag\n";
            }
        }
        else {
            if (! action($prog, "tag", "-s", "-m",
                         "tagging version $tag", $tag)) {
                    die "debcommit: failed tagging with $tag\n";
            }
        }
    }
    elsif (! action($prog, "tag", $tag)) {
            die "debcommit: failed tagging with $tag\n";
        }
    }

but actually with git it should always provide -m  to create an annotated tag,
which are the "real" tags in GIT.  'git tag' without message/annotation creates
merely a pointer, without any meta-information (e.g. date/author,etc) and thus
such tags do not even considered by 'git describe' by default (explicit --tags
is needed).  such lightweight tags could be used by people to mark some
temporary or non-release specific locations in the development history,
so just demanding using --tags all the time is also suboptimal.

more of food for thought on why to use annotated tags:
http://stackoverflow.com/questions/4971746/why-should-i-care-about-lightweight-vs-annotated-tags

Cheers,