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

Add versioning info in-source and in git #33

Open
peter-moran opened this issue Feb 19, 2020 · 3 comments
Open

Add versioning info in-source and in git #33

peter-moran opened this issue Feb 19, 2020 · 3 comments

Comments

@peter-moran
Copy link

For the sake of dependency management, it is really nice to have official release version numbers so that I can share with coworkers what version I am using.

I would suggest starting to git tag periodically with code changes so that those changes are versioned -- github has a nice way to do this with release docs that will show up on the project https://help.github.com/en/github/administering-a-repository/managing-releases-in-a-repository

Additionally, I would suggest adding something like the following to the source:

#define VERSION_STRING "v1.2.3"
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_PATCH 3

This would be really helpful! Thanks for the awesome project.

@tcbrindle
Copy link
Owner

Up until now I've been reluctant to do this because the design of span was still evolving. Now that C++20 has been finalised, this does indeed seem like a reasonable idea.

Once we meet the latest spec (see #32) I'll tag off a 1.0.0 release, and attempt to follow the semver rules after that.

@alejandro-colomar
Copy link

ping

@reinder
Copy link

reinder commented Aug 24, 2022

For my project I log at startup all version info of 3rd party components that are used, would be great to add one for tcb::span too :)

Thanks for all the great work, nice piece of code, really helpful!

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

4 participants