[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-05-22 Thread Anatol Pomozov via arch-commits
Date: Saturday, May 23, 2020 @ 03:28:00
  Author: anatolik
Revision: 631825

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 631823, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 631824, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 631823, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-05-23 03:28:00 UTC (rev 631825)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=13.0.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('dc8cac8fec10e1d60acc192478a718ee8f0e059f84cfbfea77ff33f109b41aa26e6a232a948830598926d648170b3fff2116139d9c184ec398f295c1cc3a77a5'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 631824, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-05-23 03:28:00 UTC 
(rev 631825)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-04-27 Thread Evangelos Foutras via arch-commits
Date: Monday, April 27, 2020 @ 09:36:52
  Author: foutrelis
Revision: 621811

archrelease: copy trunk to community-staging-x86_64

Added:
  gitlab-gitaly/repos/community-staging-x86_64/
  gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD
(from rev 621810, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service
(from rev 621810, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD (from rev 621810, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-27 09:36:52 UTC (rev 621811)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.10.0
+pkgrel=2
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('13260d72dc907b03c97a4144b5cd3366bc8a927dbb14646bc151968c6417d546e78e9e9494f52f51cf69526033da8da79de8dfc1609d428a00a424259816c431'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service 
(from rev 621810, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-staging-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-staging-x86_64/gitlab-gitaly.service  2020-04-27 09:36:52 UTC 
(rev 621811)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-04-22 Thread Anatol Pomozov via arch-commits
Date: Wednesday, April 22, 2020 @ 18:41:30
  Author: anatolik
Revision: 617681

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 617680, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 617680, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 617680, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-22 18:41:30 UTC (rev 617681)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.10.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('13260d72dc907b03c97a4144b5cd3366bc8a927dbb14646bc151968c6417d546e78e9e9494f52f51cf69526033da8da79de8dfc1609d428a00a424259816c431'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 617680, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-04-22 18:41:30 UTC 
(rev 617681)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-04-20 Thread Anatol Pomozov via arch-commits
Date: Monday, April 20, 2020 @ 19:56:39
  Author: anatolik
Revision: 617083

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 617082, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 617082, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 617082, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-20 19:56:39 UTC (rev 617083)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.9.4
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('55f22ffb79062577431cda9b069cf65490d2c9b93f20d833200baa4b624e70624e3948d912a4e4ec8b67ebb70cd25c0bacf8267b31f771305e01a20c0a90e595'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 617082, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-04-20 19:56:39 UTC 
(rev 617083)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-04-16 Thread Anatol Pomozov via arch-commits
Date: Friday, April 17, 2020 @ 01:05:04
  Author: anatolik
Revision: 615393

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 615392, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 615392, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 615392, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-17 01:05:04 UTC (rev 615393)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.9.3
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('2984d1c90458b35e80c27ad14d4c05a42ed5cdb5f565b4de5bc2f7b596ce4f9917ce0bf9dd8dd20e92494012492e51b2a4bfc56bd2207c98214b103a258e662b'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 615392, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-04-17 01:05:04 UTC 
(rev 615393)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-04-08 Thread Felix Yan via arch-commits
Date: Wednesday, April 8, 2020 @ 17:40:58
  Author: felixonmars
Revision: 612678

archrelease: copy trunk to community-staging-x86_64

Added:
  gitlab-gitaly/repos/community-staging-x86_64/
  gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD
(from rev 612677, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service
(from rev 612677, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD (from rev 612677, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-08 17:40:58 UTC (rev 612678)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.9.2
+pkgrel=2
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('d73118a16cba3615ae6139dc9b5948868b176f475663880f605c9349d87f61cf44c3835f964e34c3c75bcb9957ec9743ec279c8e612f90a88d60c15f1d68f1c4'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service 
(from rev 612677, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-staging-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-staging-x86_64/gitlab-gitaly.service  2020-04-08 17:40:58 UTC 
(rev 612678)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-03-31 Thread Anatol Pomozov via arch-commits
Date: Tuesday, March 31, 2020 @ 18:50:44
  Author: anatolik
Revision: 608250

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 608248, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 608248, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 608248, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-03-31 18:50:44 UTC (rev 608250)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.9.2
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('d73118a16cba3615ae6139dc9b5948868b176f475663880f605c9349d87f61cf44c3835f964e34c3c75bcb9957ec9743ec279c8e612f90a88d60c15f1d68f1c4'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 608248, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-03-31 18:50:44 UTC 
(rev 608250)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-03-26 Thread Anatol Pomozov via arch-commits
Date: Thursday, March 26, 2020 @ 21:15:10
  Author: anatolik
Revision: 604707

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 604706, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 604706, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   61 
 gitlab-gitaly.service |   25 +++
 2 files changed, 86 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 604706, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-03-26 21:15:10 UTC (rev 604707)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.9.1
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+_tag=v${pkgver}
+source=("https://gitlab.com/gitlab-org/gitaly/-/archive/${_tag}/gitaly-${_tag}.tar.gz;
+"gitlab-gitaly.service")
+sha512sums=('9595c75dcf087b0142b9c4efec0a34ee37a8c110ddbcdd80b1d243e102ccf2c94486f4f960cf9bbac0ea20a5653fc87b61d971621bb4ad7f9cec052b276e1349'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd gitaly-$_tag
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd gitaly-$_tag
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd gitaly-$_tag
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 604706, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-03-26 21:15:10 UTC 
(rev 604707)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-03-21 Thread Anatol Pomozov via arch-commits
Date: Saturday, March 21, 2020 @ 16:16:18
  Author: anatolik
Revision: 602799

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 602798, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 602798, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   60 
 gitlab-gitaly.service |   25 
 2 files changed, 85 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 602798, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-03-21 16:16:18 UTC (rev 602799)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.9.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('c427ed72e7c938054bcd041a227f4a1839a65abdc819648f624cc8ef680d79105c7c7caa4a9b33cc1ca673b8b9d65d44ce9a1e4a10866473785caa8019317d21'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 602798, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-03-21 16:16:18 UTC 
(rev 602799)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-03-06 Thread Anatol Pomozov via arch-commits
Date: Friday, March 6, 2020 @ 19:34:18
  Author: anatolik
Revision: 591052

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 591051, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 591051, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   60 
 gitlab-gitaly.service |   25 
 2 files changed, 85 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 591051, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-03-06 19:34:18 UTC (rev 591052)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=12.8.5
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('4bbb23c75646ad8848e781909594ed7405ed5182f5a01b4af09d97762ac793bb4817fcfee37f6452e6a01e3711506afebc8ee33993e14e91defc4c75acb068b9'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 591051, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-03-06 19:34:18 UTC 
(rev 591052)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-01-21 Thread Anatol Pomozov via arch-commits
Date: Tuesday, January 21, 2020 @ 21:52:28
  Author: anatolik
Revision: 553340

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 553339, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 553339, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   60 
 gitlab-gitaly.service |   25 
 2 files changed, 85 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 553339, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-01-21 21:52:28 UTC (rev 553340)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.83.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('975b52a526ceea8023ca28e7864bb07c13d050a925715e5f31302854efd73e7e765f1d8e62f6e2549d0cd3bb1967da74737782f6e1878c0714b03db48baa857c'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 553339, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-01-21 21:52:28 UTC 
(rev 553340)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-01-10 Thread Anatol Pomozov via arch-commits
Date: Friday, January 10, 2020 @ 22:22:24
  Author: anatolik
Revision: 551821

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 551820, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 551820, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   60 
 gitlab-gitaly.service |   25 
 2 files changed, 85 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 551820, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-01-10 22:22:24 UTC (rev 551821)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.80.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('16d2483702186e7000fe359dd03454f9805b380e9842ea78b17ca9990f69321c8f5cd31bbec17efdf2d0130b68480c8a3bb38a87b4a53a3821120b2c2ee1118d'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 551820, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2020-01-10 22:22:24 UTC 
(rev 551821)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 11:21:14
  Author: felixonmars
Revision: 546036

archrelease: copy trunk to community-staging-x86_64

Added:
  gitlab-gitaly/repos/community-staging-x86_64/
  gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD
(from rev 546035, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service
(from rev 546035, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   60 
 gitlab-gitaly.service |   25 
 2 files changed, 85 insertions(+)

Copied: gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD (from rev 546035, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 11:21:14 UTC (rev 546036)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.78.0
+pkgrel=2
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('2b984a43f10f7189c5188b58a686bf3b60f7001582efaba69f4e9153cbf5562eb282f242b0dbd6e395bbf0e528d08786b308147e1c67b10616fdbbbc3ebd0df3'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service 
(from rev 546035, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-staging-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-staging-x86_64/gitlab-gitaly.service  2020-01-02 11:21:14 UTC 
(rev 546036)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2019-12-27 Thread Anatol Pomozov via arch-commits
Date: Friday, December 27, 2019 @ 20:21:08
  Author: anatolik
Revision: 543286

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 543285, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 543285, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   60 
 gitlab-gitaly.service |   25 
 2 files changed, 85 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 543285, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-12-27 20:21:08 UTC (rev 543286)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.78.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt libssh2)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('2b984a43f10f7189c5188b58a686bf3b60f7001582efaba69f4e9153cbf5562eb282f242b0dbd6e395bbf0e528d08786b308147e1c67b10616fdbbbc3ebd0df3'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  bundle config force_ruby_platform true # build from sources as some prebuilt 
gems are not available for newer ruby
+  make BUILD_TAGS="tracer_static tracer_static_jaeger"
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 543285, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2019-12-27 20:21:08 UTC 
(rev 543286)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2019-04-07 Thread Evangelos Foutras via arch-commits
Date: Sunday, April 7, 2019 @ 07:22:03
  Author: foutrelis
Revision: 450158

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-gitaly/repos/community-testing-x86_64/
  gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 450157, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 450157, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   69 
 gitlab-gitaly.service |   25 +
 2 files changed, 94 insertions(+)

Copied: gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD (from rev 450157, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-04-07 07:22:03 UTC (rev 450158)
@@ -0,0 +1,69 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.33.0
+pkgrel=2
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby2.5 libxml2 libxslt)
+options=(!buildflags)
+makedepends=(go ruby2.5-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('e34073fc2d7128dcc62b37b7c97fce906c5aec4f48b13e1771b7971cb7b2f56bf39443653012672d90a8604f5b75059b29279f4d76f9be0cfdd897d8bbbaf39a'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s/bundle install/bundle-2.5 install/" Makefile
+  sed -i "s/bundle config/bundle-2.5 config/" Makefile
+  sed -i "s/bundle show/bundle-2.5 show/" Makefile
+  sed -i "s/bundle/bundle-2.5/" internal/rubyserver/rubyserver.go
+  sed -i "s/bundle/bundle-2.5/" internal/linguist/linguist.go
+  sed -i "s/bundle/bundle-2.5/" _support/makegen.go
+  sed -i "s/\"ruby\"/\"ruby-2.5\"/" internal/linguist/linguist.go
+  sed -i "s/env ruby/env ruby-2.5/" ruby/bin/gitaly-ruby
+  sed -i "s/env ruby/env ruby-2.5/" ruby/bin/ruby-cd
+  sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  make build
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service 
(from rev 450157, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-testing-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-testing-x86_64/gitlab-gitaly.service  2019-04-07 07:22:03 UTC 
(rev 450158)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+

[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2019-01-09 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, January 9, 2019 @ 22:57:36
  Author: svenstaro
Revision: 421329

archrelease: copy trunk to community-staging-x86_64

Added:
  gitlab-gitaly/repos/community-staging-x86_64/
  gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD
(from rev 421328, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service
(from rev 421328, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   69 
 gitlab-gitaly.service |   25 +
 2 files changed, 94 insertions(+)

Copied: gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD (from rev 421328, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-09 22:57:36 UTC (rev 421329)
@@ -0,0 +1,69 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.12.0
+pkgrel=2
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby2.3 libxml2 libxslt)
+options=(!buildflags)
+makedepends=(go ruby2.3-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('3a97ebbaac1cff259c6ce9ab13758bc4dfc66e92d144da3c9dc7966281f4375f4fd42c6d02e05a8bb8cf375dd69745232505d836339918fc6e0061ff4e399c5d'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s/bundle install/bundle-2.3 install/" Makefile
+  sed -i "s/bundle config/bundle-2.3 config/" Makefile
+  sed -i "s/bundle show/bundle-2.3 show/" Makefile
+  sed -i "s/bundle/bundle-2.3/" internal/rubyserver/rubyserver.go
+  sed -i "s/bundle/bundle-2.3/" internal/linguist/linguist.go
+  sed -i "s/bundle/bundle-2.3/" _support/makegen.go
+  sed -i "s/\"ruby\"/\"ruby-2.3\"/" internal/linguist/linguist.go
+  sed -i "s/env ruby/env ruby-2.3/" ruby/bin/gitaly-ruby
+  sed -i "s/env ruby/env ruby-2.3/" ruby/bin/ruby-cd
+  sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+
+  # https://github.com/bundler/bundler/issues/6882
+  sed -e '/BUNDLED WITH/,+1d' -i ruby/Gemfile.lock
+}
+
+build() {
+  cd "gitaly-"*
+
+  make build
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service 
(from rev 421328, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-staging-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-staging-x86_64/gitlab-gitaly.service  2019-01-09 22:57:36 UTC 
(rev 421329)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+

[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2018-12-22 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, December 23, 2018 @ 00:35:08
  Author: svenstaro
Revision: 417581

archrelease: copy trunk to community-staging-x86_64

Added:
  gitlab-gitaly/repos/community-staging-x86_64/
  gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD
(from rev 417580, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service
(from rev 417580, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   57 
 gitlab-gitaly.service |   25 +
 2 files changed, 82 insertions(+)

Copied: gitlab-gitaly/repos/community-staging-x86_64/PKGBUILD (from rev 417580, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-23 00:35:08 UTC (rev 417581)
@@ -0,0 +1,57 @@
+# Maintainer: Sven-Hendrik Haase 
+
+# NOTE: Gitlab isn't always compatible with modern Ruby versions. In that 
case, check the
+# commit log for an old fix on how to tell it to use older versions of Ruby. 
I'm afraid we'll
+# need this again at some point in the future.
+pkgname=gitlab-gitaly
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=(glibc ruby libxml2 libxslt)
+options=(!buildflags)
+makedepends=(go ruby-bundler cmake)
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/archive?sha=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('3a97ebbaac1cff259c6ce9ab13758bc4dfc66e92d144da3c9dc7966281f4375f4fd42c6d02e05a8bb8cf375dd69745232505d836339918fc6e0061ff4e399c5d'
+
'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28')
+
+_homedir="/var/lib/gitlab"
+
+prepare() {
+  cd "gitaly-"*
+
+  sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile
+  sed -i "s|dir = \"/home/git/gitaly/ruby\"|dir = 
\"/usr/share/webapps/gitlab-gitaly/ruby\"|" config.toml.example
+  sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = 
\"/usr/share/webapps/gitlab-shell\"|" config.toml.example
+  sed -i "s|bin_dir = \"/home/git/gitaly\"|bin_dir = \"/usr/bin\"|" 
config.toml.example
+}
+
+build() {
+  cd "gitaly-"*
+
+  make build
+}
+
+package() {
+  cd "gitaly-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
\"${_homedir}/sockets/gitlab-gitaly.socket\"|" \
+-e "s|^path =.*|path = \"${_homedir}/repositories\"|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  mkdir -p ${pkgdir}/usr/share/webapps/gitlab-gitaly
+  cp -r ruby ${pkgdir}/usr/share/webapps/gitlab-gitaly/ruby
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-staging-x86_64/gitlab-gitaly.service 
(from rev 417580, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-staging-x86_64/gitlab-gitaly.service  
(rev 0)
+++ community-staging-x86_64/gitlab-gitaly.service  2018-12-23 00:35:08 UTC 
(rev 417581)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitlab-gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target


[arch-commits] Commit in gitlab-gitaly/repos (3 files)

2017-06-30 Thread Sven-Hendrik Haase
Date: Friday, June 30, 2017 @ 11:58:39
  Author: svenstaro
Revision: 241675

archrelease: copy trunk to community-x86_64

Added:
  gitlab-gitaly/repos/community-x86_64/
  gitlab-gitaly/repos/community-x86_64/PKGBUILD
(from rev 241674, gitlab-gitaly/trunk/PKGBUILD)
  gitlab-gitaly/repos/community-x86_64/gitlab-gitaly.service
(from rev 241674, gitlab-gitaly/trunk/gitlab-gitaly.service)

---+
 PKGBUILD  |   35 +++
 gitlab-gitaly.service |   25 +
 2 files changed, 60 insertions(+)

Copied: gitlab-gitaly/repos/community-x86_64/PKGBUILD (from rev 241674, 
gitlab-gitaly/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2017-06-30 11:58:39 UTC (rev 241675)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase 
+
+pkgname=gitlab-gitaly
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="Speed up Git access using caching"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitaly;
+license=('MIT')
+depends=('glibc' 'gitlab-shell')
+makedepends=('go')
+backup=("etc/gitlab-gitaly/config.toml")
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitaly/repository/archive.tar.gz?ref=v${pkgver};
+"gitlab-gitaly.service")
+sha512sums=('ed75be44cac04df10c810a07e0dce5b85a4bd5d20c0d855941c40903bcee6e08dd549ce9d58bdd67d60c5a0920785d4afa48fe9307ad8b4b87d22929aed4ddcb'
+
'db27d797dfacd28763edc990503a56faaad6fccd191a4295b26676d9860714252e4af9a35652a65990d4028b1f4755be30654478d9edfcc5c179c8a6c04d794a')
+
+_homedir="/var/lib/${pkgname}"
+
+package() {
+  cd "gitaly-v${pkgver}-"*
+
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+  mkdir -p "${pkgdir}/etc/${pkgname}"
+  sed \
+-e "s|^socket_path =.*|socket_path = 
${_homedir}/sockets/gitlab-gitaly.socket|" \
+-e "s|^path =.*|path = ${_homedir}/repositories|" \
+config.toml.example > "${pkgdir}/etc/${pkgname}/config.toml"
+
+  install -Dm644 config.toml.example 
"${pkgdir}/usr/share/${pkgname}/config.toml.example"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-gitaly.service" 
"${pkgdir}/usr/lib/systemd/system/gitlab-gitaly.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-gitaly/repos/community-x86_64/gitlab-gitaly.service (from rev 
241674, gitlab-gitaly/trunk/gitlab-gitaly.service)
===
--- community-x86_64/gitlab-gitaly.service  (rev 0)
+++ community-x86_64/gitlab-gitaly.service  2017-06-30 11:58:39 UTC (rev 
241675)
@@ -0,0 +1,25 @@
+#
+#
+# GitLab version: 9.x
+# Contributors  : axil
+# Downloaded from   : 
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
+#
+
+
+[Unit]
+Description=Gitaly is a Git RPC service for handling all the git calls made by 
GitLab.
+Requires=gitlab-unicorn.service
+Wants=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+Type=simple
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-gitaly
+PIDFile=/run/gitlab/gitaly.pid
+ExecStart=/usr/bin/gitaly /etc/gitaly/gitaly/config.toml
+
+[Install]
+WantedBy=multi-user.target