Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Commit Required Tagger #296

Open
ashcrow opened this issue Jun 12, 2017 · 2 comments
Open

No Commit Required Tagger #296

ashcrow opened this issue Jun 12, 2017 · 2 comments
Labels
effort/medium Can be done in 1-2 days gain/low Affect only one person, corner case, has easy workaround RFE This issue is a Request For Enhancement (Feature)

Comments

@ashcrow
Copy link
Contributor

ashcrow commented Jun 12, 2017

Wishlist: Add a tagger that doesn't require a commit.

@dgoodwin
Copy link
Collaborator

Today when we commit on tags we are comitting:

  • metadata file in .tito/packages/pkgname. This just contains the last tagged version for the branch, and the sub-directory to the package. (Note: we support repos with multiple packages in them, those packages can move around)
  • Version or Release in spec file
  • Changelog in spec file

If we start looking at Dockerfile builds the last two are of no concern anymore, but we'll need to know a version for when we tag the image.

For the metadata, we could probably get a little more presumptive and assume where you run tito is the location you're building a sub-package from, assume a package name from directory or a config file. For the version as mentioned in other issue, I think we could scan the git tags in order looking for the last one that matches.

Then tito tag just becomes creating a git tag for the most recent branch HEAD.

@dgoodwin dgoodwin changed the title No Commit Required Releaser No Commit Required Tagger Jun 13, 2017
@FrostyX FrostyX added the RFE This issue is a Request For Enhancement (Feature) label Mar 25, 2020
@FrostyX
Copy link
Member

FrostyX commented Jan 3, 2024

Related or possibly a duplicate #441

@FrostyX FrostyX added effort/medium Can be done in 1-2 days gain/low Affect only one person, corner case, has easy workaround labels Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/medium Can be done in 1-2 days gain/low Affect only one person, corner case, has easy workaround RFE This issue is a Request For Enhancement (Feature)
Projects
None yet
Development

No branches or pull requests

3 participants