Repository navigation
build: use the commit date in UTC for the package version, client build id and image tag - #26348
Merged
antobinary merged 1 commit intoOct 30, 2026
Conversation
…ld id and image tag The date was in the committer's time zone, so a later commit could get an earlier date. That also made the package version (+<date>-git.<rev>) of a newer build compare lower than the previous one.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 4
Please check the settings in the CodeRabbit UI or the
|
antobinary
added a commit
to antobinary/bigbluebutton
that referenced
this pull request
Nov 3, 2026
v4.1.x-develop gained bigbluebutton#26219, bigbluebutton#26267, bigbluebutton#26217, bigbluebutton#26248, bigbluebutton#26348 and three Dependabot image bumps since 9fffe59. They merge cleanly; the merge is here so that the two commits that follow can change bigbluebutton-web/Dockerfile and build-all-images.yml as those files now are on 4.1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
The commit date that the builds use as a version component is now taken in UTC instead of the
committer's time zone, in the two places that compute it, with the same command:
build/setup.sh:COMMIT_DATE, which goes into every package version(
<version>~<addon>+<COMMIT_DATE>-git.<rev>,build/setup-inside-docker.sh) and the HTML5 clientbuild id.
.github/workflows/build-all-images.yml: the client build id of the images and the dated imagetag from ci(docker): tag the images with the commit date and label them with the commit #26267.
The format stays the same (no
Z), so package versions, the?v=cache-busting values and theAbout dialog look as before.
Closes Issue(s)
None
Motivation
Follow-up to #26267, where @antobinary pointed out that the date is the committer's local time: a
later commit can get an earlier date. On the last 400 first-parent commits of v4.1.x-develop that
happens 5 times in local time and 0 times in UTC. For the image tags that only breaks sorting; for
the packages it means a newer build can get a lower version than the build before, which apt does
not offer as an upgrade.
The switch is safe: the last 400 commits are all at -0300, -0400 or -0500, so UTC moves their dates
3 to 5 hours forward and the first UTC build is newer than every build before it. Only a commit from
a committer east of UTC could, once, get a date up to 2 hours before an earlier local-time build;
there is none in the last 400.
How to test
TZ=UTC0 git log -n1 --pretty=format:%cd --date=format-local:%Y%m%dT%H%M%S 9fffe59753gives20261026T145204(local:20261026T105204). c1ca642 and 105a832, the example from ci(docker): tag the images with the commit date and label them with the commit #26267,are in order in UTC (
20251105T171730,20251105T173359) and not in local time.build/setup.sh: no findings.