Skip to content

State should be case sensitive and follow the exact spelling #31

@andy-shev

Description

@andy-shev

When run git pw patch update --state <STATE> I have to provide an exact spelling of the <STATE> in question. However, when I got information about current state (either via git pw path list or looking at the result page from git pw patch update --state <STATE>) I see it spelled wrong.

First attempt:

% git pw patch update 993589 --state superseeded # **UPDATE** typo is here!

{u'state': [u'Invalid state superseeded. Expected one of: New, Under Review, Accepted, Rejected, RFC, Not Applicable, Changes Requested, Awaiting Upstream, Superseded, Deferred, Needs Review / ACK.']}

Second attempt:

% git pw patch update 993589 --state Superseded
| State      | superseded                                                              |

P.S. Under Review is spelled as under-review inside the tool which is wrong. pwclient doesn't have such issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions