-
Notifications
You must be signed in to change notification settings - Fork 2
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 Nix files and commit Cargo.lock
#118
Conversation
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!
I have a few comments:
- Why only "x86_64-linux"? Things should work fine on other architectures.
- We should expose the Rust binaries provided by the crate (e.g. simple_https_{server,client})
- We should also run
hax-driver.py extract-proverif
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.
When committing the log file you need to update the CI here to update dependencies.
@franziskuskiefer this would be a very weird CI workflow, where the lockfile is completely decorrelated from what is actually tested. |
I don't see anything weird. |
Having the lockfile completely ignored by CI, and thus the CI not giving information about the current build status of the repository is at the very least counter-intuitive.
The workflow we propose is to run tests with the locked dependencies, so as to ensure the same set of dependencies is used by developers, users and the CI, and to update them periodically with a separate workflow (dependabot, which is already configured on this repository). |
dependabot will automatically open PRs to update outdated dependencies |
No one said that it should be ignored. But you must test both cases, using the lock file, and not using it.
This is not the case. Cargo doesn't use the lock file in many cases. That's also why we need to test with the toml, as that's the source of truth. |
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, LGTM!
Looks like there is a linting issue, somehow 👀
Can you rebase your PR with #119? I pushed a fix there
@W95Psp done! |
I was just thinking, we should discuss committing |
I see no point in not commiting flake.lock, of we don't commit flake.lock, we should drop the nix expressions all together. |
No description provided.