hashar added a comment.

  I remember about that T403266 <https://phabricator.wikimedia.org/T403266> I 
assumed it was simply that the builds were serialized.
  
  I know nothing about pre-commit but their doc at 
https://pre-commit.com/#managing-ci-caches states:
  
  > **Managing CI Caches**
  >
  > `pre-commit` by default places its repository store in 
`~/.cache/pre-commit` -- this can be configured in two ways:
  >
  > PRE_COMMIT_HOME: if set, pre-commit will use that location instead.
  > XDG_CACHE_HOME: if set, pre-commit will use $XDG_CACHE_HOME/pre-commit 
following the XDG Base Directory Specification.
  
  And since the CI image set `XDG_CACHE_HOME` it writes cache there and they 
end up accumulating.
  
  The question is why there were so many repoXXXXX entries there.
  
  At https://pre-commit.com/#pre-commit-gc there is:
  
  > pre-commit gc [options]
  >
  > Clean unused cached repos.
  >
  > `pre-commit` keeps a cache of installed hook repositories which grows over 
time. This command can be run periodically to clean out unused repos from the 
cache directory.
  
  Maybe that is the command that should be run after the lint?

TASK DETAIL
  https://phabricator.wikimedia.org/T422242

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to