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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACF6A15808B for ; Tue, 1 Oct 2024 18:09:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0E85E29AC; Tue, 1 Oct 2024 18:09:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92CEFE29AC for ; Tue, 1 Oct 2024 18:09:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3300343153 for ; Tue, 1 Oct 2024 18:09:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E108C36 for ; Tue, 1 Oct 2024 18:09:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1727688130.ea268851497708ad0132af9704b33347cd9e898f.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: Documentation/maintainers/ X-VCS-Repository: proj/kde X-VCS-Files: Documentation/maintainers/regenerate-files X-VCS-Directories: Documentation/maintainers/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ea268851497708ad0132af9704b33347cd9e898f X-VCS-Branch: master Date: Tue, 1 Oct 2024 18:09:29 +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: f0ee9ba0-ee2c-4d8c-b02d-8972cee094c0 X-Archives-Hash: 0e504644321e1c8a0d6e05b5acfe837c commit: ea268851497708ad0132af9704b33347cd9e898f Author: Sam James gentoo org> AuthorDate: Sat Sep 28 17:54:28 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Sep 30 09:22:10 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ea268851 Documentation: regenerate-files: create keywords files for Plasma stable branch When Plasma branches, it's useful to have a keywords file for the live ebuilds corresponding to the branch. Just use the latest Plasma release as we don't care about live ebuilds for the older branch. Signed-off-by: Sam James gentoo.org> Signed-off-by: Andreas Sturmlechner gentoo.org> Documentation/maintainers/regenerate-files | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/maintainers/regenerate-files b/Documentation/maintainers/regenerate-files index 84f5fbc376..033d321b13 100755 --- a/Documentation/maintainers/regenerate-files +++ b/Documentation/maintainers/regenerate-files @@ -37,6 +37,24 @@ for release in "${PLASMA_RELEASES[@]}"; do fi done +# ... and for completely unkeyworded packages, add "**" +# for plasma, we just want the latest release, as there won't be a branch +# for the older version (nor ebuilds for live) +for release in "${PLASMA_RELEASES[-1]}"; do + if [[ -d ".kde-plasma-${release}" ]]; then + rm -rf ".kde-plasma-${release}.49.9999" + mkdir -p ".kde-plasma-${release}.49.9999" + echo -e "${HEADER}" > "kde-plasma-${release}.49.9999.keywords" + for file in ".kde-plasma-${release}"/*; do + newfile=".kde-plasma-${release}.49.9999"/$(basename "${file}") + sed -e "/^<[a-z0-9-]*\/.*\.50$/{s/\.50/.49.9999/;s/^ "${newfile}" + # echo "${newfile}" + done + cat ".kde-plasma-${release}.49.9999"/* >> "kde-plasma-${release}.49.9999.keywords" + fi +done + for release in "${GEAR_RELEASES[@]}"; do echo -e "${HEADER}" > "kde-gear-${release}.keywords" if [[ -d ".kde-gear-${release}" ]]; then