-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add documentation for NAR spec in kaitai #14345
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
Conversation
8a1ad7d to
5ae653a
Compare
|
The last thing: can you mimick https://github.com/NixOS/nix/tree/master/src/json-schema-checks (grep for |
|
@Ericson2314 ... that took a little bit but i added the test suite as requested. :) |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/path-hasher-a-php-implementation-of-nix-s-nar-format/71222/2 |
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.
Minor nits
|
Sorry for the yak shaving requests but I would like for:
It's a lot of manual steps, but hopefully not too much waiting since don't need to wait for Hydra. |
Spoke over Matrix. I will do 1., 3. and 4. -- @Ericson2314 will help me with 2. as I'm inexperienced with backporting and don't have the permissions. |
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.
Thanks for dealing with my nits!
3ea9b34 to
17aef29
Compare
c4c11c4 to
6a1b5c5
Compare
|
Cleaned up the commit history. |
6a1b5c5 to
22b1c55
Compare
|
Why did the master branch merge queue fail with the pre-commit "relaxed" thing but the PR passed? |
|
I don't know. Trying it again. |
|
want to try again ? |
22b1c55 to
9a7496e
Compare
9a7496e to
0d5f8de
Compare
* Add a new flake check * Add unit tests * Add Kaitai spec * Updated documentation
0d5f8de to
53b4ea6
Compare
Motivation
Feedback from @roberth was to contribute the spec to the documentation.
The spec originates from https://github.com/fzakaria/nix-nar-kaitai-spec which includes some tests to validate that it's correct. It's not exhaustive but the tests consider enough cases to believe the spec is robust.
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.