-
-
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
bespokesynth: update to latest commit #242698
Conversation
9c877ec
to
a910fbd
Compare
Nice, thanks for helping us with this! Do you think you could also take this opportunity to fix the way we patch the program, by directly using
and adding:
Thanks! |
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 seems that trying to pass through |
a910fbd
to
65662c2
Compare
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.
For fixing Darwin support, please add MetalKit
to the Darwin-specific buildInputs
and, in pkgs/top-level/all-packages.nix
, change
bespokesynth = callPackage ../applications/audio/bespokesynth {
inherit (darwin.apple_sdk.frameworks) Accelerate Cocoa WebKit CoreServices CoreAudioKit IOBluetooth;
};
to
bespokesynth = darwin.apple_sdk_11_0.callPackage ../applications/audio/bespokesynth {
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit CoreServices CoreAudioKit IOBluetooth MetalKit;
};
65662c2
to
10a42da
Compare
@OPNA2608 does this do it? |
I can confirm that it works for what I tested on NixOs! (VST version etc), good for me if it also works on MacOs! |
Quick question, I'm going to try to keep this up-to-date as much as possible. I don't want you all to hate me because I'm creating/updating PR's every time there's a new bespoke nightly. Should I try to limit PR's to one per week or something? How should we handle this? For reference, bespoke nightly comes out about one per commit usually. This can as often as anywhere from one every two weeks or (especially recently), one or more per day. I always run the latest version with |
@PowerUser64 Well, I am not sure if nixpkgs is well suited for nightly versions (but great to see that this project is getting much attention). Since the review process can be quite long and energy consuming (we need to test across several systems like MacOs to be sure there is no breakage, find a nix maintainer to merge it, wait for hydra to build it etc…) I would say that adding one release per day, or even one per month for a basic software is too much. Every 3 months is maybe more reasonable, unless a really important bug/security issue is fixed (but you might ask for confirmation to more experienced users, e.g. in matrix or discourse). If you want to deal with nightly build, I would rather advice you create your own repository (It is what people are doing for instance emacs) and to integrate it into NUR. You might want to use something like cachix if you want others to be able to use you pre-built binaries. |
f4cbfe6
to
fe122d3
Compare
Great thanks, looks good to me! |
Good to know. I'll try and limit updates to about one per 3 months, or when an official version number release comes out. There's supposedly going to be a major version update in the next few weeks, so I will probably do one then, and then who knows when the next official update will be. |
v1.2.0 has just released :) |
Woohoo! New commit coming in hot! |
fe122d3
to
bda87f7
Compare
bda87f7
to
179c1e2
Compare
179c1e2
to
7712551
Compare
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.
Any progress here ? |
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.
Ah sorry, seems I didn't review this too well…
In addition to the suggestion, can you make the commit title follow the commit conventions? It should be:
bespokesynth: 1.1.0 -> 1.2.0
…if you still only want to bump to the next stable version, instead of an unstable commit.
Once it LGTM this time, I'll try to find someone with merge permissions to get this in.
rev = "71134ce432dd15ae773cd49ac7c6e436d37e8a46"; | ||
hash = "sha256-pEifqbzJYI0EnGRQL0a0hzNkUw4+ZE6mrMGUVngzTZY="; |
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 didn't pick up on the fact that when you force-pushed from bda87f7beedf33ce00bad49ad34025ccea373c02 to 179c1e2b601448d2a14f72218b8b17a0046cc5b8 , you went back to using an unstable commit without marking the version
as such.
BespokeSynth/BespokeSynth@71134ce != https://github.com/BespokeSynth/BespokeSynth/releases/tag/v1.2.0 .
If this is still supposed to be version = "1.2.0"
then please revert the rev
line to the format that was used before and change hash
to what the actual hash of that version is:
rev = "71134ce432dd15ae773cd49ac7c6e436d37e8a46"; | |
hash = "sha256-pEifqbzJYI0EnGRQL0a0hzNkUw4+ZE6mrMGUVngzTZY="; | |
rev = "v${version}"; | |
hash = "sha256-baBZBRK8xbtnj/MJaTA036exLjvvucfrsk/Ue5oiG7c="; |
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.
Sorry, I should have left a comment saying I did so. I updated to the latest commit because I learned the stable version had broken jedi functionality (python autocomplete) on MacOS. Since I don't know how long it was going to be until the next release (or opportunity to update this package), I went ahead and updated to the latest commit (which fixed this). I skipped updating the version number because I saw it as basically being a hotfix to v1.2.0, but I should probably mark it as unstable. Should I mark it as v1.2.0-unstable
or would the date of the commit be better?
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 seems like most of the packages opted for v1.2.0+unstable=2023-07-20
. I found 22 packages with this pattern, and it seems to be the version that complies the most with semantic versioning and its buildmetadata (otherwise, a dash indicates a pre-release, so happening before 1.2):
pkgs/tools/misc/tty-clock/default.nix
5: version = "2.3+unstable=2021-04-07";
pkgs/tools/misc/dialogbox/default.nix
11: version = "1.0+unstable=2020-11-16";
pkgs/applications/emulators/bsnes/higan/default.nix
25: version = "115+unstable=2021-08-18";
pkgs/applications/emulators/emu2/default.nix
8: version = "0.pre+unstable=2021-09-22";
pkgs/applications/graphics/gimp/plugins/default.nix
225: version = "2.2+unstable=2021-12-03";
pkgs/applications/graphics/inkscape/extensions/applytransforms/default.nix
9: version = "0.pre+unstable=2021-05-11";
pkgs/applications/terminal-emulators/st/siduck76-st.nix
15: version = "0.pre+unstable=2021-08-20";
pkgs/applications/terminal-emulators/st/lukesmithxyz-st/default.nix
15: version = "0.pre+unstable=2021-08-10";
…
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 learned the stable version had broken jedi functionality (python autocomplete) on MacOS
If it's easy to figure out which commits fixed this, then you could pull them in and apply them onto 1.2.0:
patches = [
# Fixes jedi functionality on Darwin
# Remove when version > 1.2.0
(fetchpatch {
url = "https://github.com/BespokeSynth/bespokesynth/commit/whatevercommitfixesthis.patch";
hash = "sha256-whateverhashisneededhere=";
})
];
I skipped updating the version number because I saw it as basically being a hotfix to v1.2.0, but I should probably mark it as unstable
Unless it's an actual release with a tag (or in some other form actually treated by upstream as a release, with or without tag), it should be treated as an unstable commit instead of a release. For pulling in a fix into a release, see above.
Should I mark it as
v1.2.0-unstable
or would the date of the commit be better?
The above would be preferable IMO. If you want to ditch the applying-patches way, then back to what the manual says unstable versions should use: unstable-<YYYY-MM-DD of commit>
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 seems like most of the packages opted for
v1.2.0+unstable=2023-07-20
This versioning pattern is from a not-yet-accepted RFC, dates used in your examples are from ~ when the RFC was first opened. And AFAICT they don't align with the format the RFC currently suggests to use: 3.0:date=2008-12-04
.
I'd prefer to wait until any consensus is reached on that RFC & it gets accepted before using its pattern, as right now it conflicts with what the manual has to say on this.
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.
Okay! When I get the chance, I'll update the version to unstable-2023-08-17
and the commit hash to c6b141
(slightly behind main
). I think that's a good stable stopping place because most things added after it are features.
Does this sound good?
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'll also ask awwbees about making that into v1.2.1
, as I think that would be a good place for a new version.
7712551
to
902d534
Compare
Okay, I've changed the version to |
902d534
to
dac2bcf
Compare
Co-authored-by: Christoph Neidahl <[email protected]> Co-authored-by: Tobias Bora <[email protected]>
dac2bcf
to
bc42935
Compare
Realized I forgot to update the commit message - just did it.
|
What can I do to help get this merged? |
You can drop a message on https://discourse.nixos.org/t/prs-already-reviewed/2617/726 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/1088 |
Description of changes
The developer of bespoke synth unfortunately doesn't have much time to devote to creating version number releases for the project, so the current "stable" release has gone untouched for quite some time. Currently, the latest commit/nightly release is far more stable and featureful than the current stable release. This PR updates the BespokeSynth package to the latest commit.
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/
)