blob 4d4626d2d1274e99d31cba859192edc71ebc6f8a 2073 bytes (raw)
name: gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| | This patch reduces the Prometheus dependency tree, most of which
consists of unpackaged Go libraries, by removing certain discovery
plugins.
diff --git a/discovery/install/install.go b/discovery/install/install.go
index e16b348f6..a3944cf9f 100644
--- a/discovery/install/install.go
+++ b/discovery/install/install.go
@@ -17,24 +17,9 @@ package install
import (
- _ "github.com/prometheus/prometheus/discovery/aws" // register aws
- _ "github.com/prometheus/prometheus/discovery/azure" // register azure
- _ "github.com/prometheus/prometheus/discovery/consul" // register consul
- _ "github.com/prometheus/prometheus/discovery/digitalocean" // register digitalocean
- _ "github.com/prometheus/prometheus/discovery/dns" // register dns
_ "github.com/prometheus/prometheus/discovery/eureka" // register eureka
_ "github.com/prometheus/prometheus/discovery/file" // register file
- _ "github.com/prometheus/prometheus/discovery/gce" // register gce
- _ "github.com/prometheus/prometheus/discovery/hetzner" // register hetzner
_ "github.com/prometheus/prometheus/discovery/http" // register http
- _ "github.com/prometheus/prometheus/discovery/kubernetes" // register kubernetes
- _ "github.com/prometheus/prometheus/discovery/linode" // register linode
_ "github.com/prometheus/prometheus/discovery/marathon" // register marathon
- _ "github.com/prometheus/prometheus/discovery/moby" // register moby
- _ "github.com/prometheus/prometheus/discovery/openstack" // register openstack
_ "github.com/prometheus/prometheus/discovery/puppetdb" // register puppetdb
- _ "github.com/prometheus/prometheus/discovery/scaleway" // register scaleway
_ "github.com/prometheus/prometheus/discovery/triton" // register triton
- _ "github.com/prometheus/prometheus/discovery/uyuni" // register uyuni
- _ "github.com/prometheus/prometheus/discovery/xds" // register xds
- _ "github.com/prometheus/prometheus/discovery/zookeeper" // register zookeeper
)
|
debug log:
solving 4d4626d2d1 ...
found 4d4626d2d1 in https://yhetil.org/guix-patches/20220325133211.5128-47-hello@lnikki.la/
applying [1/1] https://yhetil.org/guix-patches/20220325133211.5128-47-hello@lnikki.la/
diff --git a/gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch b/gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch
new file mode 100644
index 0000000000..4d4626d2d1
1:16: trailing whitespace.
1:23: space before tab in indent.
_ "github.com/prometheus/prometheus/discovery/eureka" // register eureka
1:24: space before tab in indent.
_ "github.com/prometheus/prometheus/discovery/file" // register file
1:27: space before tab in indent.
_ "github.com/prometheus/prometheus/discovery/http" // register http
1:30: space before tab in indent.
_ "github.com/prometheus/prometheus/discovery/marathon" // register marathon
Checking patch gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch...
Applied patch gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch cleanly.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.
index at:
100644 4d4626d2d1274e99d31cba859192edc71ebc6f8a gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).