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

mise: 2023.12.35 -> 2024.1.11 rebrand from rtx #279158

Merged
merged 1 commit into from
Jan 14, 2024
Merged

Conversation

konradmalik
Copy link
Contributor

@konradmalik konradmalik commented Jan 6, 2024

Description of changes

rtx was rebranded upstream to mise. See: https://mise.jdx.dev/rtx.html.

This PR renames the package, creates an alias and updates it to 2024.1.11

Needed to add one new patchShebangs path for test_task_run (./test/cwd/.mise/tasks/filetask). Without it, this test failed in checkPhase.

Closes #278977

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@konradmalik
Copy link
Contributor Author

konradmalik commented Jan 6, 2024

Currently tests fail. Unrelated to the name change I think:

test cli::render_mangen::tests::test_render_mangen ... ok
test cli::run::tests::test_task_run ... error: test failed, to rerun pass `--bin mise`

Caused by:
  process didn't exit successfully: `/build/source/target/x86_64-unknown-linux-gnu/release/deps/mise-655ead5b1d3f3fff --test-threads=1 '--skip=cli::plugins::ls::tests::test_plugin_list_urls'` (exit status: 1)

I'll try to figure this out

Edit: it seems it works on darwin, huh...

Edit2: Fixed. One new path in patchShebangs was missing.

@konradmalik konradmalik marked this pull request as ready for review January 6, 2024 19:18
@konradmalik konradmalik changed the title mise: rebrand from rtx at 2024.1.7 mise: 2023.12.35 -> 2024.1.7 rebrand from rtx Jan 6, 2024
@konradmalik konradmalik changed the title mise: 2023.12.35 -> 2024.1.7 rebrand from rtx mise: 2023.12.35 -> 2024.1.11 rebrand from rtx Jan 7, 2024
pkgs/tools/misc/mise/default.nix Outdated Show resolved Hide resolved
pkgs/top-level/aliases.nix Outdated Show resolved Hide resolved
rebrand info: https://mise.jdx.dev/rtx.html
added one new patchShebangs path for test_task_run
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3269

@onemoresuza
Copy link
Contributor

onemoresuza commented Jan 14, 2024

Reviewed points

Result of nixpkgs-review pr 279158 run on x86_64-linux 1

1 package built:
  • mise
  • package name fits guidelines
  • package version fits guidelines
  • package builds on x86_64-linux
  • executables tested on x86_64-linux
  • all depending packages build
  • patches have a comment describing either the upstream URL or a reason why the patch wasn't upstreamed
    • N/A: No patches are applied
  • patches that are remotely available are fetched rather than vendored
    • N/A: No patches are applied
  • package rename ensures an addition of the old name to pkgs/top-level/aliases.nix

@wegank wegank merged commit 3763c9f into NixOS:master Jan 14, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package Request — mise
5 participants