[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/

2024-04-17 Thread Conrad Kostecki
commit: 472bc40fcc5f4530b9686f3d8ede92de53258cd6
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Apr  7 14:40:36 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Apr 17 21:00:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472bc40f

www-apps/trickster: add missing remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/36151
Signed-off-by: Conrad Kostecki  gentoo.org>

 www-apps/trickster/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www-apps/trickster/metadata.xml b/www-apps/trickster/metadata.xml
index db463f3eeb66..25774c34d3a1 100644
--- a/www-apps/trickster/metadata.xml
+++ b/www-apps/trickster/metadata.xml
@@ -5,4 +5,7 @@
willi...@gentoo.org
William Hubbs

+   
+   trickstercache/trickster
+   
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/

2022-03-15 Thread Conrad Kostecki
commit: a1c29ba05a179656833c0a4d7fb48df80bdbd52f
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Tue Mar 15 15:30:43 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Mar 15 15:43:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c29ba0

www-apps/trickster: drop 0.1.9

Signed-off-by: Conrad Kostecki  gentoo.org>

 www-apps/trickster/Manifest   |  2 --
 www-apps/trickster/trickster-0.1.9.ebuild | 47 ---
 2 files changed, 49 deletions(-)

diff --git a/www-apps/trickster/Manifest b/www-apps/trickster/Manifest
index ddb482078015..7641c2450420 100644
--- a/www-apps/trickster/Manifest
+++ b/www-apps/trickster/Manifest
@@ -1,3 +1 @@
-DIST trickster-0.1.9-vendor.tar.gz 1748976 BLAKE2B 
77ad4a91a889a8241399fe6b4199d25c0ba52e818fbe1df8186dadea0f69c1d04f9c268fc376820592465ed36104a6195ce9a9985f8a9c02636ee1b8f80114b7
 SHA512 
6427cb3417ae7d62e5e144cb5a1962f2175ab063c2267abd838560db00acc4c161666df4ea2065a02172b50240f17a6ad09d76973e59d9bea91ecf4a9327466f
-DIST trickster-0.1.9.tar.gz 1739869 BLAKE2B 
dc50d12acfe27f68054bbafdeada0bd1847ebb1e03847f9173c7e9b772218ce2e7ceffe25db282912f88c005c0d590e3effece6483bdd80830438a8d114f859f
 SHA512 
82fa837d2b18143a65e22a06d2821d7a1da298fb3e9389854f8e6ad4de68f35d40d6aec2d23cca877032227d12818063953244a01b42f09bd724677d1080e84f
 DIST trickster-1.1.5.tar.gz 5170485 BLAKE2B 
e0f0df7bf6c810d6cedfc6175dd8413adfeccdeca3329dbf1bf0f38d612ecb4c9692fa1b5560cf91fda9213c57c268f5fbe16608a8eb5932219abe026cd581ef
 SHA512 
da06e05436f6019b677b2d5d04e6b8aa1cd15a7ba1962b64101569c64e17f3132e71528f3925a3772d2ad7faf9435c987ffaacffd07961ab8526b68fbfd58135

diff --git a/www-apps/trickster/trickster-0.1.9.ebuild 
b/www-apps/trickster/trickster-0.1.9.ebuild
deleted file mode 100644
index d147b62d604c..
--- a/www-apps/trickster/trickster-0.1.9.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit user systemd
-
-DESCRIPTION="Dashboard Accelerator for Prometheus"
-HOMEPAGE="https://github.com/Comcast/trickster;
-VENDOR_URI="https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz;
-SRC_URI="https://github.com/Comcast/trickster/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   ${VENDOR_URI}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-lang/go:="
-
-RESTRICT="strip"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   mv ../vendor .
-}
-
-src_compile() {
-   set -- env GOCACHE="${T}"/go-cache go build -a -mod vendor -v
-   echo $@
-   "$@" || die "build failed"
-}
-
-src_install() {
-   dobin ${PN}
-dodoc -r conf docs/*
-   systemd_dounit conf/trickster.service
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   insinto /etc/trickster
-   doins "${FILESDIR}"/${PN}.conf
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/

2022-01-24 Thread William Hubbs
commit: c334fcbab82d67de4c1fd796433a982d35fcd02e
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Jan 25 03:14:39 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Jan 25 03:14:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c334fcba

www-apps/trickster-1.1.5: restrict tests for now

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster/trickster-1.1.5.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www-apps/trickster/trickster-1.1.5.ebuild 
b/www-apps/trickster/trickster-1.1.5.ebuild
index 94496cb5ca4d..eb10489e59cb 100644
--- a/www-apps/trickster/trickster-1.1.5.ebuild
+++ b/www-apps/trickster/trickster-1.1.5.ebuild
@@ -19,6 +19,8 @@ COMMON_DEPEND="
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
 
+   RESTRICT="test"
+
 src_compile() {
set -- go build -mod vendor ./cmd/trickster
echo $@



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/

2022-01-23 Thread William Hubbs
commit: 8bf05271ccf42be4bf75b40f9ec75c809fd9965b
Author: William Hubbs  gentoo  org>
AuthorDate: Sun Jan 23 20:15:35 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sun Jan 23 20:16:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf05271

www-apps/trickster-1.1.5:  build fixes

- drop the vendor tarball
- fix installation of systemd service

Closes: https://bugs.gentoo.org/830478
Closes: https://bugs.gentoo.org/830488
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster/Manifest   |  1 -
 www-apps/trickster/trickster-1.1.5.ebuild | 13 +++--
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/www-apps/trickster/Manifest b/www-apps/trickster/Manifest
index b01d6348cf9f..ddb482078015 100644
--- a/www-apps/trickster/Manifest
+++ b/www-apps/trickster/Manifest
@@ -1,4 +1,3 @@
 DIST trickster-0.1.9-vendor.tar.gz 1748976 BLAKE2B 
77ad4a91a889a8241399fe6b4199d25c0ba52e818fbe1df8186dadea0f69c1d04f9c268fc376820592465ed36104a6195ce9a9985f8a9c02636ee1b8f80114b7
 SHA512 
6427cb3417ae7d62e5e144cb5a1962f2175ab063c2267abd838560db00acc4c161666df4ea2065a02172b50240f17a6ad09d76973e59d9bea91ecf4a9327466f
 DIST trickster-0.1.9.tar.gz 1739869 BLAKE2B 
dc50d12acfe27f68054bbafdeada0bd1847ebb1e03847f9173c7e9b772218ce2e7ceffe25db282912f88c005c0d590e3effece6483bdd80830438a8d114f859f
 SHA512 
82fa837d2b18143a65e22a06d2821d7a1da298fb3e9389854f8e6ad4de68f35d40d6aec2d23cca877032227d12818063953244a01b42f09bd724677d1080e84f
-DIST trickster-1.1.5-vendor.tar.xz 1310612 BLAKE2B 
ffe97d000ca53c1f1fea8b15eb20ba63c18cd9cd79c187d831b225abe7a472b75070fa516b04bcec44ed8b37ee600d6506b0d3241eebdbe1c5e91da935893127
 SHA512 
b804f3d520639fe873289ee92f0a920c6a8cde32abdfdb17c76d59858812b8416dcb3581d0f42ea5c219f5b892e57d6f3187a41edf0b9ef03179906837b2a6f9
 DIST trickster-1.1.5.tar.gz 5170485 BLAKE2B 
e0f0df7bf6c810d6cedfc6175dd8413adfeccdeca3329dbf1bf0f38d612ecb4c9692fa1b5560cf91fda9213c57c268f5fbe16608a8eb5932219abe026cd581ef
 SHA512 
da06e05436f6019b677b2d5d04e6b8aa1cd15a7ba1962b64101569c64e17f3132e71528f3925a3772d2ad7faf9435c987ffaacffd07961ab8526b68fbfd58135

diff --git a/www-apps/trickster/trickster-1.1.5.ebuild 
b/www-apps/trickster/trickster-1.1.5.ebuild
index 8f4e9be4ae1f..94496cb5ca4d 100644
--- a/www-apps/trickster/trickster-1.1.5.ebuild
+++ b/www-apps/trickster/trickster-1.1.5.ebuild
@@ -7,9 +7,7 @@ inherit go-module systemd
 
 DESCRIPTION="Dashboard Accelerator for Prometheus"
 HOMEPAGE="https://github.com/tricksterproxy/trickster;
-VENDOR_URI="https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz;
-SRC_URI="https://github.com/tricksterproxy/trickster/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   ${VENDOR_URI}"
+SRC_URI="https://github.com/tricksterproxy/trickster/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -21,11 +19,6 @@ COMMON_DEPEND="
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
 
-src_prepare() {
-   default
-   mv ../vendor .
-}
-
 src_compile() {
set -- go build -mod vendor ./cmd/trickster
echo $@
@@ -34,8 +27,8 @@ src_compile() {
 
 src_install() {
dobin ${PN}
-dodoc -r conf docs/*
-   systemd_dounit conf/trickster.service
+dodoc -r docs/*
+   systemd_dounit deploy/systemd/trickster.service
insinto /etc/trickster
doins "${FILESDIR}"/${PN}.conf
newinitd "${FILESDIR}"/${PN}.initd ${PN}



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/

2022-01-02 Thread William Hubbs
commit: 90ed69a22ae88a1883cfe4af7d5315a0c9cb30b2
Author: William Hubbs  gentoo  org>
AuthorDate: Sun Jan  2 19:54:35 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sun Jan  2 19:55:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ed69a2

www-apps/trickster:  1.1.5 bump

Closes: https://bugs.gentoo.org/781530
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster/Manifest   |  2 ++
 www-apps/trickster/trickster-1.1.5.ebuild | 44 +++
 2 files changed, 46 insertions(+)

diff --git a/www-apps/trickster/Manifest b/www-apps/trickster/Manifest
index 4a73b462077f..b01d6348cf9f 100644
--- a/www-apps/trickster/Manifest
+++ b/www-apps/trickster/Manifest
@@ -1,2 +1,4 @@
 DIST trickster-0.1.9-vendor.tar.gz 1748976 BLAKE2B 
77ad4a91a889a8241399fe6b4199d25c0ba52e818fbe1df8186dadea0f69c1d04f9c268fc376820592465ed36104a6195ce9a9985f8a9c02636ee1b8f80114b7
 SHA512 
6427cb3417ae7d62e5e144cb5a1962f2175ab063c2267abd838560db00acc4c161666df4ea2065a02172b50240f17a6ad09d76973e59d9bea91ecf4a9327466f
 DIST trickster-0.1.9.tar.gz 1739869 BLAKE2B 
dc50d12acfe27f68054bbafdeada0bd1847ebb1e03847f9173c7e9b772218ce2e7ceffe25db282912f88c005c0d590e3effece6483bdd80830438a8d114f859f
 SHA512 
82fa837d2b18143a65e22a06d2821d7a1da298fb3e9389854f8e6ad4de68f35d40d6aec2d23cca877032227d12818063953244a01b42f09bd724677d1080e84f
+DIST trickster-1.1.5-vendor.tar.xz 1310612 BLAKE2B 
ffe97d000ca53c1f1fea8b15eb20ba63c18cd9cd79c187d831b225abe7a472b75070fa516b04bcec44ed8b37ee600d6506b0d3241eebdbe1c5e91da935893127
 SHA512 
b804f3d520639fe873289ee92f0a920c6a8cde32abdfdb17c76d59858812b8416dcb3581d0f42ea5c219f5b892e57d6f3187a41edf0b9ef03179906837b2a6f9
+DIST trickster-1.1.5.tar.gz 5170485 BLAKE2B 
e0f0df7bf6c810d6cedfc6175dd8413adfeccdeca3329dbf1bf0f38d612ecb4c9692fa1b5560cf91fda9213c57c268f5fbe16608a8eb5932219abe026cd581ef
 SHA512 
da06e05436f6019b677b2d5d04e6b8aa1cd15a7ba1962b64101569c64e17f3132e71528f3925a3772d2ad7faf9435c987ffaacffd07961ab8526b68fbfd58135

diff --git a/www-apps/trickster/trickster-1.1.5.ebuild 
b/www-apps/trickster/trickster-1.1.5.ebuild
new file mode 100644
index ..8f4e9be4ae1f
--- /dev/null
+++ b/www-apps/trickster/trickster-1.1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Dashboard Accelerator for Prometheus"
+HOMEPAGE="https://github.com/tricksterproxy/trickster;
+VENDOR_URI="https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz;
+SRC_URI="https://github.com/tricksterproxy/trickster/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   ${VENDOR_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="
+   acct-group/trickster
+   acct-user/trickster"
+   DEPEND="${COMMON_DEPEND}"
+   RDEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+   default
+   mv ../vendor .
+}
+
+src_compile() {
+   set -- go build -mod vendor ./cmd/trickster
+   echo $@
+   "$@" || die "build failed"
+}
+
+src_install() {
+   dobin ${PN}
+dodoc -r conf docs/*
+   systemd_dounit conf/trickster.service
+   insinto /etc/trickster
+   doins "${FILESDIR}"/${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster-bin/files/, profiles/, www-apps/trickster-bin/

2019-12-08 Thread Aaron Bauman
commit: 0ab94def204574193f57f14b632f03e4bbc90401
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Dec  8 19:03:06 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Dec  8 19:19:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab94def

www-apps/trickster-bin: drop last-rited pkg

Signed-off-by: Aaron Bauman  gentoo.org>

 profiles/package.mask |   5 -
 www-apps/trickster-bin/Manifest   |   1 -
 www-apps/trickster-bin/files/trickster.conf   | 113 --
 www-apps/trickster-bin/files/trickster.initd  |  20 
 www-apps/trickster-bin/files/trickster.service|  17 
 www-apps/trickster-bin/metadata.xml   |   8 --
 www-apps/trickster-bin/trickster-bin-0.1.7.ebuild |  42 
 7 files changed, 206 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index e16b9bea54a..f32ce71ecbe 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -567,11 +567,6 @@ app-backup/furball
 # EAPI=4. Removal in 30 days
 app-admin/durep
 
-# Michał Górny  (2019-11-08)
-# Obsolete binary version.  Please use www-apps/trickster instead.
-# Removal in 30 days.  Bug #694884.
-www-apps/trickster-bin
-
 # Sergei Trofimovich  (2019-11-07)
 # Development stalled. Fails to build against modern
 # postgresql: bug #697452. Masked for removal in 30 days.

diff --git a/www-apps/trickster-bin/Manifest b/www-apps/trickster-bin/Manifest
deleted file mode 100644
index 8ba1d7cf6ac..000
--- a/www-apps/trickster-bin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST trickster-0.1.7.linux-amd64.gz 6440487 BLAKE2B 
70884e04852aadf1c0a723dfdb8c39ea081e7ee15a69062e43c80bf0a75e80791e93825ddb691cc1323bdc2ae8efbef57e66871e2ed33397b29dce8d1320b12f
 SHA512 
f8099108ad0b11d36043ceaef3451131e30aeb1973231e86c0b3b4ff378dd0e559c56903c3f2b35a5e83f2a06e8c72e95a4c1408aedb8ea6ddfb3525b67c

diff --git a/www-apps/trickster-bin/files/trickster.conf 
b/www-apps/trickster-bin/files/trickster.conf
deleted file mode 100644
index 004a3e90642..000
--- a/www-apps/trickster-bin/files/trickster.conf
+++ /dev/null
@@ -1,113 +0,0 @@
-[main]
-# instance_id allows you to run multiple trickster processes on the same host 
and log to separate files
-# Useful for baremetal, not so much for elastic deployments, so only uncomment 
if you really need it
-#instance_id = 1
-
-# Configuration options for the Proxy Server
-[proxy_server]
-# listen_port defines the port on which Trickster's Proxy server listens.
-# since this is a proxy for Prometheus, we use 9090 by default, just like 
Prometheus does
-# listen_port = 9090
-# listen_address defines the ip on which Trickster's Proxy server listens.
-# empty by default, listening on all interfaces
-# listen_address =
-
-[cache]
-# cache_type defines what kind of cache Trickster uses
-# options are 'boltdb', 'filesystem', 'memory', and 'redis'.
-# The default is 'memory'.
-cache_type = 'memory'
-
-# record_ttl_secs defines the relative expiration of cached queries. default 
is 6 hours (21600 seconds)
-# record_ttl_secs = 21600
-
-# reap_sleep_ms defines how long the cache reaper waits between reap cycles. 
Default is 1000 (1s)
-# reap_sleep_ms = 1000
-
-# compression determines whether the cache should be compressed. default is 
true
-# compression = true
-
-### Configuration options when using a Redis Cache
-# [cache.redis]
-# protocol defines the protocol for connecting to redis ('unix' or 'tcp') 
'tcp' is default
-# protocol = 'tcp'
-# endpoint defines the fqdn+port or path to a unix socket file for 
connecting to redis
-# default is 'redis:6379' 
-# endpoint = 'redis:6379'
-
-### Configuration options when using a Filesystem Cache
-# [cache.filesystem]
-# cache_path defines the directory location under which the Trickster 
cache will be maintained
-# default is '/tmp/trickster'
-# cache_path = '/tmp/trickster'
-
-# Configuration options when using a BoltDb Cache
-#[cache.boltdb]
-
-# filename defines the file where the Trickster cache will be maintained
-# default is 'trickster.db'
-# filename = 'trickster.db'
-
-# bucket defines the name of the BotlDb bucket (similar to a namespace) 
under which our key value store lives
-# default is 'trickster'
-# bucket = 'trickster'
-
-# Configuration options for mapping Origin(s)
-[origins]
-### The default origin
-[origins.default]
-
-# origin_url defines the URL of the origin. Default is 
http://prometheus:9090
-origin_url = 'http://prometheus:9090'
-
-# timeout_secs defines how many seconds Trickster will wait before 
aborting and upstream http request. Default: 180s
-# timeout_secs = 180
-
-# api path defines the path of the Prometheus API (usually '/api/v1')
-api_path = '/api/v1'
-
-# ignore_no_cache_header disables a client's ability to send a no-cache to 
refresh a cached query. Default is false 

[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/

2019-04-26 Thread William Hubbs
commit: 8c4962958cf9e410c0613c44874e63c2e129229e
Author: William Hubbs  sony  com>
AuthorDate: Fri Apr 26 18:21:11 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Apr 26 19:06:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c496295

www-apps/trickster: display the build command

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster/trickster-0.1.9.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www-apps/trickster/trickster-0.1.9.ebuild 
b/www-apps/trickster/trickster-0.1.9.ebuild
index ef356ced058..d147b62d604 100644
--- a/www-apps/trickster/trickster-0.1.9.ebuild
+++ b/www-apps/trickster/trickster-0.1.9.ebuild
@@ -30,7 +30,9 @@ src_prepare() {
 }
 
 src_compile() {
-   GOCACHE="${T}"/go-cache go build -a -mod vendor -v || die "build failed"
+   set -- env GOCACHE="${T}"/go-cache go build -a -mod vendor -v
+   echo $@
+   "$@" || die "build failed"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster/, www-apps/trickster/files/

2019-04-20 Thread William Hubbs
commit: ca573d1549829fdd82623f8e3fd5cf692db92e76
Author: William Hubbs  sony  com>
AuthorDate: Fri Apr 19 22:02:59 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Apr 19 22:13:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca573d15

www-apps/trickster: Dashboard Accelerator for Prometheus

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster/Manifest   |   2 +
 www-apps/trickster/files/trickster.conf   | 113 ++
 www-apps/trickster/files/trickster.initd  |  25 +++
 www-apps/trickster/metadata.xml   |   8 +++
 www-apps/trickster/trickster-0.1.9.ebuild |  45 
 5 files changed, 193 insertions(+)

diff --git a/www-apps/trickster/Manifest b/www-apps/trickster/Manifest
new file mode 100644
index 000..4a73b462077
--- /dev/null
+++ b/www-apps/trickster/Manifest
@@ -0,0 +1,2 @@
+DIST trickster-0.1.9-vendor.tar.gz 1748976 BLAKE2B 
77ad4a91a889a8241399fe6b4199d25c0ba52e818fbe1df8186dadea0f69c1d04f9c268fc376820592465ed36104a6195ce9a9985f8a9c02636ee1b8f80114b7
 SHA512 
6427cb3417ae7d62e5e144cb5a1962f2175ab063c2267abd838560db00acc4c161666df4ea2065a02172b50240f17a6ad09d76973e59d9bea91ecf4a9327466f
+DIST trickster-0.1.9.tar.gz 1739869 BLAKE2B 
dc50d12acfe27f68054bbafdeada0bd1847ebb1e03847f9173c7e9b772218ce2e7ceffe25db282912f88c005c0d590e3effece6483bdd80830438a8d114f859f
 SHA512 
82fa837d2b18143a65e22a06d2821d7a1da298fb3e9389854f8e6ad4de68f35d40d6aec2d23cca877032227d12818063953244a01b42f09bd724677d1080e84f

diff --git a/www-apps/trickster/files/trickster.conf 
b/www-apps/trickster/files/trickster.conf
new file mode 100644
index 000..9fb255e19c5
--- /dev/null
+++ b/www-apps/trickster/files/trickster.conf
@@ -0,0 +1,113 @@
+[main]
+# instance_id allows you to run multiple trickster processes on the same host 
and log to separate files
+# Useful for baremetal, not so much for elastic deployments, so only uncomment 
if you really need it
+#instance_id = 1
+
+# Configuration options for the Proxy Server
+[proxy_server]
+# listen_port defines the port on which Trickster's Proxy server listens.
+# since this is a proxy for Prometheus, we use 9090 by default, just like 
Prometheus does
+# listen_port = 9090
+# listen_address defines the ip on which Trickster's Proxy server listens.
+# empty by default, listening on all interfaces
+# listen_address =
+
+[cache]
+# cache_type defines what kind of cache Trickster uses
+# options are 'boltdb', 'filesystem', 'memory', and 'redis'.
+# The default is 'memory'.
+cache_type = 'memory'
+
+# record_ttl_secs defines the relative expiration of cached queries. default 
is 6 hours (21600 seconds)
+# record_ttl_secs = 21600
+
+# reap_sleep_ms defines how long the cache reaper waits between reap cycles. 
Default is 1000 (1s)
+# reap_sleep_ms = 1000
+
+# compression determines whether the cache should be compressed. default is 
true
+# compression = true
+
+### Configuration options when using a Redis Cache
+# [cache.redis]
+# protocol defines the protocol for connecting to redis ('unix' or 'tcp') 
'tcp' is default
+# protocol = 'tcp'
+# endpoint defines the fqdn+port or path to a unix socket file for 
connecting to redis
+# default is 'redis:6379' 
+# endpoint = 'redis:6379'
+
+### Configuration options when using a Filesystem Cache
+# [cache.filesystem]
+# cache_path defines the directory location under which the Trickster 
cache will be maintained
+# default is '/tmp/trickster'
+# cache_path = '/tmp/trickster'
+
+# Configuration options when using a BoltDb Cache
+#[cache.boltdb]
+
+# filename defines the file where the Trickster cache will be maintained
+# default is 'trickster.db'
+# filename = 'trickster.db'
+
+# bucket defines the name of the BotlDb bucket (similar to a namespace) 
under which our key value store lives
+# default is 'trickster'
+# bucket = 'trickster'
+
+# Configuration options for mapping Origin(s)
+[origins]
+### The default origin
+[origins.default]
+
+# origin_url defines the URL of the origin. Default is 
http://prometheus:9090
+origin_url = 'http://prometheus:9090'
+
+# timeout_secs defines how many seconds Trickster will wait before 
aborting and upstream http request. Default: 180s
+# timeout_secs = 180
+
+# api path defines the path of the Prometheus API (usually '/api/v1')
+api_path = '/api/v1'
+
+# ignore_no_cache_header disables a client's ability to send a no-cache to 
refresh a cached query. Default is false 
+# ignore_no_cache_header = false
+
+# max_value_age_secs defines the maximum age of specific datapoints in 
seconds. Default is 86400 (24 hours)
+max_value_age_secs = 86400
+
+# fast_forward_disable, when set to true, will turn off the 'fast forward' 
feature for any requests proxied to 

[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster-bin/

2019-02-27 Thread William Hubbs
commit: 67863fd24713024d9d604fe3bdf5f2b6e5ea9354
Author: William Hubbs  sony  com>
AuthorDate: Wed Feb 27 23:59:21 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Feb 28 00:00:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67863fd2

www-apps/trickster-bin: Add log message for the config file

Add a log message advising the user that they will need to edit
${EROOT}/eetc/trickster/trickster.conf when they first install this
package.

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster-bin/trickster-bin-0.1.7.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild 
b/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild
index 4457b9526e2..44a02e42fe8 100644
--- a/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild
+++ b/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild
@@ -34,3 +34,9 @@ systemd_dounit "${FILESDIR}"/trickster.service
 keepdir /var/log/${MY_PN}
 fowners ${MY_PN}:${MY_PN} /var/log/${MY_PN}
 }
+
+pkg_postinst() {
+   if [[ -z "${REPLACING_VERSIONS}" ]]; then
+   elog "Please edit ${EROOT}/etc/trickster/trickster.conf for your setup."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/trickster-bin/files/, www-apps/trickster-bin/

2019-02-27 Thread William Hubbs
commit: 48dfbcc541e36b38d9a8c72ab052c178dd5c4f56
Author: William Hubbs  sony  com>
AuthorDate: Wed Feb 27 23:16:27 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Feb 27 23:20:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dfbcc5

www-apps/trickster-bin: a Dashboard Accellerator for prometheus

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: William Hubbs  gentoo.org>

 www-apps/trickster-bin/Manifest   |   1 +
 www-apps/trickster-bin/files/trickster.conf   | 113 ++
 www-apps/trickster-bin/files/trickster.initd  |  20 
 www-apps/trickster-bin/files/trickster.service|  17 
 www-apps/trickster-bin/metadata.xml   |   8 ++
 www-apps/trickster-bin/trickster-bin-0.1.7.ebuild |  36 +++
 6 files changed, 195 insertions(+)

diff --git a/www-apps/trickster-bin/Manifest b/www-apps/trickster-bin/Manifest
new file mode 100644
index 000..8ba1d7cf6ac
--- /dev/null
+++ b/www-apps/trickster-bin/Manifest
@@ -0,0 +1 @@
+DIST trickster-0.1.7.linux-amd64.gz 6440487 BLAKE2B 
70884e04852aadf1c0a723dfdb8c39ea081e7ee15a69062e43c80bf0a75e80791e93825ddb691cc1323bdc2ae8efbef57e66871e2ed33397b29dce8d1320b12f
 SHA512 
f8099108ad0b11d36043ceaef3451131e30aeb1973231e86c0b3b4ff378dd0e559c56903c3f2b35a5e83f2a06e8c72e95a4c1408aedb8ea6ddfb3525b67c

diff --git a/www-apps/trickster-bin/files/trickster.conf 
b/www-apps/trickster-bin/files/trickster.conf
new file mode 100644
index 000..004a3e90642
--- /dev/null
+++ b/www-apps/trickster-bin/files/trickster.conf
@@ -0,0 +1,113 @@
+[main]
+# instance_id allows you to run multiple trickster processes on the same host 
and log to separate files
+# Useful for baremetal, not so much for elastic deployments, so only uncomment 
if you really need it
+#instance_id = 1
+
+# Configuration options for the Proxy Server
+[proxy_server]
+# listen_port defines the port on which Trickster's Proxy server listens.
+# since this is a proxy for Prometheus, we use 9090 by default, just like 
Prometheus does
+# listen_port = 9090
+# listen_address defines the ip on which Trickster's Proxy server listens.
+# empty by default, listening on all interfaces
+# listen_address =
+
+[cache]
+# cache_type defines what kind of cache Trickster uses
+# options are 'boltdb', 'filesystem', 'memory', and 'redis'.
+# The default is 'memory'.
+cache_type = 'memory'
+
+# record_ttl_secs defines the relative expiration of cached queries. default 
is 6 hours (21600 seconds)
+# record_ttl_secs = 21600
+
+# reap_sleep_ms defines how long the cache reaper waits between reap cycles. 
Default is 1000 (1s)
+# reap_sleep_ms = 1000
+
+# compression determines whether the cache should be compressed. default is 
true
+# compression = true
+
+### Configuration options when using a Redis Cache
+# [cache.redis]
+# protocol defines the protocol for connecting to redis ('unix' or 'tcp') 
'tcp' is default
+# protocol = 'tcp'
+# endpoint defines the fqdn+port or path to a unix socket file for 
connecting to redis
+# default is 'redis:6379' 
+# endpoint = 'redis:6379'
+
+### Configuration options when using a Filesystem Cache
+# [cache.filesystem]
+# cache_path defines the directory location under which the Trickster 
cache will be maintained
+# default is '/tmp/trickster'
+# cache_path = '/tmp/trickster'
+
+# Configuration options when using a BoltDb Cache
+#[cache.boltdb]
+
+# filename defines the file where the Trickster cache will be maintained
+# default is 'trickster.db'
+# filename = 'trickster.db'
+
+# bucket defines the name of the BotlDb bucket (similar to a namespace) 
under which our key value store lives
+# default is 'trickster'
+# bucket = 'trickster'
+
+# Configuration options for mapping Origin(s)
+[origins]
+### The default origin
+[origins.default]
+
+# origin_url defines the URL of the origin. Default is 
http://prometheus:9090
+origin_url = 'http://prometheus:9090'
+
+# timeout_secs defines how many seconds Trickster will wait before 
aborting and upstream http request. Default: 180s
+# timeout_secs = 180
+
+# api path defines the path of the Prometheus API (usually '/api/v1')
+api_path = '/api/v1'
+
+# ignore_no_cache_header disables a client's ability to send a no-cache to 
refresh a cached query. Default is false 
+# ignore_no_cache_header = false
+
+# max_value_age_secs defines the maximum age of specific datapoints in 
seconds. Default is 86400 (24 hours)
+max_value_age_secs = 86400
+
+# fast_forward_disable, when set to true, will turn off the 'fast forward' 
feature for any requests proxied to this origin
+# fast_forward_disable = false
+
+# For multi-origin support, origins are named, and the name is the second 
word of the configuration section name.
+# In this example, an