Date: Tuesday, August 8, 2017 @ 21:11:17 Author: svenstaro Revision: 249621
archrelease: copy trunk to community-x86_64 Added: gitlab-gitaly/repos/community-x86_64/PKGBUILD (from rev 249620, gitlab-gitaly/trunk/PKGBUILD) gitlab-gitaly/repos/community-x86_64/gitlab-gitaly.service (from rev 249620, gitlab-gitaly/trunk/gitlab-gitaly.service) Deleted: gitlab-gitaly/repos/community-x86_64/PKGBUILD gitlab-gitaly/repos/community-x86_64/gitlab-gitaly.service -----------------------+ PKGBUILD | 88 ++++++++++++++++++++++++------------------------ gitlab-gitaly.service | 50 +++++++++++++-------------- 2 files changed, 70 insertions(+), 68 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-08-08 21:11:07 UTC (rev 249620) +++ PKGBUILD 2017-08-08 21:11:17 UTC (rev 249621) @@ -1,43 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> - -pkgname=gitlab-gitaly -pkgver=0.28.0 -pkgrel=1 -pkgdesc="Speed up Git access using caching" -arch=('x86_64') -url="https://gitlab.com/gitlab-org/gitaly" -license=('MIT') -depends=('glibc') -options=(!buildflags) -makedepends=('go' 'ruby2.3-bundler' 'cmake') -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=('a54c39dc1113cc29b7de610dbdeb89b4a81a289162d483df7fa2dab2c5312d72e562b65ab631d44b4df1de8030781449aa647e12696b281b9ddac9f5ff7ca684' - 'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28') - -_homedir="/var/lib/gitlab" - -prepare() { - cd "gitaly-v${pkgver}-"* - - sed -i "s/bundle install/bundle-2.3 install/" Makefile - sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile -} - -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/PKGBUILD (from rev 249620, gitlab-gitaly/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-08-08 21:11:17 UTC (rev 249621) @@ -0,0 +1,45 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> + +pkgname=gitlab-gitaly +pkgver=0.29.0 +pkgrel=1 +pkgdesc="Speed up Git access using caching" +arch=('x86_64') +url="https://gitlab.com/gitlab-org/gitaly" +license=('MIT') +depends=('glibc') +options=(!buildflags) +makedepends=('go' 'ruby2.3-bundler' 'cmake') +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=('1272d5cff10603393bbec3bf7a8540b8116b1e9761d407ca7f61f7efaf218cca6bf1bd221cbf6d8c827d820e2550772d83b011d117dcd1a478d186a356453701' + 'b330c0f42592322ad2131079ca554a13a364007182dded8c556198caff2c9ec642acf5bb7dfecb05de5a3d89bffec6588b6d05c8c7c5c771a46df3d296deed28') + +_homedir="/var/lib/gitlab" + +prepare() { + cd "gitaly-v${pkgver}-"* + + sed -i "s/bundle install/bundle-2.3 install/" Makefile + sed -i "s/VERSION = .*/VERSION = ${pkgver}/" Makefile + sed -i "s/env ruby/env ruby-2.3/" ruby/bin/gitaly-ruby + sed -i "s|dir = \"/home/git/gitlab-shell\"|dir = /usr/share/webapps/gitlab-shell|" config.toml.example +} + +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: Deleted: gitlab-gitaly.service =================================================================== --- gitlab-gitaly.service 2017-08-08 21:11:07 UTC (rev 249620) +++ gitlab-gitaly.service 2017-08-08 21:11:17 UTC (rev 249621) @@ -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 249620, gitlab-gitaly/trunk/gitlab-gitaly.service) =================================================================== --- gitlab-gitaly.service (rev 0) +++ gitlab-gitaly.service 2017-08-08 21:11:17 UTC (rev 249621) @@ -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