Improvement: Single source of version truth
See original GitHub issueDescription
Note: This ticket is purely about implementation.
Currently the version numbers are determined via multiple ways depending on the config and the called method.
Depending if get_current_version
, get_next_version
, and more, different ways to determine this version are used:
based on tags, based on parsed commit messages, the version file (and maybe more?).
I understand the need for this in the current implementation, but it feels a bit error prone and I think it would make the code easier and cleaner if we could come up with a single way how versions are determined / parsed / found.
I would like to open a discussion about this…
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Single Source of Truth: Benefits, Challenges, & Examples
Single source of truth (SSOT) is a philosophy for collecting data from across the enterprise and aggregating it into a central repository. As ......
Read more >Single Source of Truth - What it is and Why You Want ... - Talend
Single source of truth (SSOT) is a concept used to ensure that everyone in an organization bases business decisions on the same data....
Read more >What Is a Single Source of Truth (SSOT)? - Vista Projects
A single source of truth (SSOT) functions as a centralized location for all your information. Implementing a SSOT model is not simply about...
Read more >What Is a Single Source of Truth? | Examples of SSOT | Perforce
In version control, a single source of truth (SSOT) means storing all code, configuration, and other digital assets in a way that everyone...
Read more >Building a true Single Source of Truth (SSoT) for your team
A true SSoT is one location for all your team's knowledge. It's a place where your questions transform into answers and documents exist...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@danth jup, tags would need to always be created. I think that is a fair requirement (in the future we could think of a plugin solution to enable different and more complex version sources)…
This breaks with a feature I introduced as well -> https://github.com/relekang/python-semantic-release/pull/341, but as stated in the PR, this was for the usecase of monorepos, something this package is currently not made for and also probably should not be used for. So I would be fine with removing this features again. (the whole prerelease feature seems to be a lot more useful and for a bigger audience as well)
This is definitely happening in #487 - it will be tags only. @nejch the Gitlab implementation in PSR is definitely lagging behind Github and Gitea - would be great to have your input!