-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add support for submodules and release artifacts #46
Conversation
df15bd1
to
3ffe4ee
Compare
I missed this, I'll give it a try some time this week. |
Tested it out in fufexan/nix-gaming@0bdbef6 this morning and it seems to work!
It's been a very long week 😅 |
82e52dc
to
0202964
Compare
@piegamesde is there any work left to do on this PR? I am willing to contribute to get this merged sooner. |
@fufexan Work is done IIRC, but CI fails for some reason and I cannot reproduce it on my machine. Help appreciated. |
This comment was marked as duplicate.
This comment was marked as duplicate.
After a year of struggling with flaky CI and thanks to Andi's help, this is now finally ready! |
This will be required for testing submodules. Also added a couple more hash assertions to some tests.
This ensures that our assumption of GitHub serving all releases as tarballs is always upheld in our tests. We could instead manually specify commit hashes but that is cumbersome.
This adds an `eq` function and a `resolveGitCommit` function. Both come in handy when dealing with tests.
This gives us a better error messages when dealing with failed tests. Also changed the hardcoded commit ids to be resolve during runtime. These shouldn't bitrot.
If we don't do this we can't use the git cli on folders in the Nix store. It'll always barf at us.
cc5d008
to
e6d5507
Compare
@LunNova please give it a try, I did not manage to write tests for all of the bits
Closes #45
Also contains some refactorings and an implementation of #85