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

Cache invalidation when .perltidyrc changes #49

Open
szabgab opened this issue Dec 8, 2015 · 1 comment
Open

Cache invalidation when .perltidyrc changes #49

szabgab opened this issue Dec 8, 2015 · 1 comment

Comments

@szabgab
Copy link

szabgab commented Dec 8, 2015

If we change the .perltidyrc file we need to invalidate the cache in .tidyall.d/ It can be done manually by running tidyall -a --refresh-cache but how can we communicate this to the other developers and to our CI environment?
In our CI environment we use a cloned repository and thus it has a cache of its own. After we make a change to .perltidyrc we start to get failure reports from the tidyall_ok() call as it does not notice that it should rebuild the cache.

I think tidyall should automatically invalidate the whole cache if the .perltidyrc configuration file is newer than the cached files.

I wonder if there is an option for that or if there is some other solution to this issue?

@autarch
Copy link
Member

autarch commented Mar 13, 2016

Sorry I didn't respond earlier. There's no way to do this right now but this should definitely be fixed. There's also #44 which is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants