Missing "pull mirror" button #2383
Labels
No labels
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Forgejo/migration
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Community#2383
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Comment
First, thank you for your work, I like codeberg very much!
I have one issue though, there's no way to pull from a mirror. Automatic pull mirrors are turned off, and I totally understand that part, but would it be possible to add a "Manually pull from mirror" button on the "Settings" page perhaps? Strictly a manual button. Without the only workaround I know is to delete the repository and then migrate again. I guess this isn't ideal for your servers either, it wastes your precious resources.
ATM, I'm having trouble migrating from gitlab, I get the error
Error 1205 (HY000): Lock wait timeout exceeded; try restarting transaction, but no matter if I restart after a while, I keep getting this error. Having a manual pull button would save me from re-migrating things and would be really really appreciated.Thanks,
bzt
You mean something like the sync button for forks?

Sounds like an interesting idea 🤔
Workaround
@bzt wrote in #2383 (comment):
The safest workaround would be to pull the GIT references locally from Gitlab and push them from Codeberg.
Initial set-up:
Manual update:
Migration issue
@bzt wrote in #2383 (comment):
Do you run the migration with token? Issues, releases, etc. disabled?
Yes, exactly. Something like:
Yes, exactly. Something like:
Thanks, but this involves double network traffic and double local storage space which I'd prefer to avoid. It would be better if codeberg could pull the changes from the mirror directly.
No token, no issues, no releases, just the code repo. It finally worked, btw, the repo in question was this.