Skip to content

nattka should not crash, if package format is wrong #79

@jonasstein

Description

@jonasstein

Nattka should not crash, if package format is wrong.
It should be able to catch the error and report it to the user with an useful error message

nattka make-package-list -s 'app-crypt/dieharder'
ERROR: Version number missing. Expected =cat/pkg-ver

nattka make-package-list -s 'app-crypt/dieharder-3.31.1-r4'
// unsure, if nattka should be able to work without `=`? or if it should tell the user what is wrong here.

nattka make-package-list -s '=app-crypt/dieharder-3.31.1-r4 amd64'
ERROR: Architecture is required in case of first time stabilization. Expected =cat/pkg-ver ARCH1 ARCH2 ...

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