From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: Documentation/maintainers/new/
Date: Sun, 11 Dec 2022 21:24:33 +0000 (UTC) [thread overview]
Message-ID: <1670793864.6ef20dc0d29303c86b5deb134dfeaeb8654eb040.asturm@gentoo> (raw)
commit: 6ef20dc0d29303c86b5deb134dfeaeb8654eb040
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 16:42:58 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 21:24:24 2022 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6ef20dc0
Documentation: lib.sh: create_keywords_files: Drop base name hack
Requires providing second argument.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Documentation/maintainers/new/frameworks-bump.sh | 2 +-
Documentation/maintainers/new/gear-bump.sh | 2 +-
Documentation/maintainers/new/lib.sh | 10 +++++-----
Documentation/maintainers/new/plasma-bump.sh | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Documentation/maintainers/new/frameworks-bump.sh b/Documentation/maintainers/new/frameworks-bump.sh
index 1d51c345f5..243f46d61e 100755
--- a/Documentation/maintainers/new/frameworks-bump.sh
+++ b/Documentation/maintainers/new/frameworks-bump.sh
@@ -42,7 +42,7 @@ pushd "${TARGET_REPO}" > /dev/null
bump_set_from_live kde-frameworks ${major_version}
mask_from_live_set kde-frameworks ${VERSION} ${kfv}
mark_unreleased frameworks ${VERSION}
-create_keywords_files ${kfmv}
+create_keywords_files ${kfmv} ${set}
sed -i -e "/KF_RELEASES/s/\"$/ ${major_version}\"/" Documentation/maintainers/regenerate-files
Documentation/maintainers/regenerate-files
diff --git a/Documentation/maintainers/new/gear-bump.sh b/Documentation/maintainers/new/gear-bump.sh
index 853c1927e6..4d4fc7067e 100755
--- a/Documentation/maintainers/new/gear-bump.sh
+++ b/Documentation/maintainers/new/gear-bump.sh
@@ -42,7 +42,7 @@ pushd "${TARGET_REPO}" > /dev/null
if ! [[ -f sets/kde-gear-${major_version} ]]; then
bump_set_from_live kde-gear ${major_version}
- create_keywords_files ${kfmv}
+ create_keywords_files ${kfmv} kde-gear
sed -i -e "/GEAR_RELEASES/s/\"$/ ${major_version}\"/" Documentation/maintainers/regenerate-files
Documentation/maintainers/regenerate-files
diff --git a/Documentation/maintainers/new/lib.sh b/Documentation/maintainers/new/lib.sh
index d6317e1fa3..59bdcef983 100755
--- a/Documentation/maintainers/new/lib.sh
+++ b/Documentation/maintainers/new/lib.sh
@@ -101,16 +101,16 @@ commit_packages() {
}
# @FUNCTION: create_keywords_files
-# @USAGE: <set name>
+# @USAGE: <target set> <base setname>
# @DESCRIPTION:
-# Creates new package.{accept_keywords,unmask,mask}/<set name> files based on
-# live dirs and referencing <set name> including any subsets.
+# Creates new package.{accept_keywords,unmask,mask}/<target set> files based on
+# <base setname>-live dirs and referencing <target setname> including any subsets.
create_keywords_files() {
local target="${1}"
- local base=${target/%-[0-9.]*/}
+ local base="${2}"
local x
- if [[ $# -gt 1 ]]; then
+ if [[ $# -gt 2 ]]; then
echo "${FUNCNAME[0]}: error: must be passed exactly one argument!"
return
fi
diff --git a/Documentation/maintainers/new/plasma-bump.sh b/Documentation/maintainers/new/plasma-bump.sh
index e567fe8763..978f9cc857 100755
--- a/Documentation/maintainers/new/plasma-bump.sh
+++ b/Documentation/maintainers/new/plasma-bump.sh
@@ -42,7 +42,7 @@ pushd "${TARGET_REPO}" > /dev/null
if ! [[ -f sets/kde-plasma-${major_version} ]]; then
bump_set_from_live kde-plasma ${major_version} # TODO: s/49.9999/50:5/
- create_keywords_files ${kfmv}
+ create_keywords_files ${kfmv} kde-plasma
sed -i -e "/PLASMA_RELEASES/s/\"$/ ${major_version}\"/" Documentation/maintainers/regenerate-files
Documentation/maintainers/regenerate-files
next reply other threads:[~2022-12-11 21:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-11 21:24 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-17 9:20 [gentoo-commits] proj/kde:master commit in: Documentation/maintainers/new/ Andreas Sturmlechner
2022-12-11 21:24 Andreas Sturmlechner
2022-12-11 21:24 Andreas Sturmlechner
2021-10-31 3:18 Sam James
2021-03-04 10:29 Andreas Sturmlechner
2020-06-22 18:21 Andreas Sturmlechner
2020-06-22 18:21 Andreas Sturmlechner
2020-06-22 18:21 Andreas Sturmlechner
2020-06-22 18:21 Andreas Sturmlechner
2020-06-22 18:21 Andreas Sturmlechner
2017-05-11 19:47 Andreas Sturmlechner
2016-04-15 15:52 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1670793864.6ef20dc0d29303c86b5deb134dfeaeb8654eb040.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox