Closed Bug 1594903 Opened 5 years ago Closed 5 years ago

bootstrap.py with --vcs=git sets up a tree which can't push to try

Categories

(Firefox Build System :: Bootstrap Configuration, defect, P2)

x86_64
macOS
defect

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: alaskanemily, Assigned: chmanchester)

Details

(Keywords: in-triage)

Attachments

(1 file)

Using bootstrap.py --vcs=git as specified at https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Mac_OS_X_Prerequisites sets up a repo that fails in mach try.

When performing a mach try fuzzy or mach try chooser, after selecting options, I get a "bundling N changesets" which counts up to ~75k (taking several hours), and then the error "ERROR Pushing merges is not supported yet"

I can't reproduce. Can you provide more information (like a complete log of the bootstrap output)?

I believe the issue is that bootstrap.py --vcs=git checks out the github mirror rather than using git-cinnabar on the mozilla-central repo.

I can re-run the bootstrap and get the exact results though.

Ah, I think I see what happened, I didn't realize the implications when the bootstrap script printed the explanation of cloning and included an option to clone from github. Perhaps it would be good for the script to also mention that this won't work with try, if it's going to suggest that as an option?

Also, mach try should probably not try to push to try when it detects there is no git-cinnabar metadata available.

Yes, that should be deleted. I believe our approach for quite some time has been to make sure tools work with hg or git cinnabar. If people have other git workflows that work for them that's fine, but for the typical case something like pushing to try needs to work out of the box.

Flags: needinfo?(cmanchester)
Assignee: nobody → cmanchester
Priority: -- → P2

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:cmanchester, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(cmanchester)
Pushed by cmanchester@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d48fe217dc1 Remove reference to gecko-dev in bootstrap instructions. r=dmajor

Landed now...

Flags: needinfo?(cmanchester)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: