balena-cli/lib/utils
Lucian Buzzo 257dd514ed Improve directory scan speed prior to tarballing
This changes improves the speed that the project is tarballed by switching from
`klaw` to `recursive-fs` and not running `lstat` on files that are ignored.
Whilst testing with the Jellyfish repository, which contains a number of
sub directories, each with their own node_modules folder, I was able to
reduce the time taken to scan and tarball the project from 70s to 11s,
which is a massive improvement.

Change-type: patch
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
2021-11-26 13:55:41 +00:00
..
device Improve directory scan speed prior to tarballing 2021-11-26 13:55:41 +00:00
bootstrap.ts Improve UX for offline usage 2021-11-25 15:14:39 +00:00
cloud.ts os download: Display OS version actually downloaded (range or 'recommended') 2021-11-20 00:43:15 +00:00
common-args.ts Rename applications to fleets (stage 1). See: https://git.io/JRuZr 2021-08-09 12:12:03 +01:00
common-flags.ts config read/write/inject: Avoid need for internet access 2021-11-25 02:05:40 +00:00
compose_ts.ts deploy: Ensure the release fails if an image's digest (hash) is missing 2021-11-16 11:55:07 +00:00
compose-types.d.ts v13 preparations: Add feature switch for removal of '--gitignore' (push, build) 2021-09-08 18:10:22 +01:00
compose.js deploy: Ensure the release fails if an image's digest (hash) is missing 2021-11-16 11:55:07 +00:00
config.ts Stop creating an extra provisioning API key in each config generation 2021-11-25 16:40:53 +02:00
deploy-legacy.js Update dependencies (multibuild, dockerode, docker-toolbelt, docker-progress) 2021-05-07 00:32:15 +01:00
docker.ts build, deploy: Fix processing of '--tag' option 2021-09-10 23:11:20 +01:00
env-common.ts Rename applications to fleets (stage 1). See: https://git.io/JRuZr 2021-08-09 12:12:03 +01:00
eol-conversion.ts Remove remaining v12 switches 2020-12-08 11:00:36 +01:00
helpers.ts device move: Improve types & reduce the number of API requests 2021-09-07 11:43:35 +00:00
ignore.ts Improve directory scan speed prior to tarballing 2021-11-26 13:55:41 +00:00
lazy.ts chore: Update balena-lint 2021-07-20 18:02:16 +01:00
logger.ts build, deploy: Improve logging of image build messages 2021-09-23 16:37:45 +00:00
messages.ts Add support for releases 2021-09-28 14:28:43 +00:00
normalization.ts Add organizations support to app rename command 2020-12-10 13:57:42 +01:00
oclif-utils.ts Remove need for hardcoded list of command ids 2020-10-27 10:36:49 +01:00
patterns.ts Improve error handling (remove most occurrences of process.exit()) 2021-08-27 00:53:21 +01:00
pine.ts Add new command device restart 2020-09-18 12:39:53 +02:00
promote.ts Improve error handling (remove most occurrences of process.exit()) 2021-08-27 00:53:21 +01:00
proxy.ts Refactor initialization code (delete app-oclif.ts and app-common.ts) 2020-10-11 00:45:53 +01:00
qemu.ts build/deploy: Update QEMU to 6.0.0 for emulated builds 2021-09-10 13:32:12 +00:00
remote-build.ts Improve directory scan speed prior to tarballing 2021-11-26 13:55:41 +00:00
sdk.ts Improve id disambiguation for tag commands 2020-12-18 12:52:18 +01:00
ssh.ts chore: Remove 'umount' dependency (as advised by "npm audit") 2021-07-21 23:56:57 +01:00
streams.ts Switch from new Bluebird to native version 2020-06-30 23:59:17 +01:00
sudo.ts Update 'devDependencies' in package.json 2021-07-09 21:34:09 +01:00
tty.ts deploy: Ensure the release fails if an image's digest (hash) is missing 2021-11-16 11:55:07 +00:00
tunnel.ts tls: Use TLS for tunnel connection 2021-01-20 21:18:23 +00:00
umount.ts config write: Fix EBUSY error on macOS 2021-07-21 23:56:57 +01:00
update.ts Only notify of an update if the new version is actually newer 2020-04-30 12:55:39 +00:00
validation.ts Rename applications to fleets (stage 1). See: https://git.io/JRuZr 2021-08-09 12:12:03 +01:00
version.ts Remove remaining v12 switches 2020-12-08 11:00:36 +01:00
which.ts chore: Remove 'umount' dependency (as advised by "npm audit") 2021-07-21 23:56:57 +01:00