Skip to content

dnf-plugins-core: init at 4.4.3 - #272997

Merged
pbsds merged 3 commits into
NixOS:masterfrom
katexochen:dnf4/init-plugins
Dec 23, 2023
Merged

pbsds merged 3 commits into
NixOS:masterfrom
katexochen:dnf4/init-plugins

Conversation

@katexochen

Copy link
Copy Markdown
Member

Description of changes

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.

@github-actions github-actions Bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Dec 8, 2023
@ofborg ofborg Bot added 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 9, 2023

@SuperSandro2000 SuperSandro2000 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please follow the contributing guide when naming your commits.

Comment thread pkgs/top-level/python-packages.nix Resolved
Comment thread pkgs/top-level/all-packages.nix Resolved
Comment on lines 34 to 39

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
mkdir -p $out
cp -R ${dnf4-unwrapped}/* $out/
mkdir -p $py
cp -R ${dnf4-unwrapped.py}/* $py/
mkdir -p $man
cp -R ${dnf4-unwrapped.man}/* $man/
mkdir -p $out $py $man
cp -R ${dnf4-unwrapped}/* $out/
cp -R ${dnf4-unwrapped.py}/* $py/
cp -R ${dnf4-unwrapped.man}/* $man/

also we should symlink instead

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I couldn't get this running with symlinks, it keeps failing with permission errors:

post-installation fixup
chmod: changing permissions of '/nix/store/9mvni7wqni9q6nv5cff32w9njz679xl8-dnf4-4.18.2': Operation not permitted
chmod: changing permissions of '/nix/store/9mvni7wqni9q6nv5cff32w9njz679xl8-dnf4-4.18.2/lib': Operation not permitted
chmod: changing permissions of '/nix/store/9mvni7wqni9q6nv5cff32w9njz679xl8-dnf4-4.18.2/lib/systemd': Operation not permitted
chmod: changing permissions of '/nix/store/9mvni7wqni9q6nv5cff32w9njz679xl8-dnf4-4.18.2/lib/systemd/system': Operation not permitted
....

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

then we keep the cp for now unless someone else finds a good solution

@katexochen
katexochen force-pushed the dnf4/init-plugins branch 2 times, most recently from 8738b4f to 63f9d2e Compare December 13, 2023 22:24
@katexochen

katexochen commented Dec 13, 2023 •

Copy link
Copy Markdown
Member Author

Thanks for your review.

Please follow the contributing guide when naming your commits.

I'm sorry, I don't get what's wrong with the name of my commit, could you please give me a hint?

@SuperSandro2000

Copy link
Copy Markdown
Member

I'm sorry, I don't get what's wrong with the name of my commit, could you please give me a hint?

First of all, I should revisit my reply template and add the link to the headline directly. 😅

Also I've just noticed that it kinda turned into a linktree and I also couldn't find what I was searching for on the fast but essentially each package should get it's own commit and that is written somewhere there 😂

@SuperSandro2000 SuperSandro2000 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

other than one commit for each package, I don't have immediate feedback right now.

@katexochen
katexochen force-pushed the dnf4/init-plugins branch 2 times, most recently from 611b6ac to aadedbf Compare December 16, 2023 18:38
@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 18, 2023
@katexochen
katexochen requested a review from malt3 December 19, 2023 07:33

@dblsaiko dblsaiko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

some small things :^)

Comment thread pkgs/top-level/all-packages.nix Resolved
@delroth delroth removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 21, 2023
@katexochen
katexochen requested a review from dblsaiko December 21, 2023 11:45

@malt3 malt3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested successfully on Linux amd64

@delroth delroth added the 12.approvals: 3+ This PR was reviewed and approved by three or more persons. label Dec 21, 2023

@pbsds pbsds left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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

6 packages built:
  • python310Packages.dnf4
  • python310Packages.dnf4.man
  • python310Packages.dnf4.py
  • python311Packages.dnf4
  • python311Packages.dnf4.man
  • python311Packages.dnf4.py

Weird, I had to build python3Packages.dnf-plugins-core and dnf4 manually. Did ofborg do a booboo?

Looks mostly good to me, just a nit.

@katexochen
katexochen requested a review from pbsds December 22, 2023 09:52
@delroth delroth removed the 12.approvals: 3+ This PR was reviewed and approved by three or more persons. label Dec 22, 2023
@pbsds

pbsds commented Dec 23, 2023

Copy link
Copy Markdown
Member

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

6 packages built:
  • python310Packages.dnf4
  • python310Packages.dnf4.man
  • python310Packages.dnf4.py
  • python311Packages.dnf4
  • python311Packages.dnf4.man
  • python311Packages.dnf4.py

LGTM, but the ofborg eval is still weird...

@ofborg build python310Packages.dnf4 python310Packages.dnf4.passthru.tests python311Packages.dnf4 python311Packages.dnf4.passthru.tests python310Packages.dnf-plugins-core python310Packages.dnf-plugins-core.passthru.tests python311Packages.dnf-plugins-core python311Packages.dnf-plugins-core.passthru.tests dnf4 dnf4.passthru.tests

@katexochen

Copy link
Copy Markdown
Member Author

LGTM, but the ofborg eval is still weird...

Yes, it's indeed a bit weird. But I'm not sure what to do about it.

@pbsds

pbsds commented Dec 23, 2023

Copy link
Copy Markdown
Member

nixpkgs-review would discover it if it didn't use the ofborg eval

$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f . -qaP --xml --out-path --show-trace --no-allow-import-from-derivation --meta  | grep -E 'attrPath=".*dnf'
  <item attrPath="dnf-plugins-core" name="dnf-plugins-core-4.4.3" outputName="out" pname="dnf-plugins-core" system="x86_64-linux" version="4.4.3">
  <item attrPath="dnf4" name="dnf4-4.18.2" outputName="out" pname="dnf4" system="x86_64-linux" version="4.18.2">
  <item attrPath="dnf5" name="dnf5-5.1.8" outputName="out" pname="dnf5" system="x86_64-linux" version="5.1.8">
  <item attrPath="ifdnfc" name="ifdnfc-2016-03-01" outputName="out" pname="ifdnfc" system="x86_64-linux" version="2016-03-01">
  <item attrPath="python310Packages.libdnf" name="libdnf-0.72.0" outputName="py" pname="libdnf" system="x86_64-linux" version="0.72.0">
  <item attrPath="libdnf" name="libdnf-0.72.0" outputName="out" pname="libdnf" system="x86_64-linux" version="0.72.0">
  <item attrPath="python311Packages.libdnf" name="libdnf-0.72.0" outputName="py" pname="libdnf" system="x86_64-linux" version="0.72.0">
  <item attrPath="microdnf" name="microdnf-3.10.0" outputName="out" pname="microdnf" system="x86_64-linux" version="3.10.0">
  <item attrPath="python310Packages.dnf-plugins-core" name="python3.10-dnf-plugins-core-4.4.3" outputName="out" pname="python3.10-dnf-plugins-core" system="x86_64-linux" version="4.4.3">
  <item attrPath="python310Packages.dnf4" name="python3.10-dnf4-4.18.2" outputName="out" pname="python3.10-dnf4" system="x86_64-linux" version="4.18.2">
  <item attrPath="python310Packages.dnfile" name="python3.10-dnfile-0.14.1" outputName="out" pname="python3.10-dnfile" system="x86_64-linux" version="0.14.1">
  <item attrPath="python311Packages.dnf-plugins-core" name="python3.11-dnf-plugins-core-4.4.3" outputName="out" pname="python3.11-dnf-plugins-core" system="x86_64-linux" version="4.4.3">
  <item attrPath="python311Packages.dnf4" name="python3.11-dnf4-4.18.2" outputName="out" pname="python3.11-dnf4" system="x86_64-linux" version="4.18.2">
  <item attrPath="python311Packages.dnfile" name="python3.11-dnfile-0.14.1" outputName="out" pname="python3.11-dnfile" system="x86_64-linux" version="0.14.1">
  <item attrPath="vimPlugins.mkdnflow-nvim" name="vimplugin-mkdnflow.nvim-2023-11-28" outputName="out" pname="vimplugin-mkdnflow.nvim" system="x86_64-linux" version="2023-11-28">

Should also show up on search.nixos.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants