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

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

Open
jonasstein opened this issue Jan 18, 2023 · 0 comments
Open

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

jonasstein opened this issue Jan 18, 2023 · 0 comments

Comments

@jonasstein
Copy link

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 ...
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