-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
bitwarden-cli: patch out advertisement in --help message #400183
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
Conversation
|
Is there precedent in nixpkgs for doing this? I don't want the ad either but it's very non-intrusive and we don't want to have a bad relationship with upstream. |
|
I'm not familiar with any other open-source package in nixpkgs that has an advertisement like this; this usually only happens in binary-only redistributable software where it's expected to be very difficult to change it's behaviour However, nixpkgs does regularly patch out other user-hostile behaviours like telemetry (ex) and auto-updates or update reminders (ex). |
|
I also think it is not very intrusive compared to some other annoying things and it seems to be only printed when calling the help, not eg for every command. |
|
I don't understand what we are trying to balance. Why does it matter how "intrusive" it is? If I asked every single user of nixpkgs, "do you want this package with the ad, or without the ad?", the answer is without the ad. It's a three-line patch, likely easier to maintain than many other patches that are regularly done in nixpkgs. What's the holdup? |
|
I am trying to balance the amount of changes we do to upstream software. I think it matters a lot how intrusive something is. I am way more inclined to remove features around tracking or that actively impact the user experience in a bad way but probably the choice of software should be reconsidered first. I would probably do the same and add a hint to my software if they work well together and wouldn't be so happy if distros would patch it out. This is a purely cosmetic patch as some other bigger patches are required for the software to work or compile at all. I think the general idea is always to keep patching to a minimum while making the software work on nixos and also apply bug fixes where needed. dotlamba requested my review on this PR, hence I gave it. Please discuss the granularities with him. |
Any patch, however small, might keep @r-ryantm from being able to automatically update. |
|
I agree that this is unnecessary. It's not harmful to the user like tracking or auto-updates and this could slow down getting updates if Bitwarden ever changes the message. |
|
Going to close this as @jcollie summarized it very well. |
Before:
After:
pinging package maintainer: @dotlambda
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixpkgs-reviewresultGenerated using
nixpkgs-review.Command:
nixpkgs-reviewx86_64-linux✅ 13 packages built:
Add a 👍 reaction to pull requests you find important.