From 7e7dee76c870917866fd23f385211ee8101705b4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Aug 2018 19:34:51 +0200 Subject: Add support for specifying publisher's name in addition to email --- bdep/publish.cli | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to 'bdep/publish.cli') diff --git a/bdep/publish.cli b/bdep/publish.cli index fce6a23..bcbb022 100644 --- a/bdep/publish.cli +++ b/bdep/publish.cli @@ -45,8 +45,8 @@ namespace bdep Along with the package archive, the submission request specifies the project the package belongs to, the repository section to publish the package under, the control repository URL to use for authorization, and - the publisher's email address for notifications. While the exact usage - and interpretation of this information depends on the specific + the publisher's name and email address for the record. While the exact + usage and interpretation of this information depends on the specific repository, the following semantics apply when submitting to \cb{cppget.org}. @@ -113,12 +113,20 @@ namespace bdep "Repository section to publish the packages under." } - string --email + string --author-name + { + "", + "Publisher's name. If unspecified, it will be obtained from the + environment and/or version control system. See the ENVIRONMENT + section for details." + } + + string --author-email { "", - "Publisher's email address for notifications. If unspecified, one will be - obtained from the environment and/or version control system. See the - ENVIRONMENT section for details." + "Publisher's email address. If unspecified, it will be obtained from the + environment and/or version control system. See the ENVIRONMENT section + for details." } string --simulate @@ -134,9 +142,11 @@ namespace bdep "\h|ENVIRONMENT| - The \cb{BDEP_EMAIL} environment variable can be used to specify the - publisher's email address. If not set, the \cb{publish} command will first - try to obtain the email from the version control system (if used) and then - from the \cb{EMAIL} environment variable. See also the \cb{--email} option. + The \cb{BDEP_AUTHOR_NAME} and \cb{BDEP_AUTHOR_EMAIL} environment variables + can be used to specify the publisher's name and email address, + respectively. If not set, the \cb{publish} command will first try to obtain + the name and email from the version control system (if used) and then from + the \cb{USER} and \cb{EMAIL} environment variables, respectively. See also + the \cb{--author-name} and \cb{--author-email} options. " } -- cgit v1.1