Files
flipper/packer
dependabot[bot] 3c6bed9ce8 Bump sha2 from 0.10.0 to 0.10.1 in /packer (#3249)
Summary:
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.0 to 0.10.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4c1d9dab61"><code>4c1d9da</code></a> sha2: fix AVX backend (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/345">https://github.com/facebook/flipper/issues/345</a>)</li>
<li><a href="c478cbb4fc"><code>c478cbb</code></a> blake2: release v0.10.1 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/343">https://github.com/facebook/flipper/issues/343</a>)</li>
<li><a href="b505bbaad5"><code>b505bba</code></a> blake2: fix reset feature and test in ci (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/342">https://github.com/facebook/flipper/issues/342</a>)</li>
<li><a href="162f73ecc6"><code>162f73e</code></a> tiger: fix v0.2.0 release date in changelog</li>
<li><a href="e479909e28"><code>e479909</code></a> Add cross tests (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/339">https://github.com/facebook/flipper/issues/339</a>)</li>
<li><a href="cbd684927c"><code>cbd6849</code></a> Sha3 refactor unsafe (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/338">https://github.com/facebook/flipper/issues/338</a>)</li>
<li><a href="894f62f51c"><code>894f62f</code></a> build(deps): bump digest from 0.10.0 to 0.10.1 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/337">https://github.com/facebook/flipper/issues/337</a>)</li>
<li><a href="c58f88ac88"><code>c58f88a</code></a> README: Fix chained example wrt digest v0.10 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/336">https://github.com/facebook/flipper/issues/336</a>)</li>
<li><a href="e1c22400c7"><code>e1c2240</code></a> blake2: expand changelog (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/331">https://github.com/facebook/flipper/issues/331</a>)</li>
<li><a href="68e7adffdd"><code>68e7adf</code></a> remove .gitattributes</li>
<li>See full diff in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.10.0...sha2-v0.10.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.10.0&new-version=0.10.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/3249

Reviewed By: aigoncharov

Differential Revision: D33569823

Pulled By: passy

fbshipit-source-id: a98db0b174c0d5dcaeb21a521f6ac9d0e4a28ecc
2022-01-14 03:48:48 -08:00
..
2020-05-01 04:04:48 -07:00
2021-03-23 13:28:14 -07:00

Flipper Packer

A tool for splitting a Flipper build into smaller artifacts that can be distributed and cached separately.

N.B. Buck build files are not included in the open-source export of this tool.

Building

With cargo:

$ cargo build

With Buck:

$ buck build :packer

Testing

With cargo:

$ cargo test

With Buck:

$ buck test :packer

Usage

See help page:

$ cargo run -- --help
flipper-packer 0.3.0
Facebook, Inc.
Split the Flipper distribution into smaller, cacheable artifacts

USAGE:
    flipper-packer [FLAGS] [OPTIONS] <PLATFORM>

FLAGS:
    -h, --help              Prints help information
        --no-compression    Skip compressing the archives (for debugging)
    -p, --packlist          Custom list of files to pack.
    -V, --version           Prints version information

OPTIONS:
    -d, --dist <DIRECTORY>      Flipper dist directory to read from. [default: ~/fbsource/xplat/sonar/dist]
    -o, --output <DIRECTORY>    Directory to write output files to. [default: .]

ARGS:
    <PLATFORM>    Platform to build for [possible values: Mac, Linux, Windows]

Buck:

$ buck run :packer