* [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/files/
@ 2016-04-25 8:51 Zac Medico
0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico @ 2016-04-25 8:51 UTC (permalink / raw
To: gentoo-commits
commit: 020d49bd6767b308584733b6dcd88e4cc9ee7149
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 08:49:52 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 08:51:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020d49bd
app-emulation/docker-registry: fix init script to allow user/group override
Package-Manager: portage-2.2.28
app-emulation/docker-registry/files/registry.initd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-emulation/docker-registry/files/registry.initd b/app-emulation/docker-registry/files/registry.initd
index 4df83f3..eaf2789 100644
--- a/app-emulation/docker-registry/files/registry.initd
+++ b/app-emulation/docker-registry/files/registry.initd
@@ -5,8 +5,8 @@
description="Docker Registry 2.0"
pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
-user=${SVCNAME}
-group=${SVCNAME}
+user=${user:-${SVCNAME}}
+group=${group:-${SVCNAME}}
command="/usr/libexec/docker-${SVCNAME}/${SVCNAME}"
command_args="${command_args:-serve /etc/docker/registry/config.yml}"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/files/
@ 2016-08-28 23:59 Zac Medico
0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico @ 2016-08-28 23:59 UTC (permalink / raw
To: gentoo-commits
commit: 08899386a0ddb0806fc291850a5c6d32f3cf5426
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 23:57:01 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 23:59:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08899386
app-emulation/docker-registry: add copytruncate to logrotate config
Package-Manager: portage-2.3.0
app-emulation/docker-registry/files/registry.logrotated | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-emulation/docker-registry/files/registry.logrotated b/app-emulation/docker-registry/files/registry.logrotated
index 7f89ba2..546b90b 100644
--- a/app-emulation/docker-registry/files/registry.logrotated
+++ b/app-emulation/docker-registry/files/registry.logrotated
@@ -4,4 +4,5 @@
size 5M
rotate 3
compress
+ copytruncate
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/files/
@ 2017-01-23 17:44 Zac Medico
0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico @ 2017-01-23 17:44 UTC (permalink / raw
To: gentoo-commits
commit: 332351bfb22fb370e61eb19b0ef215f60bb45f5c
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 17:43:23 2017 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 17:43:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332351bf
app-emulation/docker-registry: remove su from logrotate config
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-emulation/docker-registry/files/registry.logrotated | 1 -
1 file changed, 1 deletion(-)
diff --git a/app-emulation/docker-registry/files/registry.logrotated b/app-emulation/docker-registry/files/registry.logrotated
index 546b90b..3cb63f9 100644
--- a/app-emulation/docker-registry/files/registry.logrotated
+++ b/app-emulation/docker-registry/files/registry.logrotated
@@ -1,5 +1,4 @@
/var/log/registry/registry.log {
- su registry registry
missingok
size 5M
rotate 3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/files/
@ 2019-09-28 21:57 Zac Medico
0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico @ 2019-09-28 21:57 UTC (permalink / raw
To: gentoo-commits
commit: e14174e202816166c529e6f9348edcfb744db11a
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Sep 28 07:41:37 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 21:56:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14174e2
app-emulation/docker-registry: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/13066
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
...ocker-registry-2.6.1-notifications-expvar.patch | 64 ----------------------
1 file changed, 64 deletions(-)
diff --git a/app-emulation/docker-registry/files/docker-registry-2.6.1-notifications-expvar.patch b/app-emulation/docker-registry/files/docker-registry-2.6.1-notifications-expvar.patch
deleted file mode 100644
index 1d40edf1f0c..00000000000
--- a/app-emulation/docker-registry/files/docker-registry-2.6.1-notifications-expvar.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 9a58c91051e03b46f1461e371a7bf527c1284612 Mon Sep 17 00:00:00 2001
-From: Noah Treuhaft <noah.treuhaft@docker.com>
-Date: Wed, 8 Feb 2017 11:38:44 -0800
-Subject: [PATCH] notifications: fix expvar for Go 1.7
-
-Remove EndpointConfig.Transport from the return value of the
-registry.notifications.endpoints expvar.Func. It results in an empty
-value for that expvar variable under Go 1.7 because it is a non-nil
-*http.Transport, which Go 1.7 can no longer encode as JSON.
-
-Signed-off-by: Noah Treuhaft <noah.treuhaft@docker.com>
----
- notifications/endpoint.go | 2 +-
- notifications/metrics_test.go | 28 ++++++++++++++++++++++++++++
- 2 files changed, 29 insertions(+), 1 deletion(-)
- create mode 100644 notifications/metrics_test.go
-
-diff --git a/src/github.com/docker/distribution/notifications/endpoint.go b/src/github.com/docker/distribution/notifications/endpoint.go
-index 29a9e27b5..44d0f6d7b 100644
---- a/src/github.com/docker/distribution/notifications/endpoint.go
-+++ b/src/github.com/docker/distribution/notifications/endpoint.go
-@@ -13,7 +13,7 @@ type EndpointConfig struct {
- Threshold int
- Backoff time.Duration
- IgnoredMediaTypes []string
-- Transport *http.Transport
-+ Transport *http.Transport `json:"-"`
- }
-
- // defaults set any zero-valued fields to a reasonable default.
-diff --git a/src/github.com/docker/distribution/notifications/metrics_test.go b/src/github.com/docker/distribution/notifications/metrics_test.go
-new file mode 100644
-index 000000000..03a08e2c8
---- /dev/null
-+++ b/notifications/metrics_test.go
-@@ -0,0 +1,28 @@
-+package notifications
-+
-+import (
-+ "encoding/json"
-+ "expvar"
-+ "testing"
-+)
-+
-+func TestMetricsExpvar(t *testing.T) {
-+ endpointsVar := expvar.Get("registry").(*expvar.Map).Get("notifications").(*expvar.Map).Get("endpoints")
-+
-+ var v interface{}
-+ if err := json.Unmarshal([]byte(endpointsVar.String()), &v); err != nil {
-+ t.Fatalf("unexpected error unmarshaling endpoints: %v", err)
-+ }
-+ if v != nil {
-+ t.Fatalf("expected nil, got %#v", v)
-+ }
-+
-+ NewEndpoint("x", "y", EndpointConfig{})
-+
-+ if err := json.Unmarshal([]byte(endpointsVar.String()), &v); err != nil {
-+ t.Fatalf("unexpected error unmarshaling endpoints: %v", err)
-+ }
-+ if slice, ok := v.([]interface{}); !ok || len(slice) != 1 {
-+ t.Logf("expected one-element []interface{}, got %#v", v)
-+ }
-+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-28 21:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-28 21:57 [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/files/ Zac Medico
-- strict thread matches above, loose matches on Subject: below --
2017-01-23 17:44 Zac Medico
2016-08-28 23:59 Zac Medico
2016-04-25 8:51 Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox