Tagging has disappeared since v1.4.1 #373

Closed
opened 2025-12-29 16:21:26 +01:00 by adam · 3 comments
Owner

Originally created by @jean-christophe-manciot on GitHub (Aug 18, 2016).

git log
commit 58e3d5ae09766b943ca9a4e3cb01927238acc212
Merge: 6a48b31 2eb8b4f
Author: Jeremy Stretch <stretch@packetlife.net>
Date:   Tue Aug 16 09:33:57 2016 -0400

    Merge pull request #474 from digitalocean/develop

    Release v1.5.2

although

git describe --abbrev=0 --tags
v1.4.1

Tagging allows easier detection of each new release with "git describe --abbrev=0 --tags". which returns only the latest tag.
Without it, we would need to parse all git log messages.

Originally created by @jean-christophe-manciot on GitHub (Aug 18, 2016). ``` git log commit 58e3d5ae09766b943ca9a4e3cb01927238acc212 Merge: 6a48b31 2eb8b4f Author: Jeremy Stretch <stretch@packetlife.net> Date: Tue Aug 16 09:33:57 2016 -0400 Merge pull request #474 from digitalocean/develop Release v1.5.2 ``` although ``` git describe --abbrev=0 --tags v1.4.1 ``` **Tagging** allows easier detection of each new release with "git describe --abbrev=0 --tags". which returns **only** the latest tag. Without it, we would need to parse all git log messages.
adam closed this issue 2025-12-29 16:21:26 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 18, 2016):

Seems to work fine:

$ git clone -b master https://github.com/digitalocean/netbox.git .
Cloning into '.'...
remote: Counting objects: 5392, done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 5392 (delta 64), reused 0 (delta 0), pack-reused 5265
Receiving objects: 100% (5392/5392), 2.63 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4059/4059), done.
Checking connectivity... done.
$ git describe --abbrev=0 --tags
v1.5.2
@jeremystretch commented on GitHub (Aug 18, 2016): Seems to work fine: ``` $ git clone -b master https://github.com/digitalocean/netbox.git . Cloning into '.'... remote: Counting objects: 5392, done. remote: Compressing objects: 100% (127/127), done. remote: Total 5392 (delta 64), reused 0 (delta 0), pack-reused 5265 Receiving objects: 100% (5392/5392), 2.63 MiB | 0 bytes/s, done. Resolving deltas: 100% (4059/4059), done. Checking connectivity... done. $ git describe --abbrev=0 --tags v1.5.2 ```
Author
Owner

@jean-christophe-manciot commented on GitHub (Aug 19, 2016):

Using "git fetch --tags" solves this:

git fetch --tags
remote: Counting objects: 244, done.
remote: Compressing objects: 100% (159/159), done.
remote: Total 244 (delta 146), reused 65 (delta 65), pack-reused 20
Receiving objects: 100% (244/244), 95.32 KiB | 0 bytes/s, done.
Resolving deltas: 100% (152/152), completed with 44 local objects.
From https://github.com/digitalocean/netbox
 * [new branch]      custom-fields -> origin/custom-fields
 * [new branch]      develop    -> origin/develop
 * [new tag]         v1.4.2     -> v1.4.2
 * [new tag]         v1.5.0     -> v1.5.0
 * [new tag]         v1.5.1     -> v1.5.1
 * [new tag]         v1.5.2     -> v1.5.2

git describe --abbrev=0 --tags
v1.5.2

I have no idea how I can lose tags locally.
I update the local with "git pull -v --progress --no-edit origin master".

@jean-christophe-manciot commented on GitHub (Aug 19, 2016): Using "git fetch --tags" solves this: ``` git fetch --tags remote: Counting objects: 244, done. remote: Compressing objects: 100% (159/159), done. remote: Total 244 (delta 146), reused 65 (delta 65), pack-reused 20 Receiving objects: 100% (244/244), 95.32 KiB | 0 bytes/s, done. Resolving deltas: 100% (152/152), completed with 44 local objects. From https://github.com/digitalocean/netbox * [new branch] custom-fields -> origin/custom-fields * [new branch] develop -> origin/develop * [new tag] v1.4.2 -> v1.4.2 * [new tag] v1.5.0 -> v1.5.0 * [new tag] v1.5.1 -> v1.5.1 * [new tag] v1.5.2 -> v1.5.2 git describe --abbrev=0 --tags v1.5.2 ``` I have no idea how I can lose tags locally. I update the local with "git pull -v --progress --no-edit origin master".
Author
Owner

@jeremystretch commented on GitHub (Aug 19, 2016):

Closing this as I assume there's no action to be taken, but let me know if I'm mistaken.

@jeremystretch commented on GitHub (Aug 19, 2016): Closing this as I assume there's no action to be taken, but let me know if I'm mistaken.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#373