public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] dev/mrueg:master commit in: dev-go/gitlab-workhorse/
@ 2016-03-31  0:00 99% Manuel Rüger
  0 siblings, 0 replies; 1+ results
From: Manuel Rüger @ 2016-03-31  0:00 UTC (permalink / raw
  To: gentoo-commits

commit:     208b8135252716b03184a2e269e82281175f3000
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 00:00:21 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 00:00:21 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=208b8135

dev-go/gitlab-workhorse: Initial version

Package-Manager: portage-2.2.28

 dev-go/gitlab-workhorse/Manifest                   |  1 +
 .../gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild | 36 ++++++++++++++++++++++
 dev-go/gitlab-workhorse/metadata.xml               |  8 +++++
 3 files changed, 45 insertions(+)

diff --git a/dev-go/gitlab-workhorse/Manifest b/dev-go/gitlab-workhorse/Manifest
new file mode 100644
index 0000000..0cad04d
--- /dev/null
+++ b/dev-go/gitlab-workhorse/Manifest
@@ -0,0 +1 @@
+DIST gitlab-workhorse-0.7.1.tar.gz 31713 SHA256 08b0fa6adde1e60eb0b091b98548b77186e75fd19f7f37efd2e477d548636f08 SHA512 ae0067d5ee1d3f82e3f1944f14c8724eb52bec18696ecafee94980d1b7418e0985e36e16f5a9e467e3f8aa87ab69277d88b1915de57406c3f4f8174ecd1745e2 WHIRLPOOL 18afe598bfa94a89657a9071a599baffa0cedb53f1afa31ca2c31fde23e7b102da03346c9016c5bcdbd3201d80ef69d5a048ef20547ecd5949f3390818080303

diff --git a/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild b/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild
new file mode 100644
index 0000000..28fd23a
--- /dev/null
+++ b/dev-go/gitlab-workhorse/gitlab-workhorse-0.7.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit golang-build golang-vcs-snapshot
+
+EGO_SRC=gitlab.com/gitlab-org/${PN}
+EGO_PN=${EGO_SRC}/...
+
+ARCHIVE_URI="https://${EGO_SRC}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="A smart reverse proxy for GitLab written in Go"
+HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-workhorse"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="MIT"
+SLOT="0/${PVR}"
+IUSE=""
+
+RESTRICT="test"
+
+src_prepare() {
+	# Fix relative imports
+	pushd src/${EGO_SRC} || die
+	sed -i -e "s#\./#${EGO_SRC}/#" main.go || die
+	sed -i -e "s#\.\./#${EGO_SRC}/internal/#" internal/upstream/routes.go internal/api/api.go \
+		internal/artifacts/artifact_download.go internal/badgateway/roundtripper.go \
+		internal/artifacts/artifacts_upload.go internal/git/git-http.go \
+		internal/git/archive.go internal/lfs/lfs.go internal/proxy/proxy.go \
+		internal/git/blob.go internal/sendfile/sendfile.go internal/staticpages/deploy_page.go \
+		internal/upload/uploads.go internal/staticpages/error_pages.go internal/upstream/upstream.go \
+		internal/staticpages/servefile.go internal/upstream/handlers.go || die
+	sed -i -e "s#\.\./\.\./#${EGO_SRC}/#" cmd/gitlab-zip-cat/main.go cmd/gitlab-zip-metadata/main.go || die
+	popd || die
+}

diff --git a/dev-go/gitlab-workhorse/metadata.xml b/dev-go/gitlab-workhorse/metadata.xml
new file mode 100644
index 0000000..bfcb697
--- /dev/null
+++ b/dev-go/gitlab-workhorse/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mrueg@gentoo.org</email>
+		<name>Manuel Rüger</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-03-31  0:00 99% [gentoo-commits] dev/mrueg:master commit in: dev-go/gitlab-workhorse/ Manuel Rüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox