github mirrors of web repos (support, manual, community) are out of sync
Our web mirrors on github, i.e. web/community -> https://github.com/torproject/community, web/manual -> https://github.com/torproject/manual, web/support -> https://github.com/torproject/support are out of sync.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Jérôme Charaoui assigned to @lavamind
assigned to @lavamind
- Jérôme Charaoui added Gitlab label
added Gitlab label
- Jérôme Charaoui added Needs Information label
added Needs Information label
- Owner
Collapse replies Yes to want to continue mirroring into github.
@lavamind you are right that this was setup before we migrated to Gitlab. We need to review all repos in https://github.com/torproject and https://github.com/thetorproject/ to update and clean it up.
Do you need access to the orgs in github?
- Owner
I am now a member of the
@torporject
GitHub org. - Owner
Should we mirror all the repository branches, or only
main
? - Owner
I went ahead and set it up for all branches. The only caveat I can see is updates are every 5 minutes instead of every 1 minute. If we want to switch to main only I'll have to redo the mirroring config.
- Owner
Alright so how should we proceed? Setting up a push mirror on the GitLab side is easy enough, but this requires acess to be set upon the GitHub side.
- Owner
There's also the lego project that's out of sync: https://github.com/torproject/lego
- Jérôme Charaoui removed Needs Information label
removed Needs Information label
- Jérôme Charaoui added Doing label
added Doing label
- Owner
Before I set up the sync, we should change the default branch in these repositories from
master
tomain
, like we did for the canonical repos a while ago. I don't think I have access to adjust these settings in GitHub. - Owner
Alright so I've changed the default branch for torproject/lego to
main
. Mirroring was already active for this project. - Owner
I've set up mirroring from tpo/web/support to torproject/support and changed the default branch to
main
. There was snag however because the mirroring caused themaster
branch on GitHub to be deleted which is OK except that it caused a number of open pull requests to be closed, with no opportunity to modify the target branch tomain
:- https://github.com/torproject/support/pull/275
- https://github.com/torproject/support/pull/273
- https://github.com/torproject/support/pull/272
I was able to modify two PRs before this happened.
For the other projects I will make sure to reassign the PRs to the
main
branch before enabling mirroring.Edited by Jérôme Charaoui - Owner
I've set up mirroring for torproject/manual and torproject/community.
- Owner
Updated the mirroring instructions to use Deploy keys intead of the
torproject-pusher
surrogate account: - Jérôme Charaoui closed
closed
- Jérôme Charaoui mentioned in issue #41248 (closed)
mentioned in issue #41248 (closed)
- Owner
FYI I also fixed mirroring for these web repositories:
Collapse replies - Owner
Also torproject/template.
- Silvio Rhatto mentioned in issue #41356 (closed)
mentioned in issue #41356 (closed)