git-lint icon indicating copy to clipboard operation
git-lint copied to clipboard

Add flag to disable cache

Open sk- opened this issue 6 years ago • 3 comments

As reported by @w4-sjcho: I'd like to use git lint from CI server, where the build agent has no permissions to modify files under home dir.

It would be great to have an option to disable cache completely.

sk- avatar Oct 17 '18 13:10 sk-

@w4-sjcho out of curiosity, what CI server are you using?

sk- avatar Oct 17 '18 13:10 sk-

I'm using teamcity, where each agents run on docker containers under kubernetes.

We're currently working around the issue by making a separate launcher which overrides gitlint.utils.save_output_in_cache with a no-op function.

sjincho avatar Oct 18 '18 00:10 sjincho

This would be a handy feature indeed.

quiin avatar Dec 04 '18 20:12 quiin