Skip to content
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

make: Add msggen generated files to check-gen-updated target #5415

Merged
merged 3 commits into from
Jul 15, 2022

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Jul 12, 2022

This is a coutnerproposal to #5356 which uses the existing CI jobs and targets to check we committed all changes.

Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 024bfa1 but I admit that I'm not a big fun of mixing required stuff with not required one.

@cdecker
Copy link
Member Author

cdecker commented Jul 12, 2022

Oh my, sorry I managed to commit one of the files that I used for testing. Will remove that asap.

As for required and optional, in this case it doesn't really matter, either we have rust in which case we might regenerate and cause an error because we forgot, or we don't have rust in which case we won't regenerate and therefore can't cause an error.

@rustyrussell
Copy link
Contributor

rustyrussell commented Jul 13, 2022

Love the idea... it was supposed to fail on master, right?

Weird that there's a python diff in there though... hmm....?

Ack 024bfa1

@cdecker
Copy link
Member Author

cdecker commented Jul 13, 2022

Yep, I'll retire libhsmd_python as noone is using it, and add the latest version of the files before merging.

This has been replaced with better rust bindings that can then be
consumed via pyo3, consolidating the C interface in a portable
wrapper.

Changelog-Removed: libhsmd: Removed the `libhsmd_python` wrapper as it was unused
@cdecker
Copy link
Member Author

cdecker commented Jul 13, 2022

Removed libhsmd_python and now the test passes 👍

@niftynei
Copy link
Contributor

ACK 711f339

@adi2011 noticed that the all but 2 of the doc/*.7 files aren't checked into git, therefore check-gen-updated doesn't fail for them.

Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 711f339

noticed that the all but 2 of the doc/*.7 files aren't checked into git, therefore check-gen-updated doesn't fail for them.

imho this need to be done inside the docs CI because otherwise there is no possibility to run the CI is we are working in a rpc command update without changing the docs.

Changing rpc command it is not too frequent yes this is true!

@rustyrussell
Copy link
Contributor

We should not be checking in any generated files: should git rm those two as well!

@rustyrussell rustyrussell merged commit 50180e0 into ElementsProject:master Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants