From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5A2E1382C5 for ; Mon, 24 May 2021 18:49:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1392E077F; Mon, 24 May 2021 18:49:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6F9DE077F for ; Mon, 24 May 2021 18:49:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C941533BE0D for ; Mon, 24 May 2021 18:49:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 179B8597 for ; Mon, 24 May 2021 18:49:24 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1621882153.27ec895f35bdafcdff4d1ec813e076775f3e8548.mgorny@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: gpy-impl-list X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 27ec895f35bdafcdff4d1ec813e076775f3e8548 X-VCS-Branch: master Date: Mon, 24 May 2021 18:49:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a1a55584-add7-4a54-97b8-6a9316287862 X-Archives-Hash: 0b333ef9a8761c9a0176788104fb5d62 commit: 27ec895f35bdafcdff4d1ec813e076775f3e8548 Author: Michał Górny gentoo org> AuthorDate: Mon May 24 18:49:13 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 24 18:49:13 2021 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=27ec895f Add a script to report impl changes in packages Signed-off-by: Michał Górny gentoo.org> gpy-impl-list | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gpy-impl-list b/gpy-impl-list new file mode 100755 index 0000000..8c365dd --- /dev/null +++ b/gpy-impl-list @@ -0,0 +1,17 @@ +#!/bin/bash + +OUTDIR=$1 + +if [[ -z ${OUTDIR} ]]; then + echo "Usage: $0 " >&2 + exit 1 +fi + +IRC='ircs://irc.libera.chat/#gentoo-python' + +irk "${IRC}" - <<<$'\0' +gpy-list-pkg-impls > "${OUTDIR}"/python-pkg-impls.txt.new +while read -r x; do + irk "${IRC}" "${x}" +done < <(git diff -s --word-diff -U0 "${OUTDIR}"/python-pkg-impls.txt{,.new} | tail -n +5 | grep -v '^@@') +mv "${OUTDIR}"/python-pkg-impls.txt{.new,}