From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wCPOAh/O9WaKLgEAqHPOHw:P1 (envelope-from ) for ; Thu, 26 Sep 2024 21:12:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wCPOAh/O9WaKLgEAqHPOHw (envelope-from ) for ; Thu, 26 Sep 2024 23:11:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Y9Ckm5aY; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727385118; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OIrUsezw4ONZIi1C41wvkupHEd4wPBOR9X0Kkw6NlgM=; b=PVlXcjbuBjsKmHAjFkp1WlHIb6HdIeKVvlC0tsLfxt2xCUxfFDLZyJE4Y519CMGcRmOo40 7B5GnYRbjK+jyir5NQdQzJJulfmn2cPuXibZxc64zN1sfVMSt8yNERPHEqvDykniDNOllG ccbbCK69VgAF90aPyU3Ut4XhO6cWhsSSkvOnBhU1E4kcZU1uzQTiRpzFAgATFnBLV1j4to 8UNaq26TqwBVa47W2lQdyZ4xPbTQ7pWxoD9kj53kH7wB/wkB0SDzQtfXW2VSPWhXqmRZsr GWGM/lADLTyXLFxF2bM+fu3cWZqRlqbhaq9q5gxlYlGJWleK6DYhtGKmGMXzfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727385118; a=rsa-sha256; cv=none; b=SQD2bBDb17Idv34ACssheWbMSIFHooD9NB1i6Oz3w3OyOkr7Mzsp1+LG3aDva5UwyQiC4f pnieXhQN/8rBmIIbuB5JmRdbeAth0ZhdgpUepx6PNfswsSScs3tDW/oqtfKLXPYySkyPbq K0cujzAgnY7ps5rfzZffVs00k5ZCWZQ6PGBmPs8fiKmqF7VVgbJhYIhzgwmRv7bEDEvz5A NGOCVC8RZN021NDakMDvssEvTM3HQhigt7ZFszx0pCJxTVp+ejiTQikn1AZ8WzdiWSW9SI OIngk/7WdzS6whSh0k3mVU9+sTgAEs33rRXLZ3brn0nSKcRWohYO2cCHJSso/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Y9Ckm5aY; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com 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 AB2F365C2D for ; Thu, 26 Sep 2024 23:11:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stvlf-0004eK-3l; Thu, 26 Sep 2024 17:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stvlc-0004e5-Gy; Thu, 26 Sep 2024 17:11:16 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stvlZ-00089Z-7T; Thu, 26 Sep 2024 17:11:15 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5c5c3a1f474so1497126a12.0; Thu, 26 Sep 2024 14:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727385070; x=1727989870; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=OIrUsezw4ONZIi1C41wvkupHEd4wPBOR9X0Kkw6NlgM=; b=Y9Ckm5aYYLASfbnCjw45LYOARNr47GD1tiFOGQ8k54eVqbfqZGg7gYgA2qICix1bFw U4g9xqKNWvvqD3K/3srcr5sSz2heLiHJrJ+5Jm5XkN/4lCxksMpJekeV5R0qLux1HnX9 JIlsc3W+Y2ZEZGQGpTDgBm6cmAEYUNINQugJY9WEj9k7e29Y4g+6QqDeutc6jkHgp0Cp zg46fPm2QS9Ak6sWqdwEmzpB8uQwKoc/06R6hVCCc+rK8yO2CY5T4r9eTWa+FF1qFqqS vVXpzYBlBQAbT81C/1tBmC7q10b2ziPBYABYHHwyRU6kVrTvc6y771iC0fQaN7adMwhv bZdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727385070; x=1727989870; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OIrUsezw4ONZIi1C41wvkupHEd4wPBOR9X0Kkw6NlgM=; b=c7PrddKf+rzD5PLVQGGKN6oRpfD/CRyLUhecyaOcxahL0D0Dxri0kSN7pTghhIAA90 kLA+m10Sfyme7ho/N3pMnQOZdDg/sTfkihyrXbg3I+eJ21Bc6gGKjOtjdukjuFEPm8Xn B6bwM6uikEaN1SEuXYJEYe3r/zW1LAMd1BV0ZEIWHKok+2S+YdcEWX/84LrwCzmA3cel ZmRTYGjRnhO8QRGH5DNQNjxr1z/NSz8uPuVgNRTzZgxiN41yTT7c/028inDXuWeT+wQD GDFYvTKh9xmIqZEi74Fra1dVFIlPV5B3o2Eg6KVa6wrHe13ylDbWNjK8gw6QIZMSRUDb Cdkw== X-Gm-Message-State: AOJu0YwQSsAZwQrG0iEhZTdeyJpjVJbJ1hyuq9G+GX4zioo2D/EOjB/a myq6VL+qiSH+YgtSybVpSlBrm8pHfKm6VYa0wmTnx3qfxMSmdhyC X-Google-Smtp-Source: AGHT+IG4VyrTK0nn7MU3XGvkbnj2pSDeGIAtWQy8Gi2xZcI7wCKbLHj/WoD1a3D+aPdMkqnO445xMQ== X-Received: by 2002:a05:6402:5412:b0:5c5:b73c:593 with SMTP id 4fb4d7f45d1cf-5c8824e51bfmr763374a12.17.1727385069245; Thu, 26 Sep 2024 14:11:09 -0700 (PDT) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c882493f55sm321836a12.91.2024.09.26.14.11.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 14:11:08 -0700 (PDT) From: Sharlatan Hellseher To: guix-patches@gnu.org Cc: guix-devel@gnu.org, Artyom V. Poptsov , Brennan Vincent , Christina O'Donnell , Efraim Flashner , Troy Figiel Subject: Request for merging "go-team" branch Date: Thu, 26 Sep 2024 22:11:05 +0100 Message-ID: <878qvenms6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=sharlatanus@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.44 X-Migadu-Queue-Id: AB2F365C2D X-Spam-Score: -10.44 X-TUID: 2741PypQknxS --=-=-= Content-Type: text/plain Hi Guix! After a few weeks of working on go-team it's ready for the final review and merge to master. My target was to update and move packages from (gnu packages golang) to logical submodules and prepare bare minimal refreshed amount to complete Prometheus packaging. * Covered issues - [PATCH 1/3] build-system/go: Add subdir parameter to go-version->git-ref. - [PATCH] gnu: go-1.23: Update to 1.23.1. - [PATCH] gnu: go-1.20: Build with gccgo-12 on some systems. - [PATCH] build/go: Replace symlinks with a copy of the file. - [PATCH 0/5] Add some Golang libraries from the "awesome-go" list - [PATCH go-team] build-system/go: Allow providing additional test flags. #69827 may cover/resolve few more: - <2021-12-07> guix import go error https://issues.guix.gnu.org/52362 by Stephen Webber - <2023-04-21> Go importer doesn't know MODULE/vX.Y version tags https://issues.guix.gnu.org/63001 by Timo Wilken guix@twilken.net - <2023-05-22> [PATCH 0/2] Fix annoyance with "guix import go" https://issues.guix.gnu.org/63647 by Simon Tournier - <2023-06-12> [PATH] fix a bug on importing go packages. https://issues.guix.gnu.org/64035, https://issues.guix.gnu.org/64036 by Elbek * Findings and potential refresh blockers During refresh I've faced with go packages which still include vendor directory and due to a large packaging efforts requiring to unbundle them all might need some efforts distribution among volunteers. Me and Artyom unbundling Kubo in our leisure time but the final step (boxo) requires at least 300+ new packages. - bitmask : 0.21.11->0.24.8 requires go-github-com-xtaci-kcp-go - chezmoi : 1.8.10->2.52.2, 34+ new packages - go-github-com-google-cadvisor : 0.0.0-0.2ed7198->0.50.0 216+ new packages - go-github-com-ipfs-boxo : to unbundle from Kubo, 218+ new packages - go-github-com-spf13-afero : 1.2.2->1.11.0, 194+ new packages - go-github-com-spf13-viper : 1.7.0->1.19.0, 225+ new packages - go-github-com-xtaci-kcp-go : to update bitmask, 200+ new packages - rclone : 1.52.3->1.68.0, 348+ new packages - restic : 0.9.6->0.17.1, 221+ new packages Some of them may intersect. * Branch stats --8<---------------cut here---------------start------------->8--- ---[ Commits stats ]--- * from-to: caa9b4cbcb..ad39aa19 * count: 169 ---[ Packages stats ]--- * added: 44 * fixed: 25 * adjusted: 2 * realocated: 21 * removed: 7 * updated: 44 ---[ Contributors ]--- * Artyom V. Poptsov * Brennan Vincent * Christina O'Donnell * Efraim Flashner * Sharlatan Hellseher * Troy Figiel ---[ Refresh inpact ]--- Building the following 764 packages would ensure 1686 dependent packages are rebuilt --8<---------------cut here---------------end--------------->8--- * Script --8<---------------cut here---------------start------------->8--- #!/usr/bin/env bash REQUIRE=( git grep awk ) get_refreshed_pkg() { local start="$1" local end="$2" local pkgs=$(mktemp -t packages.XXXXXX) git log "$start".."$end" --oneline | awk -F: '/gnu:.*:.*\./{print $2}' | sed -e 's/.*\/.*//' | sort -u | while read -r pkg do if ./pre-inst-env guix show "$pkg" &>/dev/null then printf "%s " "$pkg" >> "$pkgs" fi done ./pre-inst-env guix refresh --list-dependent $(cat "$pkgs") | awk -F: '{print $1}' rm "$pkgs" } main() { local start="$1" local end="$2" printf -- "---[ Commits stats ]---\n" printf "* from-to: %s..%s\n" "$start" "$end" printf "* count: %s\n" $(git log "$start".."$end" --oneline | wc -l) printf -- "\n---[ Packages stats ]---\n" printf "* added: %s\n" $(git log "$start".."$end" --oneline | grep "gnu: Add" -c) printf "* fixed: %s\n" $(git log "$start".."$end" --oneline | grep "gnu:.*Fix" -c) printf "* adjusted: %s\n" $(git log "$start".."$end" --oneline | grep "gnu:.*Adjust\|gnu:.*Improve" -c) printf "* realocated: %s\n" $(git log "$start".."$end" --oneline | grep "gnu:.*Move to" -c) printf "* removed: %s\n" $(git log "$start".."$end" --oneline | grep "gnu: Remove" -c) printf "* updated: %s\n" $(git log "$start".."$end" --oneline | grep "gnu:.*Update" -c) printf "\n---[ Contributors ]---\n" git log "$start".."$end" --graph --pretty=format:'%an <%ae>' | sort -u printf -- "\n---[ Refresh inpact ]---\n" get_refreshed_pkg "$start" "$end" } main "$@" --8<---------------cut here---------------end--------------->8--- -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmb1zekACgkQdtcnv/Ys 0rU+4A/xAUF3NUFZ3UgU6Tb+7eEKsV3ZhZB3oZsmU2eRX4Oh5ygkk3ou0FOC3McY 1AN3atOsqqUfRvDQnxtdSp9oLAKRQELKokyqcC6yorbKOQJ2hG5D+Clhb2/B/R/j bvR3R7vgKkbK+tMpwNo2YrL96XigDxMTOJGXZ73InlKcgBd4gB4VNRbfrwMDQ6eQ UNiCONV//WyvCfIRE+TfaoYhZZcbwBo7RqqZvQxfahGn2ydkBCK7Xjq5hfJHvVH6 CtAot9QpcgBQ+Um04Ywz/0Uw3b9qTcSCoTNSdVuzrSQ0WlirZExh2ZaitFixG+gk 2YZAPNSVl14Ss36NbGWi36B54HCb35f0S7UdsQV3aUdYVimr6R/1yXsUFRHkXjkw tgPCuxVq1stHq+Nc/qFAd6BZYbdu5Q1w9GuGoak6WgblfQcJBB3R7g04F2IREuvo +eHK5WmtHap9z80VrmHVigfyXEnJkLL0Mz87sgVXNdhXtsLALvUEuLl/ORVECEeS FTCI9eGFUACb0922K0ZkttDaOpCITyDyf7WMXePe4K+p0LPvPI9wYnnWGjEak7qQ Kxps9EvE9sgep66bXING1G2WBProRykOQZVnajT0SKYwJan+iCsLBwvz8FBnXw9G jWWb5Cg/h+dSsmnKjEE6ZUkp9Ss63UXd1SfUsRFl4N6MzzNXWg== =2zis -----END PGP SIGNATURE----- --=-=-=--