Closed Bug 1934104 Opened 1 year ago Closed 10 months ago

Bundle `MinGit` version `2.49.0` with `MozillaBuild`

Categories

(Firefox Build System :: MozillaBuild, task, P2)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

Details

Attachments

(1 file)

With the mercurial to git migration on the horizon it makes sense to bundle git with MozillaBuild prior to explicitly needing it to make the changeover as smooth as possible.

I'm not sure msys2 git would be the best choice, though, albeit it's the easy one. But we may want to consider the MinGit package from the official git for windows project instead.

While this would be nice, this doesn't block the git migration work - all our developers already have git installed.

moz-phab has a dependency on git, and we ask the devs to install git via the installers provided by git; this installs git in the least surprising location should any other tooling depend on it.

No longer blocks: hg-to-git
Depends on: 1934697
No longer depends on: 1934697
See Also: → hg-to-git

(In reply to Mike Hommey [:glandium] from comment #1)

I'm not sure msys2 git would be the best choice, though, albeit it's the easy one. But we may want to consider the MinGit package from the official git for windows project instead.

MinGit should be doable. It itself is bundled with parts of msys2, but I should be able to automate untangling it and bundling it with MozillaBuild's msys2.

Summary: Add `git` msys2 package to MozillaBuild → Bundle `git` with MozillaBuild
Severity: S2 → N/A
Priority: P2 → P3
Priority: P3 → P2
Summary: Bundle `git` with MozillaBuild → Bundle `MinGit` version `2.49.0` with `MozillaBuild`

The MinGit zip has parts of msys2 in it already. We try to copy only
what we need into the staged msys2 directory before packaging the
installer.

Some modifications had to be made to the editbin things because it was
modifying binaries, and we can't modify a signed binary.

Pushed by ahochheiden@mozilla.com:
https://hg.mozilla.org/mozilla-build/rev/c0cbf2e9fd5a
Bundle MinGit version 2.49.0 with MozillaBuild r=firefox-build-system-reviewers,glandium

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: