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

qbittorrent: extending path to include Python3 for default functionality #106735

Merged
2 commits merged into from Dec 19, 2020

Conversation

Anton-Latukha
Copy link
Contributor

Motivation for this change

Since people regularly open reports about tracker search not working because
python is not found. The most recent of reports/discussions being #104221.

And since Tracker Search in qBittorrent can not be disabled & at the same time
the Python is needed for it to work - including Python for default
functionality to work.

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"
    (no dependent packages)
  • 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)
462,853,024
516,526,608
(delta) 53,673,584 aka 53 MB

@Anton-Latukha Anton-Latukha changed the title qbittorrent: extending path to is include Python for default functionality qbittorrent: extending path to include Python for default functionality Dec 12, 2020
@Anton-Latukha
Copy link
Contributor Author

@GrahamcOfBorg build qbittorrent

@FRidh
Copy link
Member

FRidh commented Dec 12, 2020

is it not compatible with python3?

@Anton-Latukha
Copy link
Contributor Author

Oh, yes, the naming.

@Anton-Latukha Anton-Latukha force-pushed the 2020-12-12-extend-qbittorrent-path branch from ed32615 to 755432f Compare December 13, 2020 09:32
@Anton-Latukha
Copy link
Contributor Author

Done.

@Anton-Latukha Anton-Latukha changed the title qbittorrent: extending path to include Python for default functionality qbittorrent: extending path to include Python3 for default functionality Dec 13, 2020
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

The first two commits look good, I tested the search function and it worked as expected. The last commit looks a bit odd to me:

[pbb@onyx:~/proj/nixpkgs]$ tree result/
result
├── bin
│  └── qbittorrent
└── share
   ├── applications
   │  └── org.qbittorrent.qBittorrent.desktop
   ├── icons
   [...]
   ├── metainfo
   │  └── org.qbittorrent.qBittorrent.appdata.xml
   └── pixmaps
      └── qbittorrent.png

[pbb@onyx:~/proj/nixpkgs]$ tree result-dev/
result-dev
└── nix-support
   └── propagated-build-inputs

[pbb@onyx:~/proj/nixpkgs]$ tree result-bin/
result-bin
└── share
   └── man
      └── man1
         └── qbittorrent.1.gz

[pbb@onyx:~/proj/nixpkgs]$

But only the bin output would be installed to a profile, so no binary or .desktop file would be available.

Maybe you can move the last commit to its own PR so we can merge the rest.

Since people regularly open reports about tracker search not working because
python is not found.
And since Tracker Search in qBittorrent can not be disabled & at the same time
the Pythong is needed for it to work - including Python for default
functionality to work.
@Anton-Latukha Anton-Latukha force-pushed the 2020-12-12-extend-qbittorrent-path branch from 755432f to b951431 Compare December 19, 2020 17:32
@Anton-Latukha
Copy link
Contributor Author

Rebased to master.

Removed the last commit of split outputs.

@Anton-Latukha Anton-Latukha requested a review from a user December 19, 2020 17:33
@ghost ghost merged commit cb312f3 into NixOS:master Dec 19, 2020
This pull request was closed.
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

2 participants