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 B197C138350 for ; Sun, 15 Mar 2020 22:27:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3C71E10AF; Sun, 15 Mar 2020 22:27:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 8DB99E10AF for ; Sun, 15 Mar 2020 22:27:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2E43034F112 for ; Sun, 15 Mar 2020 22:27:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF396175 for ; Sun, 15 Mar 2020 22:27:12 +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: <1584311210.e82315ea44184ebdcbfa07c8f9d12e053b136ada.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: e82315ea44184ebdcbfa07c8f9d12e053b136ada X-VCS-Branch: master Date: Sun, 15 Mar 2020 22:27:12 +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: 7acd9f06-ca3d-4349-9e04-178a87cde814 X-Archives-Hash: 6501824e3b18f13b5506100e18f0d30c commit: e82315ea44184ebdcbfa07c8f9d12e053b136ada Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 15 20:33:10 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 15 22:26:50 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e82315ea Documentation: regenerate-files: Add Release Service support Signed-off-by: Andreas Sturmlechner gentoo.org> Documentation/maintainers/regenerate-files | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/Documentation/maintainers/regenerate-files b/Documentation/maintainers/regenerate-files index 3adb6a7dfb..78b7fd9858 100755 --- a/Documentation/maintainers/regenerate-files +++ b/Documentation/maintainers/regenerate-files @@ -18,6 +18,9 @@ PLASMA_RELEASE=${PLASMA_RELEASE:-5.17} APPS_RELEASES="19.08 19.12" APPS_RELEASE=${APPS_RELEASE:-19.08} +SERVICE_RELEASES="20.04" +# SERVICE_RELEASE=${SERVICE_RELEASE:-20.04} + # regenerate keywords pushd ../package.accept_keywords/ > /dev/null for release in $KF_RELEASES; do @@ -41,6 +44,13 @@ for release in $APPS_RELEASES; do fi done +for release in $SERVICE_RELEASES; do + echo -e "${HEADER}" > "kde-release-service-${release}.keywords" + if [[ -d ".kde-release-service-${release}" ]]; then + cat ".kde-release-service-${release}/"* | sed -e '/^~.*[.-]9999$/s/$/ **/' -e '/^@/d' >> "kde-release-service-${release}.keywords" + fi +done + # ... and for completely unkeyworded packages, add "**" for release in $APP_RELEASES; do if [[ -d ".kde-applications-${release}" ]]; then @@ -56,6 +66,21 @@ for release in $APP_RELEASES; do fi done +# ... and for completely unkeyworded packages, add "**" +for release in $SERVICE_RELEASES; do + if [[ -d ".kde-release-service-${release}" ]]; then + rm -rf ".kde-release-service-${release}.49.9999" + mkdir -p ".kde-release-service-${release}.49.9999" + echo -e "${HEADER}" > "kde-release-service-${release}.49.9999.keywords" + for file in ".kde-release-service-${release}"/*; do + newfile=".kde-release-service-${release}.49.9999"/$(basename "${file}") + sed -e "/^<[a-z-]*\/.*\.50$/{s/\.50/.49.9999/;s/^ "${newfile}" + # echo "${newfile}" + done + cat ".kde-release-service-${release}.49.9999"/* >> "kde-release-service-${release}.49.9999.keywords" + fi +done + if [[ -d .kde-frameworks-live.base ]]; then rm -rf .kde-frameworks-live mkdir -p .kde-frameworks-live @@ -89,6 +114,17 @@ if [[ -d .kde-applications-live.base ]]; then cat .kde-applications-live/* >> kde-applications-live.keywords fi +if [[ -d .kde-release-service-live.base ]]; then + rm -rf .kde-release-service-live + mkdir -p .kde-release-service-live + echo -e "${HEADER}" > kde-release-service-live.keywords + for file in .kde-release-service-live.base/*; do + newfile=.kde-release-service-live/$(basename "${file}") + sed -e '/^~.*[.-]9999$/s/$/ **/' -e '/^@/d' "${file}" > "${newfile}" + done + cat .kde-release-service-live/* >> kde-release-service-live.keywords +fi + # keywords for miscleanous packages from package.unmask/ for misc in kde-extras-live; do if [[ -f "../package.unmask/${misc}" ]]; then @@ -121,6 +157,14 @@ for release in $APPS_RELEASES live; do sed -i "kde-applications-${release}" -e "/^@/d" fi done + +for release in $SERVICE_RELEASES live; do + echo -e "${HEADER}" > "kde-release-service-${release}" + if [[ -d ".kde-release-service-${release}" ]]; then + cat ".kde-release-service-${release}/"* >> "kde-release-service-${release}" + sed -i "kde-release-service-${release}" -e "/^@/d" + fi +done popd > /dev/null # regenerate mask entries (base for package mask) @@ -148,6 +192,14 @@ for release in $APPS_RELEASES live; do sed -i "kde-applications-${release}" -e "/^=/}" -e '/^@/d' fi done + +for release in $SERVICE_RELEASES live; do + echo -e "${HEADER}" > "kde-release-service-${release}" + if [[ -d "../package.unmask/.kde-release-service-${release}" ]]; then + cat "../package.unmask/.kde-release-service-${release}/"* >> "kde-release-service-${release}" + sed -i "kde-release-service-${release}" -e "/^=/}" -e '/^@/d' + fi +done popd > /dev/null # regenerate unversioned sets @@ -170,6 +222,12 @@ for set in *-${APPS_RELEASE}; do # TODO bring back slots when KDE Application is fully migrated sed -r "/@/s/-${APPS_RELEASE}//g;/9999$/s/~//;s/> "${newfile}" done + +# for set in *-${SERVICE_RELEASE}; do +# newfile=${set/%-${SERVICE_RELEASE}} +# echo -e "${HEADER}" > "${newfile}" +# sed -r "/@/s/-${SERVICE_RELEASE}//g;/9999$/s/~//;s/> "${newfile}" +# done popd > /dev/null # regenerate CONTRIBUTORS file