Allow MOZ_ARTIFACT_REVISION to point to mercurial changesets when using git

RESOLVED FIXED in Firefox 65

Status

enhancement
RESOLVED FIXED
8 months ago
8 months ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

unspecified
mozilla65

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

8 months ago
No description provided.
Assignee

Comment 1

8 months ago
When using artifact builds, one can use the MOZ_ARTIFACT_REVISION
environment variable to force download artifacts from the given
revision.

When the VCS is git, it expects the revision to be a git ref or commit
sha1, which is resolved to a mercurial changeset via git-cinnabar.

It can however be convenient to just point to a given mercurial revision
directly, from, say, try, without pulling it first.

So if the given revision doesn't resolve to an existing git commit,
and it's a complete 40-character sha1, we assume it's a valid mercurial
changeset.
Attachment #9023486 - Attachment description: Bug 1505634 - Allow MOZ_ARTIFACT_REVISION to point to mercurial changesets when using git. → Bug 1505634 - Allow MOZ_ARTIFACT_REVISION to point to unknown mercurial changesets.

Comment 2

8 months ago
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/b4b2dcb8de26
Allow MOZ_ARTIFACT_REVISION to point to unknown mercurial changesets. r=nalexander

Comment 3

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/b4b2dcb8de26
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.