Skip to content

Bug: rstuf artifact repository set allows set default as inexistent repository #806

@kairoaraujo

Description

@kairoaraujo

What happened?

The rstuf artifact repository set command allows user to set a default repository that doesn't exist in your configuration.

What steps did you take?

> rstuf artifact repository show 
local-tuf
> rstuf artifact repository set inexisting-tuf
Current repository changed to inexisting-tuf

What behavior did you expect?

rstuf artifact repository set should only allow a configured repository.

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions