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

dmidecode version bump to 3.2.8 #98171

Closed
wants to merge 4 commits into from
Closed

dmidecode version bump to 3.2.8 #98171

wants to merge 4 commits into from

Conversation

superherointj
Copy link
Contributor

Motivation for this change

PR#97614 was missing dmidecode's version bump.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ajs124
Copy link
Member

ajs124 commented Sep 17, 2020

Shouldn't this be setting pname and version nowadays?

Copy link
Member

@samueldr samueldr left a comment

Choose a reason for hiding this comment

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

Quoting @blitz

This is broken, because it tries to fetch dmidecode-3.2.8.tar.xz from the savannah mirrors, which does not exist. See http://ftp.twaren.net/Unix/NonGNU/dmidecode/

#98175 (review)

@samueldr
Copy link
Member

Additionally, this is not truly "3.2.8", upstream still refers to it as 3.2...

We don't have a way to differentiate between versions of unversioned patched-up software defined and/or documented. Nothing similar to what I believe debian does, adding "+n" where n is the amount of debian-specific updates the package had.

This is causing only an issue with nix-env, as far as I can tell. Thus, I don't know what is the best way to approach this problem.

@blitz
Copy link
Contributor

blitz commented Sep 17, 2020

Additionally, this is not truly "3.2.8", upstream still refers to it as 3.2...

Yes, it looks like there is a 3.2.8 release when there really isn't.

We don't have a way to differentiate between versions of unversioned patched-up software defined and/or documented. Nothing similar to what I believe debian does, adding "+n" where n is the amount of debian-specific updates the package had.

Fedora seems to call it 3.2-8: https://pkgs.org/search/?q=dmidecode

@superherointj
Copy link
Contributor Author

superherointj commented Sep 17, 2020

Which sort of version to use then "3.2-8" or "3.2.8"? Arch did "3.2-2" (major_version.minor_version-release_number).

Co-authored-by: Julian Stecklina <js@alien8.de>
@AndersonTorres
Copy link
Member

AndersonTorres commented Sep 17, 2020

As I have seen here, there is no need for version bumping. Version bumping is just a convention, and in Nixpkgs those things have way less importance compared with other distros. They aren't used by anything serious as an internal algorithm for self-updating. (Even because the ryantm bot does this for us :P )

By updating the expression with the required patches, the build bots will update the package automatically (after a couple of days I suppose).

Further, the most recent version on Repology is 3.2 anyway. There is no motivation to edit version string here.

On the other hand, I suggest creating a new expression, something like "dmidecode/unstable.nix" fetching the last Git sources. But it can wait...

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.

None yet

5 participants