[arch-commits] Commit in gitlab-shell/trunk (PKGBUILD gitlab-shell.gitconfig)

2020-05-28 Thread Anatol Pomozov via arch-commits
Date: Thursday, May 28, 2020 @ 19:15:35
  Author: anatolik
Revision: 636633

FS#66810: setup .gitconfig according to upstream recommendations

https://docs.gitlab.com/ee/install/installation.html#configure-it

Modified:
  gitlab-shell/trunk/PKGBUILD
  gitlab-shell/trunk/gitlab-shell.gitconfig

+
 PKGBUILD   |2 +-
 gitlab-shell.gitconfig |7 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-28 19:09:27 UTC (rev 636632)
+++ PKGBUILD2020-05-28 19:15:35 UTC (rev 636633)
@@ -31,7 +31,7 @@
 "gitlab-shell.sysusers")
 
sha512sums=('75aa095b4912a7ce7e7523a454cb32b543cb3e0061cba8c5346cf2837b486dee49fad855d73086ad7a303cfd9e47f4119e2d3806deaab0bea0bd745f0122fd61'
 
'd419883949c6aaa1fec8e251b82db845483a439df3f743a0370a547449a271bd8e197d93bf6f83d6610f12dbdc4ea17956ae7af1447ac44bd92b73036bb9cd05'
-
'5caafe5300621ced58479e724b39656afc17f32a64ecde5dfa4919683ef37d9121552c78f066678472acb56e0a34b5c3cf34d9b44414d1ed5d91f725d180fa43'
+
'cb8003f2ce8013fcd807aae6d66c22c3a767e74d569bd69aaa5a54b84a36135d25b3af57861f858f8f407e089ff69ff5c325bf065c6051ce8fa197fab70470b8'
 
'616188911fa7b7c569bc2d5e2024177e67366c48b4ffef1f7ad4dc8e4e9e2cdb421b687f45a1e9bdec8bf2736a157ca9f1e0ba24edae2f073b8c7b5ac42745e8')
 
 _datadir="/usr/share/webapps/${pkgname}"

Modified: gitlab-shell.gitconfig
===
--- gitlab-shell.gitconfig  2020-05-28 19:09:27 UTC (rev 636632)
+++ gitlab-shell.gitconfig  2020-05-28 19:15:35 UTC (rev 636633)
@@ -3,3 +3,10 @@
 email = gitlab@localhost
 [core]
 autocrlf = input
+fsyncObjectFiles = true
+[receive]
+advertisePushOptions = true
+[gc]
+auto = 0
+[repack]
+writeBitmaps = true


[arch-commits] Commit in gitlab-shell/trunk (PKGBUILD gitlab-shell.gitconfig)

2018-05-14 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, May 14, 2018 @ 09:16:27
  Author: svenstaro
Revision: 321919

upgpkg: gitlab-shell 2:7.1.2-3

Update gitconfig with upstream changes

Modified:
  gitlab-shell/trunk/PKGBUILD
  gitlab-shell/trunk/gitlab-shell.gitconfig

+
 PKGBUILD   |4 ++--
 gitlab-shell.gitconfig |2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-14 09:16:25 UTC (rev 321918)
+++ PKGBUILD2018-05-14 09:16:27 UTC (rev 321919)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab-shell
 pkgver=7.1.2
-pkgrel=2
+pkgrel=3
 epoch=2
 pkgdesc="Git management software"
 arch=('x86_64')
@@ -27,7 +27,7 @@
 "gitlab-shell.gitconfig"
 "gitlab-shell.sysusers")
 
sha512sums=('5b614b80c539333fc3372c13228d4db030def007b1fb800a97146fb9096304a96216935ec31db056e64254fe2d55afa676b5bc81fd03d70c592f053d1a45c879'
-
'9428eaba40eb3ef52024bb01321de860e149242a15465543030317233486aa37b40c5b946aba57451d07cec98b35fcc95d60fd7b376f77c218034b6cf94d191d'
+
'5caafe5300621ced58479e724b39656afc17f32a64ecde5dfa4919683ef37d9121552c78f066678472acb56e0a34b5c3cf34d9b44414d1ed5d91f725d180fa43'
 
'616188911fa7b7c569bc2d5e2024177e67366c48b4ffef1f7ad4dc8e4e9e2cdb421b687f45a1e9bdec8bf2736a157ca9f1e0ba24edae2f073b8c7b5ac42745e8')
 
 _datadir="/usr/share/webapps/${pkgname}"

Modified: gitlab-shell.gitconfig
===
--- gitlab-shell.gitconfig  2018-05-14 09:16:25 UTC (rev 321918)
+++ gitlab-shell.gitconfig  2018-05-14 09:16:27 UTC (rev 321919)
@@ -1,3 +1,5 @@
 [user]
 name = GitLab
 email = gitlab@localhost
+[core]
+autocrlf = input


[arch-commits] Commit in gitlab-shell/trunk (PKGBUILD gitlab-shell.gitconfig)

2016-05-03 Thread Sven-Hendrik Haase
Date: Wednesday, May 4, 2016 @ 03:18:39
  Author: svenstaro
Revision: 173626

upgpkg: gitlab-shell 2.7.2-7

Switch back to gitlab user

Added:
  gitlab-shell/trunk/gitlab-shell.gitconfig
Modified:
  gitlab-shell/trunk/PKGBUILD

+
 PKGBUILD   |   15 ---
 gitlab-shell.gitconfig |3 +++
 2 files changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-04 00:51:40 UTC (rev 173625)
+++ PKGBUILD2016-05-04 01:18:39 UTC (rev 173626)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab-shell
 pkgver=2.7.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Self hosted Git management software. Replacement for gitolite"
 arch=('any')
 url="https://gitlab.com/gitlab-org/gitlab-shell/;
@@ -21,8 +21,10 @@
 "etc/webapps/${pkgname}/gitconfig"
 "etc/webapps/${pkgname}/authorized_keys"
 "etc/webapps/${pkgname}/")
-source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-shell/repository/archive.tar.gz?ref=v${pkgver};)
-md5sums=('1835e858d9285ac9941eec320e2ecac6')
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-shell/repository/archive.tar.gz?ref=v${pkgver};
+"gitlab-shell.gitconfig")
+md5sums=('1835e858d9285ac9941eec320e2ecac6'
+ '6b917256b13a1685e9a3cc73e68152d0')
 
 _homedir='/var/lib/gitlab'
 _datadir="/usr/share/webapps/${pkgname}"
@@ -33,7 +35,8 @@
 prepare() {
   cd "${srcdir}/${_srcdir}"-*
 
-  sed -e "s|/home/git|${_homedir}|" \
+  sed -e "s|user: git|user: gitlab|" \
+  -e "s|/home/git|${_homedir}|" \
   -e "s|# log_file: .*|log_file: \"${_logdir}/gitlab-shell.log\"|" \
   config.yml.example > config.yml
 }
@@ -49,9 +52,7 @@
   install -dm770 -o root -g 105 "${pkgdir}${_logdir}"
 
   # .gitconfig
-  echo "[user]" > "${pkgdir}${_etcdir}"/.gitconfig
-  echo "name = GitLab" >> "${pkgdir}${_etcdir}"/.gitconfig
-  echo "email = git@localhost" >> "${pkgdir}${_etcdir}"/.gitconfig
+  install -Dm644 -o 105 -g 105 "${srcdir}/gitlab-shell.gitconfig" 
"${pkgdir}${_etcdir}/.gitconfig"
   ln -fs "${_etcdir}/gitconfig" "${pkgdir}${_homedir}/.gitconfig"
 
   # .ssh/authorized_keys

Added: gitlab-shell.gitconfig
===
--- gitlab-shell.gitconfig  (rev 0)
+++ gitlab-shell.gitconfig  2016-05-04 01:18:39 UTC (rev 173626)
@@ -0,0 +1,3 @@
+[user]
+name = GitLab
+email = gitlab@localhost