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
crystal: refactor and add 0.35.1 #103987
crystal: refactor and add 0.35.1 #103987
Conversation
23e0b7f
to
484f7eb
Compare
Supersedes #90038 |
484f7eb
to
de40ad6
Compare
This is great! How about |
Hi @peterhoeg, sure, will take a look. Though, from that PR seems like there is interest on keeping multiple versions or should I just upgrade it to the latest one? |
We need multiple shards versions ref the 0.11 changelog:
Hopefully crystal gets to v1.0 before 21.03 so we can start dropping the old versions. |
Hi @peterhoeg, split is done. I think we could also remove crystal-0.32 if scry builds and works on 0.33. (However from their commit log it seems it isn't compatible with 0.34 until next release) I am currently building shards but since I don't have my previous builds of crystal (0.32-0.34) it will take a while. unu |
5cca243
to
cecb03a
Compare
The GrandPlan(tm) was to keep the latest version of crystal that made it into a supported NixOS version around in unstable. That's 0.32 for 20.03 and 0.34 for 20.09. 20.03 will soon no longer be actively maintained and we can drop < 0.34 |
Ah ok, will fixup the commits to keep previous versions, though I dont mind backporting this to 20.09 as a commit that keeps previous versions there. |
cecb03a
to
4578d90
Compare
Everything fixuped to keep crystal-0.32.0 and shards-0.11.0. |
4578d90
to
f0cc2f6
Compare
@GrahamcOfBorg build crystal_0_34 shards_0_11 |
Very nice work @fabianhauser Is there a particular reason for doing both shards 0.11 and 0.11.1? |
Not really, should I drop the 0.11 in favor of 0.11.1? |
Yes, please drop the It's just added maintenance otherwise. |
f0cc2f6
to
a16775c
Compare
Ok pushed |
Thank you @fabianhjr ! |
Motivation for this change
crystal is currently marked as broken, this is an attempt to fix it and bring it
up to date.
renabled tests by changing from
spec
tospec_compiler
(only compiler tests)which now pass:
Things done
Changes:
Removed tests
spec_stdlib
(keptspec_compiler
)Add 0.35.1
Slit shards versions to bring 0.11.1 and 0.12.0
Tested using sandboxing (nix.useSandbox on NixOS, or option
sandbox
innix.conf
on non-NixOS linux)Built on platform(s)
Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
Tested compilation of all pkgs that depend on this change using
nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
Tested execution of all binary files (usually in
./result/bin/
)Determined the impact on package closure size (by running
nix path-info -S
before and after)Ensured that relevant documentation is up to date
Fits CONTRIBUTING.md.