From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yGR6DZ+sPWLGQgAAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 12:50:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yAYNBp+sPWJajAAAG6o9tA (envelope-from ) for ; Fri, 25 Mar 2022 12:50:55 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2F7EC3369F for ; Fri, 25 Mar 2022 12:50:54 +0100 (CET) Received: from localhost ([::1]:42886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXiSz-0005Pf-62 for larch@yhetil.org; Fri, 25 Mar 2022 07:50:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXf2F-0002c4-Am for guix-patches@gnu.org; Fri, 25 Mar 2022 04:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXf2F-0001F5-29 for guix-patches@gnu.org; Fri, 25 Mar 2022 04:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXf2E-0007lC-UE for guix-patches@gnu.org; Fri, 25 Mar 2022 04:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus. Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 08:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54560@debbugs.gnu.org Cc: Leo =?UTF-8?Q?Nikkil=C3=A4?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164819585729803 (code B ref -1); Fri, 25 Mar 2022 08:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Mar 2022 08:10:57 +0000 Received: from localhost ([127.0.0.1]:50003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXf28-0007kd-EM for submit@debbugs.gnu.org; Fri, 25 Mar 2022 04:10:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:35328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXcvS-0004Ng-3W for submit@debbugs.gnu.org; Fri, 25 Mar 2022 01:55:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXcvR-0004S0-NX for guix-patches@gnu.org; Fri, 25 Mar 2022 01:55:53 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:52825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXcvP-00075E-Kn for guix-patches@gnu.org; Fri, 25 Mar 2022 01:55:53 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D4BDE32009DB; Fri, 25 Mar 2022 01:55:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 25 Mar 2022 01:55:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; bh=W9t9+hjxzGtN+kSxQhOiLQEimKfLOrAEEdHWgf 8qyeo=; b=PWGF/9pbQJuEsx5dJnuXlQpyclY6q03EDkdunQBSOsCg/FA9PahuRQ oSg3IO/ifEht1wx+kPRSMJAaNhfuKuESVI8OQT00vFmx0b5fRux7/f+G6OTQGMdQ /wOQWyAbvObGAnMS572ooLrcl5Sh7WMlPu43TZs2tzycxxWxV9DTrmiCValSOywi EAHtjqOb+NBXsC4NhIt4mQ8uj08uTwu+HaEqPkimUlaImkXULGwRI2fsbQqIrvgX Kp6Ei6Vi2EKQv29DEjSzhownhLgY9jOm7PLQPsz1N1/RGKuz5KVFgbirlECRl6ug 7M70rk+c6ZAoWH1B4jTuKQW1qCEEx1fA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=W9t9+h jxzGtN+kSxQhOiLQEimKfLOrAEEdHWgf8qyeo=; b=M/E2HeMkMwgV7IDWfRvZkS mZG4aB19yHkDi4WZ83/UfNGMTQoi7KiPM6y5KDhQeLZCJhiiUK8S1Lqlbzbq9DOi abtKPcazW3W71a6aEDbm5dgW1Ly/nl9jGyvlUZ45Yi9eOa7Lej4jgkSoLkH6y938 ivtnnTVqYxW8yovGutQL66FQMtpOJm+a1MAaxusIJdTuPImM0YOwUiwICWEi1mWy ZrYgcMdIKInmahnDOrf8SWg6u9IuH7E8/nup8wk73jdd8UcRia3HqZ89zb2VZ/lh rBGgbsKPD7BFpFPAQ1hvNa0hfLaey7eCukiuKKP9BeBuj+NHrMzLcksXfZ25vqQA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehtddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofggtgfgsehtkeertd ertdejnecuhfhrohhmpefnvghoucfpihhkkhhilhomuceohhgvlhhloheslhhnihhkkhhi rdhlrgeqnecuggftrfgrthhtvghrnhephffgtddugeevjeeuieelfeehvddugfdugfefie efhfdvtdehjefftddvgfefkedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhephhgvlhhloheslhhnihhkkhhirdhlrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 01:55:47 -0400 (EDT) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 07:55:17 +0200 Message-Id: <20220325055517.2060-1-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.21; envelope-from=hello@lnikki.la; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 25 Mar 2022 04:10:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 25 Mar 2022 07:49:16 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648209054; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=W9t9+hjxzGtN+kSxQhOiLQEimKfLOrAEEdHWgf8qyeo=; b=fN3Z1BA5pOc3zDMo7/Wzu4rAVvZuXs3gVSZyTXISl+uWY/vGznIUkQejYmaKw/9UjosVvF D5lGknTHTHhWbajmv90pPcWO1WEk7wB4KZlqYvpThao/5IzabhqIibxiGFpQOB3Jr8SsQ0 Ep84VJMT9+G5M2ww0miSiSZaYQyfRkQNOtk5OPrpXFPuDn/gHyX1fuWfP39X2fkc3khfQj Yfo17OVYOKatI1V9EJkZiv3tBkRCfHpt+Y8bdfmLBrJCLBT8cCxvcsSmta3FpeQJ2+hnjI gdVze8tofo+0NAawpRMzyuSDaUlrrfdG8mJ2e9koyAo1/ebukWYRU3fAsxOjFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648209054; a=rsa-sha256; cv=none; b=J/+31RuzsbpneRzAemF9xSow/4SXDEkrde3I7nt4xCB8blgr0rBaGQWSY8vMCgcWzJ5cHu qOrMD95gpo1BZtQhAirOKpZcWGh/5jQmomRWoelnNaBcUVECNrskK8d/tzdA1b83mxRfCm 0eBiLeg5CmsQEEvm7ZaG8nAq7wfe0FegNDUxQqw66QMzi3QKhFnrI3c8MYKys3zUiefuZi S/aJ5vx3dMux+S9FokAkdDQt1EXEMvoD+ubfQGiG6Bly12gyQIeReFYnXdl7lDrGWIat6P BTjT19+/n+H13cvdOgxv37dSf+976lh7hof+CXirHYG5g7v8rZl0uvEQf5HCuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b="PWGF/9pb"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="M/E2HeMk"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b="PWGF/9pb"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="M/E2HeMk"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2F7EC3369F X-Spam-Score: 6.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: yy7e5ktsX5Jl Hi there. Long-time Guix user, first-time contributor. I've been chipping away at packaging Prometheus for quite some time now. The dependency tree turned out to be sizeable, apologies for the long list of patches. Most of these are new packages. I've had to resort to some tricks to reduce this effort: * Most discovery plugins are patched out for now using a lightweight patch, as they pulled in far more dependencies than was manageable in a single patch set. * I'm targeting the previous version. The latest version released a few weeks ago (2.34.0) uses OpenTelemetry for tracing, pulling in another complex set of dependencies, and I didn't want to patch out tracing entirely. Some additional notes: * Alertmanager and other components are not included, nor the web UI written in JavaScript. My goal was to get the base server running. * The version of go-golang-org-x-net currently in Guix is slightly older, and doesn't include the HTTP/2 ConfigureTransports function. I thought I'd rather not update this package to avoid rebuilding its dependents, and resorted to another patch. * A couple of the Prometheus packages already existed under (gnu packages syncthing), although unused. These look like remnants of older packages. I kept them in the same module, but added new packages under (gnu packages golang). There might be appetite to consolidate all of these Prometheus dependencies under (gnu packages golang), I'm willing to put in the work if that's the case. I've tested this package on x86_64 and aarch64, and attempted to follow the relevant style guides as best I could. Let me know if (when) there's anything I've missed. Looking forward to your feedback! Leo Nikkilä (47): gnu: Add go-google-golang-org-protobuf. gnu: go-github-com-golang-protobuf-proto: Update to 1.5.2. gnu: Add go-github-com-golang-protobuf-ptypes. gnu: go-github-com-prometheus-client-golang: Update to 1.12.1. gnu: Add go-github-com-asaskevich-govalidator. gnu: Add go-github-com-dennwc-varint. gnu: Add go-github-com-edsrzf-mmap-go. gnu: Add go-github-com-go-logfmt-logfmt. gnu: Add go-github-com-go-kit-log. gnu: Add go-github-com-go-stack-stack. gnu: Add go-github-com-josharian-intern. gnu: Add go-github-com-julienschmidt-httprouter. gnu: Add go-github-com-mailru-easyjson. gnu: Add go-github-com-modern-go-concurrent. gnu: Add go-github-com-modern-go-reflect2. gnu: Add go-github-com-montanaflynn-stats. gnu: Add go-github-com-mwitkow-go-conntrack. gnu: Add go-github-com-oklog-run. gnu: Add go-github-com-oklog-ulid. gnu: Add go-github-com-opentracing-contrib-go-stdlib. gnu: Add go-github-com-puerkitobio-urlesc. gnu: Add go-github-com-puerkitobio-purell. gnu: Add go-github-com-shurcool-httpgzip. gnu: Add go-github-com-shurcool-httpfs. gnu: Add go-github-com-shurcool-vfsgen. gnu: Add go-github-com-simonpasquier-klog-gokit. gnu: Add go-github-com-simonpasquier-klog-gokit-v3. gnu: Add go-github-com-tidwall-pretty. gnu: Add go-github-com-uber-jaeger-lib. gnu: Add go-github-com-uber-jaeger-client-go. gnu: Add go-github-com-youmark-pkcs8. gnu: Add go-go-uber-org-goleak. gnu: Add go-gopkg-in-alecthomas-kingpin.v2. gnu: Add go-github-com-json-iterator-go. gnu: Add go-go-mongodb-org-mongo-driver. gnu: Add go-github-com-go-openapi-errors. gnu: Add go-github-com-go-openapi-swag. gnu: Add go-github-com-go-openapi-jsonpointer. gnu: Add go-github-com-go-openapi-jsonreference. gnu: Add go-github-com-go-openapi-spec. gnu: Add go-github-com-go-openapi-strfmt. gnu: Add go-github-com-go-openapi-analysis. gnu: Add go-github-com-go-openapi-loads. gnu: Add go-github-com-go-openapi-validate. gnu: Add go-github-com-prometheus-alertmanager-api. gnu: Add go-github-com-prometheus-exporter-toolkit. gnu: Add go-github-com-prometheus-prometheus. gnu/packages/golang.scm | 1248 ++++++++++++++++- gnu/packages/monitoring.scm | 83 ++ ...etheus-common-remove-readidletimeout.patch | 28 + ...om-prometheus-prometheus-remove-deps.patch | 33 + gnu/packages/syncthing.scm | 182 +-- 5 files changed, 1489 insertions(+), 85 deletions(-) create mode 100644 gnu/packages/patches/go-github-com-prometheus-common-remove-readidletimeout.patch create mode 100644 gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch base-commit: d05fcc21cb9509084a0424e6808b84b58dc52d62 -- 2.34.0