This page is no longer maintained — Please continue to the home page at www.scala-lang.org

tag, your git

3 replies
adriaanm
Joined: 2010-02-08,
User offline. Last seen 31 weeks 4 days ago.
$ git describe fatal: No annotated tags can describe '8a862fd5e94a06c7fc1088623f594cd5bf864168'.However, there were unannotated tags: try --tags.
$ git describe --tags 2.3.3-8386-g8a862fd5e9
$ git showcommit 8a862fd5e9 (HEAD, origin/topic/virtpatmat, topic/virtpatmat, master)Merge: a31e4f8a75 8564134d15Author: Paul Phillips <paulp [at] improving [dot] org> Date:   22 hours ago
    Merge pull request #77 from scalamacros/topic/antlocale        Addresses a bug in SimpleDateFormatter

what's the official line on tags?
Ismael Juma 2
Joined: 2011-01-22,
User offline. Last seen 42 years 45 weeks ago.
Re: tag, your git
On Mon, Dec 26, 2011 at 5:47 PM, Adriaan Moors <adriaan [dot] moors [at] epfl [dot] ch> wrote:
$ git describe fatal: No annotated tags can describe '8a862fd5e94a06c7fc1088623f594cd5bf864168'.However, there were unannotated tags: try --tags.

By the way, for those wondering the difference between annotated tags and otherwise:
"There are a two main types of tags in Git - lightweight and annotated. Lightweight tags are very much like branches that don’t change - it’s just a pointer to a specific commit. Annotated tags, however, are stored as full objects in the Git database. They are checksummed, contain the tagger name, email and date, have a tagging message and can be GPG signed and verified. It’s generally recommended to create annotated tags so you can have all this information, but if you want a temporary tag or for some reason don’t want to keep that other information, lightweight tags are available too." http://learn.github.com/p/tagging.html
Best,Ismael
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: tag, your git


On Mon, Dec 26, 2011 at 9:47 AM, Adriaan Moors <adriaan [dot] moors [at] epfl [dot] ch> wrote:
what's the official line on tags?

I don't know about "official", but the one thing I've learned about tags is that they should be permanent.  So the only tags I want in the central repo are tags corresponding to released versions.  If I understand your and ijuma's messages, we presently have "lightweight tags" where we should have "heavyweight tags".  If that's the case then I can probably fix it.
adriaanm
Joined: 2010-02-08,
User offline. Last seen 31 weeks 4 days ago.
Re: tag, your git
+1

On Tue, Jan 3, 2012 at 4:39 PM, Paul Phillips <paulp [at] improving [dot] org> wrote:


On Mon, Dec 26, 2011 at 9:47 AM, Adriaan Moors <adriaan [dot] moors [at] epfl [dot] ch> wrote:
what's the official line on tags?

I don't know about "official", but the one thing I've learned about tags is that they should be permanent.  So the only tags I want in the central repo are tags corresponding to released versions.  If I understand your and ijuma's messages, we presently have "lightweight tags" where we should have "heavyweight tags".  If that's the case then I can probably fix it.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland