Comments (2)
What's the benefit of annotated tags over lightweight tags?
Tags are currently set when preparing a new release. This is automated by GitHub as part of the release workflow and I don't see how I could GitHub tell to use another kind of tag...
from kitodo-presentation.
Annotated tags are handled similar to commits, for example using the command line:
# Create an unsigned annotated tag.
git tag -a -m "New release v6.0.1" v6.0.1
git push origin v6.0.1
# Create a signed annotated tag.
git tag -s -m "New release v6.0.2" v6.0.2
git push origin v6.0.2
Those steps are done before the release is published on GitHub, so the GitHub release process won't create an additional tag.
Like a commit an annotated tag has an author, a timestamp, a message and optionally a digital signature. I suggest to use signed annotated tags, but even unsigned annotated tags are an improvement compared with lightweight tags.
As I wrote in my report above, git recommends using annotated tags for releases.
The command git describe
looks for annotated tags by default.
This is the answer to your question from a chatbot:
- Annotated tags allow you to add a message to the tag, which provides more information about why the tag was created
and what changes were made in the codebase. This can be useful for documenting changes and providing context for other
developers. - Annotated tags also allow you to sign your commits, which can help ensure that your code has not been tampered with
and is authentic. - Annotated tags provide a more comprehensive commit history, making it easier to understand how different versions of
your code are related and how they have changed over time. - Lightweight tags do not have these additional features, so if you need more advanced version control functionality,
annotated tags may be a better choice.
from kitodo-presentation.
Related Issues (20)
- [Question] Trigger New Tenant Module functions via CLI HOT 1
- [BUG] Search word highlighting does not work (`tx_dlf[highlight_word]`) HOT 1
- [Question] How to use the 3D viewer?
- [BUG] Metadata and structure translation entries HOT 14
- [BUG] PR#1116 somehow broke my viewer. When opening a document with a fulltext it just shows "Volltext wird geladen" HOT 3
- [BUG] Memory leak in kitodo:reindex CLI job HOT 26
- Replace JPlayer HOT 4
- [FUND] Preconfigured, easy to install package for testing purposes HOT 1
- [FUND] Bundle default templates and design with Kitodo.Presentation HOT 1
- Update Documentation HOT 6
- [BUG] Metadata `index_name` still gets changed when moving metadata in list HOT 2
- [BUG] Metadata `sorting` value is `0` for every entry
- Activate GitHub Discussions for this repository HOT 2
- [BUG] Error when saving a Collection
- [BUG] Number of hits for facets incorrect HOT 1
- [BUG] Error message when using the new reindexing options --index-limit and --index-begin
- [FEATURE] Add feedback for future "unsupported" ALTO versions
- [REVERT] Use TYPO3 DataHandler in the backend HOT 1
- [BUG] Reindexing options -l and -b work not with -c (or long versions) or -a
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kitodo-presentation.