Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocker flag shouldn't be required to create new async release #151

Open
pbabinca opened this issue Feb 21, 2019 · 0 comments
Open

Blocker flag shouldn't be required to create new async release #151

pbabinca opened this issue Feb 21, 2019 · 0 comments

Comments

@pbabinca
Copy link

When I try to call errata-tool release create without argument --blocker_flags I get an error:

errata-tool release create: error: argument --blocker_flags is required

In Errata Tool web UI for Release Type: Async I read description of this field:

Blocker flags - Optional for Async errata.

and thus it could be empty.

pbabinca added a commit to pbabinca/errata-tool that referenced this issue Feb 21, 2019
pbabinca added a commit to pbabinca/errata-tool that referenced this issue Feb 21, 2019
Before this change:

    $ errata-tool release create async --help
    usage: errata-tool release create async [-h] --name NAME --product PRODUCT
                                            --product_version PRODUCT_VERSION
                                            --program_manager PROGRAM_MANAGER
                                            --blocker_flags BLOCKER_FLAGS
                                            --default_brew_tag DEFAULT_BREW_TAG

    optional arguments:
      -h, --help            show this help message and exit
      --name NAME           eg. "rhceph-2.4"
      --product PRODUCT     eg. "RHCEPH"
      --product_version PRODUCT_VERSION
                            eg. "RHEL-7-CEPH-3"
      --program_manager PROGRAM_MANAGER
                            eg. "anharris"
      --blocker_flags BLOCKER_FLAGS
                            eg. "ceph-2.y"
      --default_brew_tag DEFAULT_BREW_TAG
                            eg. "ceph-3.0-rhel-7-candidate"

After this change:

    $ errata-tool release create async --help
    usage: errata-tool release create async [-h] --name NAME --product PRODUCT
                                            --product_version PRODUCT_VERSION
                                            --program_manager PROGRAM_MANAGER
                                            --default_brew_tag DEFAULT_BREW_TAG
                                            [--blocker_flags BLOCKER_FLAGS]

    optional arguments:
      -h, --help            show this help message and exit
      --name NAME           eg. "rhceph-2.4"
      --product PRODUCT     eg. "RHCEPH"
      --product_version PRODUCT_VERSION
                            eg. "RHEL-7-CEPH-3"
      --program_manager PROGRAM_MANAGER
                            eg. "anharris"
      --default_brew_tag DEFAULT_BREW_TAG
                            eg. "ceph-3.0-rhel-7-candidate"
      --blocker_flags BLOCKER_FLAGS
                            eg. "ceph-2.y"

Fixes: red-hat-storage#151
pbabinca added a commit to pbabinca/errata-tool that referenced this issue Feb 21, 2019
Before this change:

    $ errata-tool release create async --help
    usage: errata-tool release create async [-h] --name NAME --product PRODUCT
                                            --product_version PRODUCT_VERSION
                                            --program_manager PROGRAM_MANAGER
                                            --blocker_flags BLOCKER_FLAGS
                                            --default_brew_tag DEFAULT_BREW_TAG

    optional arguments:
      -h, --help            show this help message and exit
      --name NAME           eg. "rhceph-2.4"
      --product PRODUCT     eg. "RHCEPH"
      --product_version PRODUCT_VERSION
                            eg. "RHEL-7-CEPH-3"
      --program_manager PROGRAM_MANAGER
                            eg. "anharris"
      --blocker_flags BLOCKER_FLAGS
                            eg. "ceph-2.y"
      --default_brew_tag DEFAULT_BREW_TAG
                            eg. "ceph-3.0-rhel-7-candidate"

After this change:

    $ errata-tool release create async --help
    usage: errata-tool release create async [-h] --name NAME --product PRODUCT
                                            --product_version PRODUCT_VERSION
                                            --program_manager PROGRAM_MANAGER
                                            --default_brew_tag DEFAULT_BREW_TAG
                                            [--blocker_flags BLOCKER_FLAGS]

    optional arguments:
      -h, --help            show this help message and exit
      --name NAME           eg. "rhceph-2.4"
      --product PRODUCT     eg. "RHCEPH"
      --product_version PRODUCT_VERSION
                            eg. "RHEL-7-CEPH-3"
      --program_manager PROGRAM_MANAGER
                            eg. "anharris"
      --default_brew_tag DEFAULT_BREW_TAG
                            eg. "ceph-3.0-rhel-7-candidate"
      --blocker_flags BLOCKER_FLAGS
                            eg. "ceph-2.y"

Fixes: red-hat-storage#151
pbabinca added a commit to pbabinca/errata-tool that referenced this issue Mar 11, 2019
Before this change:

    $ errata-tool release create async --help
    usage: errata-tool release create async [-h] --name NAME --product PRODUCT
                                            --product_version PRODUCT_VERSION
                                            --program_manager PROGRAM_MANAGER
                                            --blocker_flags BLOCKER_FLAGS
                                            --default_brew_tag DEFAULT_BREW_TAG

    optional arguments:
      -h, --help            show this help message and exit
      --name NAME           eg. "rhceph-2.4"
      --product PRODUCT     eg. "RHCEPH"
      --product_version PRODUCT_VERSION
                            eg. "RHEL-7-CEPH-3"
      --program_manager PROGRAM_MANAGER
                            eg. "anharris"
      --blocker_flags BLOCKER_FLAGS
                            eg. "ceph-2.y"
      --default_brew_tag DEFAULT_BREW_TAG
                            eg. "ceph-3.0-rhel-7-candidate"

After this change:

    $ errata-tool release create async --help
    usage: errata-tool release create async [-h] --name NAME --product PRODUCT
                                            --product_version PRODUCT_VERSION
                                            --program_manager PROGRAM_MANAGER
                                            --default_brew_tag DEFAULT_BREW_TAG
                                            [--blocker_flags BLOCKER_FLAGS]

    optional arguments:
      -h, --help            show this help message and exit
      --name NAME           eg. "rhceph-2.4"
      --product PRODUCT     eg. "RHCEPH"
      --product_version PRODUCT_VERSION
                            eg. "RHEL-7-CEPH-3"
      --program_manager PROGRAM_MANAGER
                            eg. "anharris"
      --default_brew_tag DEFAULT_BREW_TAG
                            eg. "ceph-3.0-rhel-7-candidate"
      --blocker_flags BLOCKER_FLAGS
                            eg. "ceph-2.y"

Fixes: red-hat-storage#151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant