Bug 41603: Customize the creation of MOZ_SOURCE_URL
Merge Info
Related Issues
-
-
Immediate - patchsets for critical bug fixes or other major blocker (e.g. fixes for a 0-day exploit) OR patchsets with trivial changes which do not need testing (e.g. fixes for typos or fixes easily verified in a local developer build) -
Next Minor Stable Release - patchset that needs to be verified in nightly before backport -
Eventually - patchset that needs to be verified in alpha before backport -
No Backport - patchset for the next major stable
-
-
-
Merge to base-browser
- typically for!fixups
to patches in thebase-browser
branch, though sometimes new patches as well-
NOTE: if your changeset includes patches to both
base-browser
andtor-browser
please please make separate merge requests for each part
-
NOTE: if your changeset includes patches to both
-
Merge to Privacy Browser
-
-
-
Link resolved issues with appropriate Release Prep issue for changelog generation
-
Change Description
MOZ_SOURCE_URL
is created from MOZ_SOURCE_REPO
and MOZ_SOURCE_CHANGESET
, combined as $MOZ_SOURCE_REPO/rev/$MOZ_SOURCE_CHANGESET
.
This works for Mercurial, but not for GitLab.
So, this commit changes the creation of MOZ_SOURCE_URL
to match what GitLab does.
At the moment, I've glued the variables with /-/commit/
, since it's the closest equivalent to /rev/
, but it works only for Git hashes.
We could change it with /-/tree/
if we wanted to support also tags (or even branches, but I think that branches defeat the idea of having a precise source point).
Edited by Pier Angelo Vendrame