I can’t mirror the linux stable kernel to my private GitLab instance because of some timeout issue I can’t fix. I tried to change the various settings through gitlab.rb or through the admin UI but without much success. Any help would be greatly appreciated.
Here are the commands I issue:
git clone --mirror https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-kernel-stable
cd linux-kernel-stable
git remote set-url --push origin ssh://git@****:2222/path/to/kernel-stable.git
git push --mirror
Here is what I get:
Enter passphrase for key '/home/****/.ssh/id_rsa':
Enumerating objects: 12754943, done.
Counting objects: 100% (12754943/12754943), done.
Delta compression using up to 128 threads
Compressing objects: 100% (2508048/2508048), done.
remote: warning: object 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 26791a8bcf0e6d33f43aef7682bdb555236d56de: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 9e734775f7c22d2f89943ad6c745571f1930105f: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 0397236d43e48e821cce5bbe6a80a1a56bb7cc3a: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object ebb5573ea8beaf000d4833735f3e53acb9af844c: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 06f6d9e2f140466eeb41e494e14167f90210f89d: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 701d7ecec3e0c6b4ab9bb824fd2b34be4da63b7e: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 254cc2c3d0745835f73f5c9a76482b691668a738: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 279c674f31885b18fd312149e7938850f7bd13bb: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object ea5a02080269424e629de1e7f1f385ba9be337ba: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object 733ad933f62e82ebc92fed988c7f0795e64dea62: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object c521cb0f10ef2bf28a18e1cc8adf378ccbbe5a19: missingTaggerEntry: invalid format - expected 'tagger' line
remote: warning: object a339981ec18d304f9efeb9ccf01b1f04302edf32: missingTaggerEntry: invalid format - expected 'tagger' line
Writing objects: 100% (12754943/12754943), 5.06 GiB | 10.14 MiB/s, done.
Total 12754943 (delta 10186423), reused 12754943 (delta 10186423), pack-reused 0
remote: warning: object b2758f55614503d51c777c25faeff549faf6c26c: badFilemode: contains bad file modes
remote: warning: object 313d78fa8a105153164c39c96d494c8ccabd8c7f: badFilemode: contains bad file modes
remote: warning: object acafbc6b9b8ce5a90e40c673dd03abd898876929: badFilemode: contains bad file modes
remote: warning: object 8e9223ef4deb8137fd5a7722da13d753745c06aa: badFilemode: contains bad file modes
remote: warning: object 8264a1b0eeebd9cda625822a1ac6df22d631e8dc: badFilemode: contains bad file modes
remote: warning: object 956b25bd6ec3f1254affb2a47e059497e9c9d030: badFilemode: contains bad file modes
remote: warning: object b2a05c3c518908735ce88038c0043065ef6df11e: badFilemode: contains bad file modes
remote: warning: object ac816417fd510b93e6c95016a42400ef68a810ad: badFilemode: contains bad file modes
remote: warning: object 349794521329ca4029bdc25af77ff7a7e8aa9f83: badFilemode: contains bad file modes
remote: warning: object 602207596acf39400a6bb96fdee83b9bb8b9e0b1: badFilemode: contains bad file modes
remote: warning: object 8ff31038cc910c71b00524b5f38bd0ab24c55217: badFilemode: contains bad file modes
remote: warning: object 2b44639ced114a28737daa6cc4812f20e26ed96e: badFilemode: contains bad file modes
remote: warning: object d924c0ed349b7f92c528df97708cbe85d4b18f48: badFilemode: contains bad file modes
remote: Resolving deltas: 100% (10186423/10186423), done.
remote: Checking connectivity: 12754943, done.
remote: GitLab: Push operation timed out
remote:
remote: Timing information for debugging purposes:
remote: Running checks for ref: linux-2.6.11.y
...
remote: Running checks for ref: v6.9.8
remote: Running checks for ref: v6.9.9
remote: Checking if you are allowed to push... (74.92ms)
remote: Checking if default branch is being deleted... (0.06ms)
remote: Checking if you are force pushing to a protected branch... (133.55ms)
remote: Checking if you are allowed to push to the protected branch... (92.99ms)
remote: Checking if you are allowed to push... (0.09ms)
remote: Checking if default branch is being deleted... (0.02ms)
...
remote: Checking if you are allowed to change existing tags... (0.04ms)
remote: Checking if you are providing a valid tag name... (0.05ms)
remote: Checking if you are creating, updating or deleting a protected tag... (0.04ms)
remote: Scanning repository for blobs stored in LFS and verifying their files have been uploaded to GitLab... (cancelled after 45551.08ms)
remote: Running checks for 5199 changes (cancelled after 45551.32ms)
To ssh://****:2222/path/to/kernel-stable.git
! [remote rejected] linux-2.6.11.y -> linux-2.6.11.y (pre-receive hook declined)
! [remote rejected] linux-2.6.12.y -> linux-2.6.12.y (pre-receive hook declined)
! [remote rejected] linux-2.6.13.y -> linux-2.6.13.y (pre-receive hook declined)
...
! [remote rejected] v6.9.7 -> v6.9.7 (pre-receive hook declined)
! [remote rejected] v6.9.8 -> v6.9.8 (pre-receive hook declined)
! [remote rejected] v6.9.9 -> v6.9.9 (pre-receive hook declined)
error: failed to push some refs to 'ssh://****:2222/path/to/kernel-stable.git'