-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
bitwarden-cli: 2024.9.0 -> 2024.11.0 #350601
Conversation
You may be aware (and maybe why you marked draft), but there’s currently some licensing issues with Bitwarden, see bitwarden/clients#11611 |
Licensing issue is resolved in v2024.11.0+ |
@dotlambda Mind changing this PR to update bitwarden-cli to 2024.11.0 released November 14th? |
Result of 1 package failed to build:
|
See #340138 for the Darwin build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds and tested it on x86_64-linux, other than this LGTM
@@ -28,7 +28,7 @@ buildNpmPackage rec { | |||
|
|||
nodejs = nodejs_20; | |||
|
|||
npmDepsHash = "sha256-L7/frKCNlq0xr6T+aSqyEQ44yrIXwcpdU/djrhCJNNk="; | |||
npmDepsHash = "sha256-YzhCyNMvfXGmgOpl3qWj1Pqd1hY8CJ9QLwQds5ZMnqg="; | |||
|
|||
nativeBuildInputs = [ | |||
(python3.withPackages (ps: with ps; [ setuptools ])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
distutils
was required by electron/rebuild#1116, from this release it builds without that and even without python3
(python3.withPackages (ps: with ps; [ setuptools ])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even without python3
Why's that? Do they ship a Python binary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like they aren't even using node-gyp
.
WIth the 2024.11.0 release, putting rm node_modules/@electron/node-gyp/configure.js
before the npm rebuild
command, bitwarden-cli still builds. Just to make sure doing the same in the older 2024.9.0 version with rm node_modules/node-gyp/configure.js
(electron hasn't forked node-gyp in that time) the build fails as expected with it not finding the configure script.
However the strange thing is I can delete the whole node-gyp
directory in both 2024.9.0 and 2024.11.0 releases and the build still passes, is it possible that it wasn't even used before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The npm in nodejs includes node-gyp dep already, so it’s possibly falling-back to that.
54e2f3d
to
0e650fa
Compare
The Darwin build fails with
|
0e650fa
to
82bb9f4
Compare
Diff: bitwarden/clients@cli-v2024.9.0...cli-v2024.11.0
Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2024.11.0
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.