* add support for single files output with glob
* fix mistake in README
* add tests to test the new features
* v3.0.0-alpha.0
* Update README.md from suggestion
Co-Authored-By: Benjamin Weggersen <bewegger@microsoft.com>
* fix dependencies
* use async for copying files so files could be copied in parallel
* await for files to be removed
* copy folder and files in parallel
* copy files and folders from cache in parallel
* fix cleaning output folder
* add missing dependency
* bump version to 3.0.0
* Revert "bump version to 3.0.0"
This reverts commit 34db1270ca.
* fix fetch scenario for when not all files in a folder are cached
* add missing await
Co-authored-by: Benjamin Weggersen <bewegger@microsoft.com>
Co-authored-by: Vincent Bailly <vibailly@tuta.io>
* Add option to validate output by hashing output folders after build/fetching
* Express hash/fetch/run/put commands for each backfill mode explicitly
* Remove `--generate-performance-report` which aggregated all logs in one folder (the problem should be solved elsewhere)
* Split logger code into two additional packages: logger-generic and logger-performance.
This PR adds a new hasher strategy that calculates the hash based on all dependencies, transitively. Previously, we assumed backfill would be run on every dependency in dependency order. backfill would not calculate the hash of a package's internal dependencies, instead, it would be looking for a hash file in the internal cache of each dependency created by backfill on a previous run. That assumption made it hard to incrementally introduce backfill into a repo. Also, it is hard to know if the hash file is up to date.