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

set current git revision and git merge-base in ELN VERSION #1

Open
PiTrem opened this issue Aug 15, 2024 · 0 comments
Open

set current git revision and git merge-base in ELN VERSION #1

PiTrem opened this issue Aug 15, 2024 · 0 comments

Comments

@PiTrem
Copy link
Member

PiTrem commented Aug 15, 2024

set base revision and current revision in VERSION

The info from VERSION is displayed on the /about page of the ELN and should give the actual version tag and/or exact code revision and the closest ancestor from main or tag.

must have:

  • base_revision: latest ancestor with main as obtained with git merge-base HEAD main
  • current_revision : as obtained with git rev-parse HEAD

should have:

  • correct version :
git describe --tags --exact-match `git rev-parse HEAD`

or

git describe --all --exact-match `git rev-parse HEAD`

could also have:

  • base_tag : git describe --tags --abbrev=0 to show the closest tag ancestor

maybe:

  • link to commit page on github?
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