Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Latest commit

 

History

History
52 lines (34 loc) · 1.85 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.85 KB

Artefacta - Manage artefact downloads and patched upgrades

artefacta, Latin, "the artefacts"

This is a small tool used to package/upload/download/extract software builds.

Concepts and Features

  • All commands operate on an index which is built by listing current builds.
  • Builds are stored in both a local and remote store.
  • Supports creating and using binary patches using bidiff
  • Builds and patches are mirrored locally
  • Builds and patches are compressed using zstd

Usage

Run artefacta [command] --help to discover CLI options.

Environment variables

  • ARTEFACTA_LOCAL_STORE: Path to local store (on file system)
  • ARTEFACTA_REMOTE_STORE: Path to remote store (on file system or S3)
  • AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY: Used for authorizing S3 requests
  • ARTEFACTA_COMPRESSION_LEVEL: Overwrite default compression level used when packaging builds
  • RUST_LOG: Enable logging beyond what --verbose can do. See the env_logger docs for details on the syntax.

Notes

  • Locally, a current symlink points at the currently used version (which might or might not be latest one).
  • S3 URIs should be formatted like s3://my-bucket.ams3.digitaloceanspaces.com/test

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.