-
-
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
open-stage-control: init at 1.17.0 #170464
open-stage-control: init at 1.17.0 #170464
Conversation
d9c57fe
to
fc9720e
Compare
fc9720e
to
8d68307
Compare
8d68307
to
8efcd49
Compare
8efcd49
to
a12e73d
Compare
a12e73d
to
1019858
Compare
1019858
to
f7fa9c8
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
#! nix-shell -i bash -p nodePackages.node2nix | ||
|
||
# Download package.json from the release | ||
curl https://raw.githubusercontent.com/jean-emmanuel/open-stage-control/v1.17.0/package.json | grep -v '"electron"\|"electron-installer-debian"\|"electron-packager"\|"electron-packager-plugin-non-proprietary-codecs-ffmpeg"' >package.json |
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.
Hardcoding the version here is not updater friendly.
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.
Would a variable at the top of the script work?
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.
I've put a variable at the top of the script for now. Let me know if something else would be better. Thank you!
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.
It should fetch the latest release version from the github repository so that the update script just works and does not need manual editing
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.
I can do that too. I think I copied this script from some other electron app update script, but I have no problem with just making it always fetch latest
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.
I've pushed an update which fetches the latest tag from the GitHub API and then fetches package.json file from that tag
984d355
to
6a84d0d
Compare
6a84d0d
to
1b1684c
Compare
Description of changes
This PR adds Open Stage Control, an OSC/MIDI controller. It uses the existing node2nix stuff and
electron_15
package from nixpkgs,but I had to generate node-packages.nix and node-composition.nix with a newer node2nix version than is in nixpkgs due to #165246 (but the newer version is not required to build or run the package, just to generate the files)(edit: since #171195 was merged using a newer node2nix is no longer needed). I modeled this package on other electron apps in nixpkgs and I've been using this package from my own config for a while nowFixes #79637
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/
)nixos/doc/manual/md-to-db.sh
to update generated release notes