community/gitlab to 10.1.0-1

This commit is contained in:
Kevin Mihelich 2017-10-27 00:19:05 +00:00
parent 90acdf1925
commit 12fb12c1bc

View file

@ -11,7 +11,7 @@
# - disable webpack build
pkgname=gitlab
pkgver=10.0.4
pkgver=10.1.0
pkgrel=1
pkgdesc="Project management and code hosting application"
arch=('x86_64')
@ -40,7 +40,7 @@ source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/gitlab-org/gitlab-ce/reposi
gitlab.logrotate
yarn.lock)
install='gitlab.install'
sha512sums=('35aa5938e7d38504470251dedcd238f1dd3ce2c10c5a04c769cabd257ae1080e3c6f07ff5c3c790164e501f18f5e6ed6c00a193e5588fb8978688f7b74dc9f50'
sha512sums=('5dab8cca9d5d67eb020e27e4a0246e04ce6544977ca49c940962bb4169f67620c1a72d49815b1198b6406c613ff0d066895a8f1386122f389c34827d40b82982'
'56cce150645ef74fa42a6100c8bc7689c4012579e1f3ba237c06c367b121246b39e968044615fa21c4757bc8e9d06f37f8ac8d39aa8b808c758e716857553f66'
'8678b2f0632a830e42a8a62b59ffe66b629b7d96034ff167e2a93fdbb3c7617db0c7529990b73c7a12a78a900ec833e48c691ebbac6cd8257e53de060da16a37'
'79cfb8ee740ab30f970c3113659b8349128abeae5e32cc81bb905f89a6db9941b7778040a094b884262daf020f66a1aee49a12d34fbb94efce6ade946bb4625b'
@ -66,7 +66,9 @@ prepare() {
cd "${_srcdir}"*
# Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/36397
cp "${srcdir}"/yarn.lock .
# We used to need this but now the package doesn't build anymore with this. Leaving it commented for now.
# See also https://gitlab.com/gitlab-org/gitlab-ce/issues/38525
# cp "${srcdir}"/yarn.lock .
msg2 "Patching git revision in config/initializers/2_app.rb..."
sed -i -e "s|REVISION = Gitlab::Popen.popen(%W(#{config.git.bin_path} log --pretty=format:%h -n 1)).first.chomp.freeze|REVISION = \"${revision}\"|" \