#340 Make option --name and --namespace reusable
Closed by cqi. Opened by cqi.
cqi/rpkg reuse-repo-name-namespace  into  master

Download 340.patch

These two options could be reused in other command to get input of
package repository name and/or namespace.

Signed-off-by: Chenxiong Qi cqi@redhat.com

Wouldn't the help text for --name be confusing in other cases? It talks about overriding, which may not be relevant elsewhere. But that's not a big deal. :thumbsup:

Interesting information that ArgumentParser can use inheritance. Thanks.

I thought this change could be reused for command request-repo. IMO, the help text could be confusing indeed and should have different content. For the case of request-repo, there would not be too much effort to add --name and --namespace for itself. It's not worth to have this change.

Pull-Request has been closed by cqi

Metadata