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

Ignore timestamps #1

Open
perigoso opened this issue Nov 24, 2021 · 3 comments
Open

Ignore timestamps #1

perigoso opened this issue Nov 24, 2021 · 3 comments

Comments

@perigoso
Copy link
Member

perigoso commented Nov 24, 2021

Footprints contain a timestamp field, kicad uses this to keep track of modifications, this is not relevant for a versioned library, we want to set it to 0 for cleanness, a check and a pre-commit might be something we want to implement later.

For now this is a regex to find and replace said timestamps.
's/tstamp [a-zA-z0-9-]{36}/tstamp 00000000-0000-0000-0000-000000000000/g;t;d'

@FFY00
Copy link
Member

FFY00 commented Nov 24, 2021

SInce we are automating it, we might as well set it to the date of the last commit.

@perigoso
Copy link
Member Author

perigoso commented Nov 24, 2021

hm, not a bad idea, but that would lead to a lot of changes every commit, perhaps at release with the release script, also not sure exactly how the timestamp is computed, is it even is just a timestamp

@perigoso
Copy link
Member Author

Someone mentioned that the tstamp field might not be mandatory, we can test that

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

2 participants