Closed Bug 1624830 Opened 6 years ago Closed 3 years ago

./mach bootstrap should use the release branch of cinnabar

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: kats, Unassigned)

Details

When ./mach bootstrap installs git-cinnabar, it checks out the latest master branch of cinnabar. But then if there are commits to cinnabar upstream, every use of cinnabar will emit a warning about the master branch being out of date. It would be better if bootstrap checked out cinnabar to the release branch instead to avoid these warnings, and to also get a presumably more-reliable cinnabar version.

Glandium, any thoughts about this?

Flags: needinfo?(mh+mozilla)
Priority: -- → P3

every use of cinnabar will emit a warning about the master branch being out of date.

That shouldn't be the case. It should happen at most once a day.

Flags: needinfo?(mh+mozilla)

If it happens more than once a day, I can think of a corner case that would trigger that. What's the output for git config -l --show-origin | grep cinnabar, when you run it from a repo when it happens more frequently than once a day?

Flags: needinfo?(kats)

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

every use of cinnabar will emit a warning about the master branch being out of date.

That shouldn't be the case. It should happen at most once a day.

Ah, that might be true. I just noticed the warnings a bunch of times without paying attention to exactly how often it happened. I guess I assumed it would happen every time. I tried just now running a few basic operations and it didn't warn me.

I ran the command you requested and got this:

file:/home/kats/.gitconfig	cinnabar.helper=/Users/kats/.mozbuild/git-cinnabar/git-cinnabar-helper
file:/home/kats/.gitconfig	cinnabar.version-check=1585227593
file:/home/kats/zspace/gecko/.git/config	cinnabar.fsck=1584560848
Flags: needinfo?(kats)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

As of bug 1787993, bootstrap installs the last release.

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