Skip to content

Multiple --status arguments to rebuildctl pkgs ls should be possible #185

@kpcyrd

Description

@kpcyrd

This call is currently invalid, but wouldn't need to:

rebuildctl pkgs ls --status GOOD --status BAD

To support this, the api needs to accept a request like this as valid however:

curl -v 'http://127.0.0.1:8082/api/v0/pkgs/list?status=GOOD&status=BAD'

Or this (without breaking backwards compatibility):

curl -v 'http://127.0.0.1:8082/api/v0/pkgs/list?status[]=GOOD&status[]=BAD'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions