-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
vscode-extensions.rust-lang.rust-analyzer: 0.3.1059 -> 0.3.1426 #216246
vscode-extensions.rust-lang.rust-analyzer: 0.3.1059 -> 0.3.1426 #216246
Conversation
Please fix the conflict: |
7904674
to
dadc7ec
Compare
Done, the |
Result of 1 package failed to build:
|
@Garmelon Please check for failure on build. |
I noticed as well, sorry. Apparently, the new |
I agree ideally should be a discrete PR for node. When merged, rebase, and I can merge here, no problem. |
So I should open a new PR just for node-packages? I think that would fail to pick up the new rust-analyzer dependency because As far as I understand, the |
The node-packages.nix bump is global, right? Affecting all node/JS packages? |
I think when updating I also can't update it after I update the extension because then the extension won't build until This means that it has to be updated in the same PR as the extension because the extension dependencies changed (unless I'm missing something obvious). |
Right. It is local lock to this extension then? I was thinking it was a general bump of JS packages (global). (I'm still trying to check this here.) |
|
If it is global, make it a discrete PR. Then you can cherry-pick commit for tests. And rebase once is merged. |
I can't, unless I'm missing something. I could maybe update In previous rust-analyzer extension PRs, |
Looking through the history, Though looking through those commits, sometimes packages are added manually to node-packages.json. Maybe that's what I should do in this case? |
That is how I would do it. A discrete PR for JS, one commit for adding package, one for bumping JS packages globally.
I don't know what happened. Sorry. |
@Garmelon Coupling a global JS bump + package addition to a VSCode extension bump is not ideal. If you had already decoupled JS changes, the JS part would have been accepted/merged already. Seems to me there are less people willing to review VSCode extensions than JS bumps. Also the VSCode reviewer wouldn't have to review the JS bumps. Win-win. |
Okay, I will try to separate the JS change into a new PR. Do you think I should add all of rust-analyzer's new dependencies while I'm at it? Most of them are not part of This section on Javascript packages inside nixpkgs seems to suggest I should. It doesn't appear to be necessary for most dependencies though.
Thanks for your time so far. |
Maybe |
So far, I've been using the extension's The more I look into this, the less I understand it. I don't know whether the update script does the right thing or is horribly outdated. |
Let's do a global update then. |
In that case, the question remains whether I should bump this PR to the latest extension version as well |
Yes, bump to latest version. Just noticed that upstream included |
I don't know enough about the hacks and other things this derivation is doing to make that switch. For example, the I'll push a normal update in a few hours once the update script finishes. |
My concern of global bumps is silently breaking something else. (As |
That doesn't sound right... Bumping this extension shouldn't require that much work... |
Updating Global node-packages bumps happen from time to time, things will break either way. If you manage to build it using |
dadc7ec
to
4fb9eb2
Compare
Needs to be a discrete commit. |
4fb9eb2
to
7f2b7d5
Compare
Result of 2 packages failed to build:
52 packages built:
|
1 similar comment
Result of 2 packages failed to build:
52 packages built:
|
During building of
This seems to be the same error as #219202 which was caused by #218736, so at least this PR didn't break anything that wasn't already broken. |
Description of changes
Changelog: Changelog #130 to Changelog #168
Supersedes #213850. Only after doing all the updating did I realize somebody else had already opened a PR, but the RA release cycle marches on relentlessly.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)