[x]):I try mirror huge project in Gitea.
Localy on the machine, where Gitea is installed it needs ~15 minutes:
mini-server:/data-files/tmp$ date ; git clone https://github.com/0ad/0ad.git ; date
**So 12. Jul 19:43:50 CEST 2020**
Cloning into '0ad'...
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 463029 (delta 7), reused 17 (delta 5), pack-reused 462988
Receiving objects: 100% (463029/463029), 4.39 GiB | 5.46 MiB/s, done.
Resolving deltas: 100% (357807/357807), done.
Updating files: 100% (33849/33849), done.
**So 12. Jul 19:58:03 CEST 2020**
My git timeouts are set to
; Operation timeout in seconds
[git.timeout]
DEFAULT = 360
MIGRATE = 600
MIRROR = 1200
CLONE = 1200
PULL = 300
GC = 240
Why it's now working?
Ist there any solution to do this?
gitea clone is not a plain clone, it will clone all the branches, so it may spend more time than your command line.
gitea clone is not a plain clone, it will clone all the branches, so it may spend more time than your command line.
Time is not the problem for me. ;)
But it's not working when I increase the timeout settings. The proces is brocken earlier. Is there other internal timeout?
So there should be another context to cancel the process.
So there should be another context to cancel the process.
Means I can't mirror it?
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
@lunny and will ir be possible to mirror project like this?
This is some configuration issue i think.
it woks for me:
git config:
Migration Timeout 6000 seconds
Mirror Update Timeout 3000 seconds
Clone Operation Timeout 3000 seconds
Pull Operation Timeout 3000 seconds
GC Operation Timeout 600 seconds
if you need help with configuration pleace ask for help on your discord server ;)
This is some configuration issue i think.
it woks for me:
git config:
Migration Timeout 6000 seconds Mirror Update Timeout 3000 seconds Clone Operation Timeout 3000 seconds Pull Operation Timeout 3000 seconds GC Operation Timeout 600 secondsif you need help with configuration pleace ask for help on your discord server ;)
Works for me too!