Mercurial > p > roundup > code
changeset 8552:dbe30d5032b8
doc: move OAUTH settings together, add set-value and OAUTH docs
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 02 Apr 2026 12:26:13 -0400 |
| parents | 06fd452534d0 |
| children | ee17f62c8341 |
| files | roundup/scripts/roundup_mailgw.py |
| diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/scripts/roundup_mailgw.py Mon Mar 30 11:55:23 2026 -0400 +++ b/roundup/scripts/roundup_mailgw.py Thu Apr 02 12:26:13 2026 -0400 @@ -156,13 +156,14 @@ cmd.add_argument('-c', '--default-class', default='', help="Default class of item to create (else the tracker's " "MAILGW_DEFAULT_CLASS)") + cmd.add_argument('-S', '--set-value', action='append', + help="Set additional properties for classes. Format of SET_VALUE: '[class.]property=value[;property=value]'. Class defaults to DEFAULT_CLASS.", default=[]) cmd.add_argument('-O', '--oauth-directory', - help='Directory with OAUTH credentials, default "oauth" in ' + help='Directory with OAUTH credentials, default "oauth/" in ' 'tracker home') - cmd.add_argument('-S', '--set-value', action='append', - help="Set additional properties on some classes", default=[]) cmd.add_argument('-T', '--oauth-token-endpoint', - help="OAUTH token endpoint for access_token renew, default=%(default)s", + help="URL of the OAUTH token endpoint when renewing access_token, " + "default=%(default)s", default='https://login.microsoftonline.com/' 'organizations/oauth2/v2.0/token') return cmd, cmd.parse_args(argv)
