Commit Graph

16 Commits

Author SHA1 Message Date
Federico Pellegrin 1619c2f0fa wafcache: fix reporting of concurrent trim error
As this is run in the non-waf process we don't have Logs, so we
write to stderr instead or we will get a NameError name 'Logs' is
not defined.
2021-01-11 11:18:48 +01:00
Federico Pellegrin 5dbae3b012 wafcache: fix small typo on stats log message 2021-01-07 04:09:11 +01:00
Federico Pellegrin 08c2ca49e0 wafcache: add simple cache statistics collection, configurable via env 2020-12-24 04:20:38 +01:00
Thomas Nagy abfd2f6c76 Reduce wafcache verbosity on cleanup operations 2020-12-16 11:08:03 +01:00
Thomas Nagy 5cddf4b06c Conceal wafcache decoding errors in Python3 2020-12-16 11:07:55 +01:00
Thomas Nagy 7b25a04c97 Exclude wafcache symlink handling
- Exclude classes having folder or symlinks
- Exclude well-known Task classes from wafcache processing
- Remove stale 'waflib.Task.Task.chmod' processing
2020-12-09 08:24:03 +01:00
Thomas Nagy ce770a924a Improve the WAFCACHE_CMD description 2020-11-08 20:04:27 +01:00
Thomas Nagy 3083f83eb5 Improve WAFCACHE_CMD parameter handling 2020-11-03 22:41:37 +01:00
Federico Pellegrin 1322f448a6 wafcache: make the extra more configurable for cloud providers usage 2020-11-03 20:55:47 +00:00
Federico Pellegrin db81b7d508 wafcache: add support for MinIO/mc cache
Add support for MinIO object storage (https://min.io/) using the
MinIO client (https://github.com/minio/mc) to wafcache.

MinIO is an open-source, self-hostable, S3 compatible cache. The
MinIO client supports MinIO connections as well as normal S3/GCS
storages by configuring aliases beforehand.

Hint: some distributions have `mc` (the GNU Midnight Commander)
installed which is not the minio client, be aware of this (or your
build may get stuck with waf waiting for `mc` to never finish)
2020-11-02 07:14:50 +01:00
Thomas Nagy 1c1204a739 Improve wafcache process pre-allocation 2020-08-03 23:21:36 +02:00
Thomas Nagy 9da14a3356 Improve cache activity verbosity 2019-10-27 12:57:11 +01:00
Thomas Nagy bd5ae88e15
Push wafcache files synchronously for now 2019-10-23 19:52:26 +02:00
Thomas Nagy 4389e4400e
Add WAFCACHE_NO_PUSH to extras/wafcache 2019-09-01 09:31:07 +02:00
Thomas Nagy aece9b5e4b Enable wafcache remote servers 2019-08-25 22:31:12 +02:00
Thomas Nagy 0c0916ebdb
Add a new file-based waf cache implementation 2019-08-01 21:23:46 +02:00