[arch-commits] Commit in gitlab-gitaly/repos/community-x86_64 (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Oct 25 07:23:07 UTC 2018


    Date: Thursday, October 25, 2018 @ 07:23:07
  Author: svenstaro
Revision: 398920

archrelease: copy trunk to community-x86_64

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

-----------------------+
 PKGBUILD              |  125 ++++++++++++++++++++++++------------------------
 gitlab-gitaly.service |   50 +++++++++----------
 2 files changed, 88 insertions(+), 87 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-25 07:22:57 UTC (rev 398919)
+++ PKGBUILD	2018-10-25 07:23:07 UTC (rev 398920)
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=gitlab-gitaly
-pkgver=0.125.0
-pkgrel=1
-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=('625fc048b0d4e1baade08073a2c1e7e813b0c9de8568677ad54995b13884734487a6f644cb68fb6b0ba4e89a721033606bfe32b63104d57ae71b71350abafb4e'
-            '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/\"ruby\"/\"ruby-2.3\"/" internal/linguist/linguist.go
-  sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile
-  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|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-x86_64/PKGBUILD (from rev 398919, gitlab-gitaly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-25 07:23:07 UTC (rev 398920)
@@ -0,0 +1,63 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=gitlab-gitaly
+pkgver=0.126.0
+pkgrel=1
+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=('8ee14365f458193f10e095e75bf55b1358279df91ed4e38409842a0705ce19a1629ed392f7a98027dd73eb44ea6b9e00ca1fc75417cdaf391b5c86f1d4bbad37'
+            '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/VERSION = .*/VERSION = ${pkgver}/" Makefile
+  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|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:

Deleted: gitlab-gitaly.service
===================================================================
--- gitlab-gitaly.service	2018-10-25 07:22:57 UTC (rev 398919)
+++ gitlab-gitaly.service	2018-10-25 07:23:07 UTC (rev 398920)
@@ -1,25 +0,0 @@
-#####################################################
-#
-# 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

Copied: gitlab-gitaly/repos/community-x86_64/gitlab-gitaly.service (from rev 398919, gitlab-gitaly/trunk/gitlab-gitaly.service)
===================================================================
--- gitlab-gitaly.service	                        (rev 0)
+++ gitlab-gitaly.service	2018-10-25 07:23:07 UTC (rev 398920)
@@ -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



More information about the arch-commits mailing list