Skip to content

Draft: Git Migration#413

Closed
maltejur wants to merge 1 commit into
masterfrom
git
Closed

Draft: Git Migration#413
maltejur wants to merge 1 commit into
masterfrom
git

Conversation

@maltejur

@maltejur maltejur commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@tomrittervg

Copy link
Copy Markdown
Collaborator

So what's reset_repository for? It doesn't seem to be called by anything?

@maltejur maltejur marked this pull request as draft April 7, 2026 17:21
@maltejur

maltejur commented Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

So what's reset_repository for? It doesn't seem to be called by anything?

It's used in vendoring.py, it just doesn't show up in the diff because the same function was also used with Mercurial previously.

@maltejur maltejur force-pushed the git branch 4 times, most recently from 80d6607 to 4b20eb3 Compare April 8, 2026 11:19
@tomrittervg

Copy link
Copy Markdown
Collaborator

I don't have any criticisms, it seems fine if it works.

From experience, the situation around reseting the repo for the next project to run gave me many problems, leading me to add "hg status" in various places for debugging. You may consider the same. LMK when it's working and I'll look again and stamp.

@maltejur

Copy link
Copy Markdown
Contributor Author

After some further work on this, I think it's best if we just stick to Mercurial for now. For machine-to-machine try pushes, Mercurial is currently still the only supported option (see Bug 1994568). And switching Updatebot to Git now using Cinnabar to push to the Mercurial try server would require numerous changes in the Taskcluster code that would become obsolete the moment Mercurial isn't used anymore for try pushes, i.e., the moment we would actually need to migrate Updatebot to Git.

But for what it's worth, as soon as Bug 1994568 is fixed, this PR can/should be picked up again and should also be mostly ready to go with some minimal changes required in taskcluster/docker/updatebot/run.py in-tree to make sure a Git checkout is used and potential Lando credentials are provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants