diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-22 20:32:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-08-22 20:32:18 +0300 |
commit | c45a4cfd29e36df8d9a019877e5af4721fdc66bc (patch) | |
tree | dbf2d027b1631e51cd61e51607e7b0e62a7e55dc /brep/submit/submit-git.bash.in | |
parent | 8b72bd7e42181fde2a02e0d1d382d17dda184199 (diff) |
Add support for author-* request manifest values in submit-git handler
Diffstat (limited to 'brep/submit/submit-git.bash.in')
-rw-r--r-- | brep/submit/submit-git.bash.in | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/brep/submit/submit-git.bash.in b/brep/submit/submit-git.bash.in index d19caaf..06d9b7c 100644 --- a/brep/submit/submit-git.bash.in +++ b/brep/submit/submit-git.bash.in @@ -94,14 +94,15 @@ function check_package_duplicate () # <name> <version> <repo-dir> # Serialize the project or package owner manifest (they have the same set of # values) to the specified manifest file. # -function create_owner_manifest () # <name> <email> <control> <file> -{ +function create_owner_manifest () # <name> <author-name> <author-email> +{ # <control> <file> trace_func "$@" local nam="$1" - local eml="$2" - local ctl="$3" - local man="$4" + local anm="$2" + local aem="$3" + local ctl="$4" + local man="$5" if [ -f "$man" ]; then error "'$man' already exists" @@ -109,10 +110,11 @@ function create_owner_manifest () # <name> <email> <control> <file> manifest_serializer_start "$man" - manifest_serialize "" "1" # Start of manifest. - manifest_serialize "name" "$nam" - manifest_serialize "email" "$eml" - manifest_serialize "control" "$ctl" + manifest_serialize "" "1" # Start of manifest. + manifest_serialize "name" "$nam" + manifest_serialize "author-name" "$anm" + manifest_serialize "author-email" "$aem" + manifest_serialize "control" "$ctl" manifest_serializer_finish } |