Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9104441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:52:11+00:00 2026-06-17T01:52:11+00:00

Situation: Our company creates software releases that are built using Hudson from code in

  • 0

Situation: Our company creates software releases that are built using Hudson from code in a git repository. Sometimes, we need to reproduce a build of a previous version because a trial period has expired. This poses a problem since we need to find the code version corresponding to that software version. Our developers do not work using tags or branches, as it does not fit our working style.

As a solution to this problem, I thought we should include an automated tagging system every time a build is succesful.

The workflow I had in mind is the follwoing (executed on our build-machine):

  1. Toss all local changes if any were made: git checkout . git clean -df
  2. Get latest version: git pull
  3. Go to desired version git checkout . or git checkout <tag>
  4. Build software
  5. If successful: tag current version, and push tag to repository: git tag -m "automated tag" versionXXX git push --tags

I have 3 questions regarding this way of working:

  1. Are there any obvious flaws in this way of working? (Vague, I know – sorry)
  2. For this usecase, is there any advantage to using annotated tags over lightweight tags? Most posts recommend annotated tags, but I’m not really seeing the added value, especially for this use case.
  3. Our software consists of multiple modules, each having their own git repository. Some of these modules hardly get updated. Is there any downside to having a lot of tags pointing to the same commit?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:52:12+00:00Added an answer on June 17, 2026 at 1:52 am

    1) Are there any obvious flaws in this way of working? (Vague, I know – sorry)

    Nope.

    2) For this usecase, is there any advantage to using annotated tags over lightweight tags?

    No, if you’re not putting anything meaningful into the tag message, there’s no real point in creating one in the first place. There is no real disadvantage (they hardly use up any space).
    If you get any results from the build, you could put those in the tag comment (unless you have other logging mechanisms which are checked anyway), e.g. number of warnings, or something like that.

    3) Is there any downside to having a lot of tags pointing to the same commit?

    Nope, other than possibly cluttering up the tag namespace (a tag name must be unique to the repo), there’s no problem. As mentioned, they hardly use any space.
    If redundant tags are any problem, you could implement a strategy like: If the tag of the previous build points to the same commit I’d like to tag right now, don’t tag it. If you look up the tag for a specific version, use the tag with the latest version before the one you’re specifying. (That’s only feasible if the lookup is automated; otherwise just re-tag the commit.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that the best sprint length will vary from situation/company to situation/company. That
In our company for software development we are mainly using VisualStudio 2010 (Platform toolset
I'm having a problem with the knockout-mapping plugin with IE8. Our situation is that
I came across this situation while migrating our DB from Foxpro to SQL. Below
Here is the situation: the company that I'm working in right now gave me
I'll try to describe the real situation. In our company we have a reservation
Our situation: We want to use git to manage our project files. So we've
Today I found the following disturbingly ambiguous situation in our code base: class Base
Our company have a need to set up some solution, that would allow us
Our company releases updates of our rich client application (written mainly with ASP.NET, WCF

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.