add option to print FAS names
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
5211712f23
commit
0e74c819ef
1 changed files with 6 additions and 1 deletions
|
@ -516,6 +516,10 @@ class DistgitBugzillaSync:
|
||||||
'-p', '--project', dest='projects', nargs='+',
|
'-p', '--project', dest='projects', nargs='+',
|
||||||
help='Update one or more projects (provided as namespace/name), '
|
help='Update one or more projects (provided as namespace/name), '
|
||||||
'in all of its products')
|
'in all of its products')
|
||||||
|
parser.add_argument(
|
||||||
|
'--print-fas-names', action='store_true', default=False,
|
||||||
|
help="Print FAS names rather than email addresses in output, useful when pasting into "
|
||||||
|
"public fora")
|
||||||
|
|
||||||
self.args = parser.parse_args()
|
self.args = parser.parse_args()
|
||||||
|
|
||||||
|
@ -747,7 +751,8 @@ class DistgitBugzillaSync:
|
||||||
owner=project["products_poc"][product],
|
owner=project["products_poc"][product],
|
||||||
description=project['summary'],
|
description=project['summary'],
|
||||||
qacontact=None,
|
qacontact=None,
|
||||||
cclist=project['watchers']
|
cclist=project['watchers'],
|
||||||
|
print_fas_names=self.args.print_fas_names,
|
||||||
)
|
)
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
# A username didn't have a bugzilla address
|
# A username didn't have a bugzilla address
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue