[arch-commits] Commit in gitlab-gitaly/repos/community-testing-x86_64 (4 files)
Anatol Pomozov
anatolik at archlinux.org
Sat May 23 04:20:37 UTC 2020
Date: Saturday, May 23, 2020 @ 04:20:37
Author: anatolik
Revision: 631833
archrelease: copy trunk to community-testing-x86_64
Added:
gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
(from rev 631832, gitlab-gitaly/trunk/PKGBUILD)
gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
(from rev 631832, gitlab-gitaly/trunk/gitlab-gitaly.service)
Deleted:
gitlab-gitaly/repos/community-testing-x86_64/PKGBUILD
gitlab-gitaly/repos/community-testing-x86_64/gitlab-gitaly.service
-----------------------+
PKGBUILD | 122 ++++++++++++++++++++++++------------------------
gitlab-gitaly.service | 50 +++++++++----------
2 files changed, 86 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-23 04:20:12 UTC (rev 631832)
+++ PKGBUILD 2020-05-23 04:20:37 UTC (rev 631833)
@@ -1,61 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.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=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/PKGBUILD (from rev 631832, gitlab-gitaly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-23 04:20:37 UTC (rev 631833)
@@ -0,0 +1,61 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.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=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'
+ 'e6c31cab200424af118ee9da4def0963a52727f33025fdbdb515c6c1337a9b32f4a377bd925fdd33ffe7b91371ce1d5d70847e07c2b73eac1e85d3f38f5e1261')
+
+_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:
Deleted: gitlab-gitaly.service
===================================================================
--- gitlab-gitaly.service 2020-05-23 04:20:12 UTC (rev 631832)
+++ gitlab-gitaly.service 2020-05-23 04:20:37 UTC (rev 631833)
@@ -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-testing-x86_64/gitlab-gitaly.service (from rev 631832, gitlab-gitaly/trunk/gitlab-gitaly.service)
===================================================================
--- gitlab-gitaly.service (rev 0)
+++ gitlab-gitaly.service 2020-05-23 04:20:37 UTC (rev 631833)
@@ -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-puma.service
+Wants=gitlab-puma.service
+After=gitlab-puma.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