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)
Conduit
Lando
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.
Comment 1•5 months ago
|
||
Comment 2•4 months ago
|
||
Authored by https://github.com/zzzeid
https://github.com/mozilla-conduit/lando/commit/2311eba675a3e074122c910a42d3a786e7ffe139
[main] api: add support for bidirectional mapping (bug 1963822) (#340)
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•4 months ago
•
|
||
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.
You need to log in
before you can comment on or make changes to this bug.
Description
•