Skip to content

Conversation

@Axel-Naumann
Copy link
Member

No description provided.

If the source dir is a git repo, `RGitCommit.h` remains authoritative and unchanged.

If the source dir is not a git repo, RGitCommit.h can be generated without `git` thanks to the data in RVersion.hxx:
- an even ROOT_PATCH_VERSION indicates that this is a tag.
- an odd ROOT_PATCH_VERSION indicates that this is a development version.

I.e. for all cases where a source tarball instead of a git repo, RGitCommit.h can be constructed during the build, and gitinfo.txt (which used to be generated during the build time, and needed to be generated / updated before `make distsrc` could be called) is not needed anymore.

Drop GIT_TIMESTAMP - the doc of `TROOT::GetGitTimestamp()` always said "build time", not "commit time",
i.e. this is actually a bug fix :-)'

Mention this change and the prior removal of `build/version_number` in the release notes.
@Axel-Naumann Axel-Naumann added this to the 6.30/00 milestone Sep 13, 2023
@Axel-Naumann Axel-Naumann self-assigned this Sep 13, 2023
@phsft-bot
Copy link

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac11/noimt, mac12arm/cxx20, windows10/default
How to customize builds

@phsft-bot
Copy link

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac11/noimt, mac12arm/cxx20, windows10/default
How to customize builds

@github-actions
Copy link

Test Results

       10 files         10 suites   2d 4h 54m 37s ⏱️
  2 492 tests   2 491 ✔️ 0 💤 1
23 851 runs  23 850 ✔️ 0 💤 1

For more details on these failures, see this check.

Results for commit 42e81c6.

@Axel-Naumann
Copy link
Member Author

Closed in favor of #13653

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

Successfully merging this pull request may close these issues.

2 participants