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] repo/gentoo:master commit in: app-metrics/prometheus/
Date: Mon,  7 Oct 2019 09:53:56 +0000 (UTC)	[thread overview]
Message-ID: <1570442024.31e2f5425280e44183ff005114362ca16a04c92e.mrueg@gentoo> (raw)

commit:     31e2f5425280e44183ff005114362ca16a04c92e
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 09:53:18 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 09:53:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e2f542

app-metrics/prometheus: Version bump to 2.13.0

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 app-metrics/prometheus/Manifest                 |  1 +
 app-metrics/prometheus/prometheus-2.13.0.ebuild | 68 +++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest
index 4ed98f77262..063a2162530 100644
--- a/app-metrics/prometheus/Manifest
+++ b/app-metrics/prometheus/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-2.11.2.tar.gz 12132678 BLAKE2B 0b6b9a93b7329c124f901d0acc6130132aa187142f0416e087c12f20b0cd35f8564a27d0df8c0bc811284b9811f446344adf700d6611afac3c5c1131c208b341 SHA512 cecdaf4522885bdf62492667d92475a97c54b04c1e93f48b6078def319fe33f5e28aafbab61e3609413615d6f853e817564fc372e5d1df0d867fe9fa333f6de9
 DIST prometheus-2.12.0.tar.gz 15221347 BLAKE2B 6061562e6bafe8e2373ad676e7acd2b5d5ff8e195cf4c1abd709347992c16970b64b225e9f58f33a801ff521abc78422281d97d8c5307a80a64fb8c8a8d8d5fe SHA512 3d3b5ce3afd13714a8fa96964784fa40feb650459f657cbc695c6a7e866f89c488132b408d78ea101804532768c51c3913607bf001f27d3f05c3df9efe3cab82
+DIST prometheus-2.13.0.tar.gz 15193225 BLAKE2B 4b7b5cffb916bea382e741969de5e2a97cca89055e5096d1042fc03d2c63efb95719e394c1abeeed2351afed797065d20773693987384811654bdc32b57e2c96 SHA512 1c9ae1cbbe4e96d00c804a6a891c0b93a36c633499433a7b5f88a80cba98874bb01d2a10bd9e3b42a2a4d07580e4d16e34f50d5e07636cf6d7d7c52c967dafc3
 DIST prometheus-2.9.2.tar.gz 11477683 BLAKE2B f0c18c57ff0fe292710174a91080a84ecf0375b4335aacaf4a8e32c842a9346b9fd48888ef8a19a597511c57eb8af7f90cca57d0cc51b9de4558c3f22953d165 SHA512 4cce1827580e49b1659ad492de946a81694c1dab90e079f3f0e56c1991254cf4ecac7f052aac75bf58a0b95d3cf4daa8c15b3e8305a3c089570da40c44a8ccc0

diff --git a/app-metrics/prometheus/prometheus-2.13.0.ebuild b/app-metrics/prometheus/prometheus-2.13.0.ebuild
new file mode 100644
index 00000000000..f2b203a0122
--- /dev/null
+++ b/app-metrics/prometheus/prometheus-2.13.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/prometheus"
+MY_PV=v${PV/_rc/-rc.}
+PROMETHEUS_COMMIT="6ea4252"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus"
+SRC_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+	>=dev-lang/go-1.12
+	>=dev-util/promu-0.3.0"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+	enewgroup prometheus
+	enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+	pushd src/${EGO_PN} || die
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin promtool prometheus
+	dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+	insinto /etc/prometheus
+	doins documentation/examples/prometheus.yml
+	insinto /usr/share/prometheus
+	doins -r console_libraries consoles
+	dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
+	dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+	popd || die
+
+	newinitd "${FILESDIR}"/prometheus.initd prometheus
+	newconfd "${FILESDIR}"/prometheus.confd prometheus
+	keepdir /var/log/prometheus /var/lib/prometheus
+	fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+	if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
+		ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
+		ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
+		ewarn "This release requires a clean storage directory and is not compatible with"
+		ewarn "files created by previous beta releases"
+	fi
+}


             reply	other threads:[~2019-10-07  9:54 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-07  9:53 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-18 22:50 [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus/ William Hubbs
2023-12-03 23:15 Sam James
2023-09-26 21:27 William Hubbs
2023-04-30 23:50 Sam James
2023-03-27 22:01 William Hubbs
2023-03-26 23:53 William Hubbs
2023-03-26 19:46 William Hubbs
2023-03-25 18:52 William Hubbs
2023-03-25 18:16 William Hubbs
2023-01-17 18:55 William Hubbs
2023-01-17 17:59 William Hubbs
2022-11-29 19:53 William Hubbs
2022-11-29 19:50 William Hubbs
2022-11-29 19:50 William Hubbs
2022-11-13 22:05 William Hubbs
2022-11-13  0:28 William Hubbs
2022-11-13  0:25 William Hubbs
2022-11-12 17:06 William Hubbs
2022-10-21 16:22 William Hubbs
2022-10-21 16:19 William Hubbs
2022-10-04  3:06 Sam James
2022-09-23 16:42 William Hubbs
2022-09-23 16:29 William Hubbs
2022-09-10 18:21 William Hubbs
2022-08-21 14:57 Jakov Smolić
2022-08-11 10:55 Sam James
2022-07-23 22:37 William Hubbs
2022-07-01 16:27 William Hubbs
2022-02-18  9:19 Michał Górny
2022-02-18  3:36 Sam James
2021-11-07 20:52 Mikle Kolyada
2021-07-16 10:03 Mikle Kolyada
2021-05-19 14:06 Mikle Kolyada
2021-05-19 14:06 Mikle Kolyada
2021-05-19 12:45 Mikle Kolyada
2021-05-14  8:38 Mikle Kolyada
2021-05-14  8:38 Mikle Kolyada
2021-05-14  8:38 Mikle Kolyada
2021-05-03 21:46 William Hubbs
2021-05-03 21:45 William Hubbs
2021-05-03 21:12 Mikle Kolyada
2021-05-03 21:06 Mikle Kolyada
2021-05-03 21:06 Mikle Kolyada
2021-04-28 15:09 Mikle Kolyada
2021-04-10 12:23 Mikle Kolyada
2021-03-21 10:56 Mikle Kolyada
2021-03-14 18:37 Mikle Kolyada
2020-10-05 18:49 William Hubbs
2020-07-25  0:09 Sam James
2020-06-25  3:30 William Hubbs
2019-12-04  5:34 William Hubbs
2019-12-03  9:48 Michał Górny
2019-11-24 19:11 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-11-23 11:19 Manuel Rüger
2019-10-17 20:10 Manuel Rüger
2019-08-19 14:19 Manuel Rüger
2019-08-14 13:43 Manuel Rüger
2019-08-14 13:43 Manuel Rüger
2019-08-01 12:55 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-05-27 14:17 Manuel Rüger
2019-05-21  9:19 Manuel Rüger
2019-04-25 11:35 Manuel Rüger
2019-04-25 11:34 Manuel Rüger
2019-04-17  9:41 Manuel Rüger
2019-04-16  9:15 Manuel Rüger
2019-04-15 13:58 Manuel Rüger
2019-03-29 12:51 Manuel Rüger
2019-03-29 12:51 Manuel Rüger
2019-03-28 16:24 Manuel Rüger
2019-03-28 13:26 Manuel Rüger
2019-03-02 17:32 Manuel Rüger
2019-03-02 17:28 Manuel Rüger
2019-02-01 16:01 Manuel Rüger
2019-01-31 16:25 Manuel Rüger
2019-01-28 11:45 Manuel Rüger
2019-01-15 19:05 Manuel Rüger
2018-12-17 18:03 Manuel Rüger
2018-12-16 12:15 Manuel Rüger
2018-11-06 13:57 Manuel Rüger
2018-11-06 13:57 Manuel Rüger
2018-10-28 16:09 Manuel Rüger
2018-09-21 10:59 Tobias Klausmann
2018-09-20 22:34 Manuel Rüger
2018-09-13 11:45 Manuel Rüger
2018-07-13 10:18 Manuel Rüger
2018-07-13 10:15 Manuel Rüger
2018-06-27 11:22 Manuel Rüger
2018-06-07 12:57 Manuel Rüger
2018-03-27 13:33 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=1570442024.31e2f5425280e44183ff005114362ca16a04c92e.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