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

treewide: remove "v" prefix in version #380998

Merged
merged 17 commits into from
Feb 12, 2025

Conversation

HeitorAugustoLN
Copy link
Member

@HeitorAugustoLN HeitorAugustoLN commented Feb 10, 2025

Remove v prefix from version from all packages that have it to comply with:

nixpkgs/pkgs/README.md

Lines 383 to 385 in 38e15cc

These are the guidelines the `version` attribute of a package:
- It _must_ start with a digit. This is required for backwards-compatibility with [how `nix-env` parses derivation names](https://nix.dev/manual/nix/latest/command-ref/nix-env#selectors).

Might do a follow up for migrating unstable to 0-unstable

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 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.

The version string must start with a digit per nixpkgs versioning guidelines.
The version string must start with a digit per nixpkgs versioning guidelines.
The version string must start with a digit per nixpkgs versioning guidelines
The version string must start with a digit per nixpkgs versioning guidelines.
The version string must start with a digit per nixpkgs versioning guidelines.
    The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
The version string must start with a digit per nixpkgs versioning guideline.
@HeitorAugustoLN
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 380998


x86_64-linux

✅ 19 packages built:
  • docker-init
  • gede
  • git-together
  • gnomeExtensions.pano
  • hullcaster
  • influxdb2
  • influxdb2-server
  • lora
  • msgraph-cli
  • ncps
  • php81Extensions.uuid
  • php82Extensions.uuid
  • php83Extensions.uuid
  • php84Extensions.uuid
  • python312Packages.falconpy
  • python312Packages.falconpy.dist
  • python313Packages.falconpy
  • python313Packages.falconpy.dist
  • vmctl

The version string must start with a digit per nixpkgs versioning guidelines.
@HeitorAugustoLN
Copy link
Member Author

Just found that there are multiple other packages that have it, but most of them are auto-generated such as lisp-modules imported and coq-modules contribs. Probably better to do these ones in a separate PR, if possible to change

@HeitorAugustoLN
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 380998


x86_64-linux

✅ 20 packages built:
  • docker-init
  • gede
  • git-together
  • gnomeExtensions.pano
  • hullcaster
  • influxdb
  • influxdb2
  • influxdb2-server
  • lora
  • msgraph-cli
  • ncps
  • php81Extensions.uuid
  • php82Extensions.uuid
  • php83Extensions.uuid
  • php84Extensions.uuid
  • python312Packages.falconpy
  • python312Packages.falconpy.dist
  • python313Packages.falconpy
  • python313Packages.falconpy.dist
  • vmctl

Copy link
Member

@donovanglover donovanglover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked all commits LGTM

@HeitorAugustoLN HeitorAugustoLN added the 12.approvals: 2 This PR was reviewed and approved by two reputable people label Feb 12, 2025
Copy link
Member

@Aleksanaa Aleksanaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked again

@Aleksanaa Aleksanaa merged commit 3fc2d82 into NixOS:master Feb 12, 2025
24 checks passed
@HeitorAugustoLN HeitorAugustoLN deleted the remove-v-in-version branch February 12, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: php 6.topic: python 10.rebuild-darwin: 1-10 10.rebuild-linux: 11-100 12.approvals: 2 This PR was reviewed and approved by two reputable people
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants