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

refactor: use aqua for nfpm #3248

Merged
merged 2 commits into from
Nov 27, 2024
Merged

refactor: use aqua for nfpm #3248

merged 2 commits into from
Nov 27, 2024

Conversation

scop
Copy link
Contributor

@scop scop commented Nov 27, 2024

No description provided.

@jdx
Copy link
Owner

jdx commented Nov 27, 2024

doesn't seem this one works:

mise  main ❯ m x aqua:nfpm -- nfpm --version
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s
     Running `target/debug/mise x 'aqua:nfpm' -- nfpm --version`
mise WARN  invalid aqua tool: nfpm
mise WARN  failed to resolve toolset: [--runtime] aqua:nfpm@latest: HTTP status client error (404 Not Found) for url (https://mise-versions.jdx.dev/aqua-registry/nfpm/registry.yaml)
Error: 
   0: "nfpm" couldn't exec process: No such file or directory

Location:
   src/cli/exec.rs:97

Version:
   2024.11.31-DEBUG macos-arm64 (675a2b0 2024-11-27)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

you can add a test for these by doing this:

nfpm.backends = [...]
nfpm.test = ['nfpm --version', 'nfpm version {{version}}']

@jdx
Copy link
Owner

jdx commented Nov 27, 2024

oh I just fat fingered it

@jdx
Copy link
Owner

jdx commented Nov 27, 2024

I added a test for this one, you can run these with mise test-tool nfpm

@jdx jdx enabled auto-merge (squash) November 27, 2024 21:14
@jdx jdx merged commit 244102f into jdx:main Nov 27, 2024
21 checks passed
@scop
Copy link
Contributor Author

scop commented Nov 27, 2024

I added a test for this one, you can run these with mise test-tool nfpm

Thanks for the info 👍

@scop scop deleted the refactor/nfpm-aqua branch November 27, 2024 21:28
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

Successfully merging this pull request may close these issues.

2 participants