Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#66810 - [gitlab-shell] gitconfig should include some recommended settings
Attached to Project:
Community Packages
Opened by Justin Kromlinger (hashworks) - Thursday, 28 May 2020, 16:21 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 28 May 2020, 19:15 GMT
Opened by Justin Kromlinger (hashworks) - Thursday, 28 May 2020, 16:21 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 28 May 2020, 19:15 GMT
|
DetailsIn gitlab-shell we already have a gitconfig file: https://git.archlinux.org/svntogit/community.git/tree/trunk/gitlab-shell.gitconfig?h=packages/gitlab-shell
However, according to the GitLab docs it should include some more settings: https://docs.gitlab.com/ee/install/installation.html#configure-it Namely: ---- # Disable 'git gc --auto' because GitLab already runs 'git gc' when needed sudo -u gitlab -H git config --global gc.auto 0 # Enable packfile bitmaps sudo -u gitlab -H git config --global repack.writeBitmaps true # Enable push options sudo -u gitlab -H git config --global receive.advertisePushOptions true # Enable fsyncObjectFiles to reduce risk of repository corruption if the server crashes sudo -u gitlab -H git config --global core.fsyncObjectFiles true ---- Resulting in: ---- [user] name = GitLab email = gitlab@localhost [core] autocrlf = input fsyncObjectFiles = true [receive] advertisePushOptions = true [gc] auto = 0 [repack] writeBitmaps = true ---- I've tested receive.advertisePushOptions, without it you run into this: https://wiki.archlinux.org/index.php/GitLab#The_server_does_not_support_push_options But I'm no expert for the other options, is there a specific reason they are not included? |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Thursday, 28 May 2020, 19:15 GMT
Reason for closing: Fixed
Additional comments about closing: svn rev 636633
Thursday, 28 May 2020, 19:15 GMT
Reason for closing: Fixed
Additional comments about closing: svn rev 636633