public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mrueg:master commit in: dev-go/gitlab-workhorse/
Date: Thu, 31 Mar 2016 00:00:31 +0000 (UTC)	[thread overview]
Message-ID: <1459382421.208b8135252716b03184a2e269e82281175f3000.mrueg@gentoo> (raw)

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>


             reply	other threads:[~2016-03-31  0:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31  0:00 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-03 17:19 [gentoo-commits] dev/mrueg:master commit in: dev-go/gitlab-workhorse/ Manuel Rüger
2016-04-03 18:23 Manuel Rüger
2016-04-03 18:26 Manuel Rüger
2016-04-10  1:37 Manuel Rüger
2016-04-14 23:06 Manuel Rüger
2016-04-24  0:39 Manuel Rüger
2016-08-16 17:06 Manuel Rüger
2016-08-22 21:52 Manuel Rüger
2016-09-01 15:03 Manuel Rüger
2016-09-10 21:18 Manuel Rüger
2016-10-15 21:39 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459382421.208b8135252716b03184a2e269e82281175f3000.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox