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

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Jun 27 08:34:50 UTC 2019


    Date: Thursday, June 27, 2019 @ 08:34:50
  Author: svenstaro
Revision: 484826

archrelease: copy trunk to community-x86_64

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

-----------------------+
 PKGBUILD              |  152 ++++++++++++++++++++++++------------------------
 gitlab-gitaly.service |   50 +++++++--------
 2 files changed, 101 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-27 08:34:34 UTC (rev 484825)
+++ PKGBUILD	2019-06-27 08:34:50 UTC (rev 484826)
@@ -1,76 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-# 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.48.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.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=('8e5dd61af0e946da442466e0a194c4a6758bbf37f67105443fb4c3627f5939fcfb0e668363e67a991c6ca2317e680fc57f41825665a845cd0a4737c2021f457b'
-            '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 \
-    internal/linguist/linguist.go \
-    _support/makegen.go
-  sed -i "s/env ruby/env ruby-2.5/g" \
-    ruby/gitlab-shell/bin/test-logger \
-    ruby/gitlab-shell/bin/check \
-    ruby/gitlab-shell/hooks/post-receive \
-    ruby/gitlab-shell/hooks/update \
-    ruby/gitlab-shell/hooks/pre-receive
-  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-x86_64/PKGBUILD (from rev 484825, gitlab-gitaly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-27 08:34:50 UTC (rev 484826)
@@ -0,0 +1,76 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+# 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.49.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.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=('1615ca73880f4a16c6947b99e0d52eb27f3db1653d8b714535dc0a264e1ff487d225657c95248495a844c220bd14eaa1775971798f661470bb2f51512fca487b'
+            '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 \
+    internal/linguist/linguist.go \
+    _support/makegen.go
+  sed -i "s/env ruby/env ruby-2.5/g" \
+    ruby/gitlab-shell/bin/test-logger \
+    ruby/gitlab-shell/bin/check \
+    ruby/gitlab-shell/hooks/post-receive \
+    ruby/gitlab-shell/hooks/update \
+    ruby/gitlab-shell/hooks/pre-receive
+  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:

Deleted: gitlab-gitaly.service
===================================================================
--- gitlab-gitaly.service	2019-06-27 08:34:34 UTC (rev 484825)
+++ gitlab-gitaly.service	2019-06-27 08:34:50 UTC (rev 484826)
@@ -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 484825, gitlab-gitaly/trunk/gitlab-gitaly.service)
===================================================================
--- gitlab-gitaly.service	                        (rev 0)
+++ gitlab-gitaly.service	2019-06-27 08:34:50 UTC (rev 484826)
@@ -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