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

Add --reproducible option to prevent generation of any volatile metadata #324

Open
Willmac16 opened this issue Jan 12, 2024 · 4 comments
Open
Assignees

Comments

@Willmac16
Copy link

Willmac16 commented Jan 12, 2024

Making this because I saw the TODO in the C++ template, and I want to have a place to ask questions while I work on this.

for the c++ template would the hidden fields just be:

  • Generator
  • Source file
  • Generated at
  • Platform

And all the static asserts would need their paths cleaned

@thirtytwobits
Copy link
Member

Reversing the logic here in my fix to --embed-auditing-info since it normally desirable to make code generation idempotent.

@thirtytwobits thirtytwobits self-assigned this Mar 7, 2024
thirtytwobits added a commit that referenced this issue Mar 8, 2024
Three things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. general cleanup based on linter feedback as I encountered it.
thirtytwobits added a commit that referenced this issue Mar 9, 2024
Three things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. general cleanup based on linter feedback as I encountered it.
thirtytwobits added a commit that referenced this issue Mar 9, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 11, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 11, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 12, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 12, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 12, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 12, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 13, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
thirtytwobits added a commit that referenced this issue Mar 13, 2024
Things in this PR
1. fix issue #324 to add `--embed-auditing-info` and to remove, by default, all ephemeral meta data from the built-in templates.
2. fix issue #318 by adding `pascal` to the reserved word list for C
3. fixup copyrights to be dateless (in library)
4. general cleanup based on linter feedback as I encountered it.
5. modernized pytest dependencies
6. updated pydsdl dependency to use the latest
7. updated development environment detils (e.g. newer toxic container,
   improvements to coverage configuration and cSpell, switch to pylint, etc.)
8.various documentation improvements and cleanup
@thirtytwobits thirtytwobits reopened this Mar 22, 2024
@aentinger
Copy link

Without going through all those commits now - is the NNVG build output reproducible now?

@thirtytwobits
Copy link
Member

It should/will be. I haven't had time to do the pypi release though. Wanted to get some burn in on my end before pulling that trigger and closing these bugs.

@aentinger
Copy link

Thank you for the clarification 🙇 .

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

No branches or pull requests

3 participants