projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7fdd4d
)
scripts: store maintainer in package metadata
author
Paul Spooren
<mail@aparcar.org>
Fri, 17 Sep 2021 09:51:50 +0000
(23:51 -1000)
committer
Paul Spooren
<mail@aparcar.org>
Fri, 24 Sep 2021 07:38:59 +0000
(21:38 -1000)
The maintainer could be usable for downstream tooling, so start storing
it in the metadata.
Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/metadata.pm
patch
|
blob
|
history
diff --git
a/scripts/metadata.pm
b/scripts/metadata.pm
index 5fbb77a36c4cb22059cee802fbf9eee4648de7e1..f252c5309ca82c1b31ca62804bf89110a1a0546f 100644
(file)
--- a/
scripts/metadata.pm
+++ b/
scripts/metadata.pm
@@
-290,6
+290,7
@@
sub parse_package_metadata($) {
};
/^Config:\s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
/^Prereq-Check:/ and $pkg->{prereq} = 1;
+ /^Maintainer: \s*(.+)\s*$/ and $pkg->{maintainer} = [ split /, /, $1 ];
/^Require-User:\s*(.*?)\s*$/ and do {
my @ugspecs = split /\s+/, $1;