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

Include both the branch and commitid in the VERSTAG #197

Open
3246251196 opened this issue Jul 26, 2024 · 0 comments
Open

Include both the branch and commitid in the VERSTAG #197

3246251196 opened this issue Jul 26, 2024 · 0 comments

Comments

@3246251196
Copy link
Member

Right now when a commit is made we have, for example:

#define VERS            "clib4.library 1.0.0"
#define VSTRING            "clib4.library 1.0.0 (26.07.2024)\r\n"
#define VERSTAG            "\0$VER: clib4.library 1.0.0 (26.07.2024)"

The issue is that someone may make 25 commits in one day. If there is a bug then we need to be able to clone the precise version of code. It would be useful to add the branch and commitid so it looked something like:

#define VERS            "clib4.library 1.0.0"
#define VSTRING            "clib4.library 1.0.0 (26.07.2024)\r\n"
#define VERSTAG            "\0$VER: clib4.library 1.0.0 (26.07.2024) (deadbeef beta10)"

Notice the "deadbeef beta10" added in the parenthesis.

The point is, given a distribution of clib4, it should be possible to find out which branch and commitid created it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant