Closed Bug 1963822 Opened 6 months ago Closed 4 months ago

Add an API to Lando that maps between git and hg commit SHAs (both directions)

Categories

(Conduit :: Lando, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: zeid)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

As discussed prior to the git go-live, having a simple public API endpoint on Lando that can map a git SHA to hg, or vice-versa, would be beneficial across multiple parts of our tooling.

Depends on: 1964325
No longer depends on: 1964325
Depends on: 1962211
Severity: -- → S2
Assignee: nobody → zeid
Blocks: 1973235
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED

This is now deployed, and all commits have been imported into Lando. To access this API, use the following endpoints (for mozilla-unified/firefox mapping):

https://lando.moz.tools/api/hg2git/firefox/<hg hash>
https://lando.moz.tools/api/git2hg/firefox/<git hash>

Note that commits that have not yet appeared in the hg pushlog will not be accessible via this API.

See Also: → 1991087
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: