Files
flipper/packer
dependabot[bot] 2a3491442b Bump sha2 from 0.10.1 to 0.10.2 in /packer (#3460)
Summary:
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.1 to 0.10.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="1cdbd5363f"><code>1cdbd53</code></a> Update changelogs and html_root_urls (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/364">https://github.com/facebook/flipper/issues/364</a>)</li>
<li><a href="e1a8e86938"><code>e1a8e86</code></a> Fix and test min versions build (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/363">https://github.com/facebook/flipper/issues/363</a>)</li>
<li><a href="9d2a53cc79"><code>9d2a53c</code></a> Use common CI patterns (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/362">https://github.com/facebook/flipper/issues/362</a>)</li>
<li><a href="fae1866643"><code>fae1866</code></a> Fix README typos (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/359">https://github.com/facebook/flipper/issues/359</a>)</li>
<li><a href="08c995c316"><code>08c995c</code></a> Reduce amount of unsafe and use new imports (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/351">https://github.com/facebook/flipper/issues/351</a>)</li>
<li><a href="5c108dacf2"><code>5c108da</code></a> Fix md5 link in readme (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/358">https://github.com/facebook/flipper/issues/358</a>)</li>
<li><a href="32029ac146"><code>32029ac</code></a> sha1: switch name from sha-1 to sha1 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/350">https://github.com/facebook/flipper/issues/350</a>)</li>
<li><a href="b13d7726f3"><code>b13d772</code></a> blake2: fix KeySize (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/349">https://github.com/facebook/flipper/issues/349</a>)</li>
<li><a href="4e5ca4cc55"><code>4e5ca4c</code></a> Add required 'static lifetime bound (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/347">https://github.com/facebook/flipper/issues/347</a>)</li>
<li>See full diff in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.10.1...sha2-v0.10.2">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.1&new-version=0.10.2)](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/3460

Reviewed By: mweststrate

Differential Revision: D34650068

Pulled By: passy

fbshipit-source-id: 83016ea681dab5445e5a439049d3ace8f6b7e9dd
2022-03-08 03:03:45 -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