Files
flipper/packer
dependabot[bot] 529e555a82 Bump anyhow from 1.0.59 to 1.0.61 in /packer (#3997)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.59 to 1.0.61.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.61</h2>
<ul>
<li>Work around rust-analyzer builds poisoning all subsequent command-line cargo builds (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/252">https://github.com/facebook/flipper/issues/252</a>)</li>
</ul>
<h2>1.0.60</h2>
<ul>
<li>Propagate <code>--target</code> to rustc invocation when deciding about backtrace support (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/249">https://github.com/facebook/flipper/issues/249</a>, thanks <a href="https://github.com/RalfJung"><code>@​RalfJung</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d2c83e20a3"><code>d2c83e2</code></a> Release 1.0.61</li>
<li><a href="6e6af39e02"><code>6e6af39</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/252">https://github.com/facebook/flipper/issues/252</a> from dtolnay/rerun</li>
<li><a href="77317b50c8"><code>77317b5</code></a> Work around RA's RUSTC_WRAPPER poisoning all subsequent command-line builds</li>
<li><a href="e55761e27b"><code>e55761e</code></a> Disable backtrace test until converted to provider API</li>
<li><a href="08f801238a"><code>08f8012</code></a> Release 1.0.60</li>
<li><a href="29c72c589c"><code>29c72c5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/249">https://github.com/facebook/flipper/issues/249</a> from RalfJung/rustc-target</li>
<li><a href="da28e88245"><code>da28e88</code></a> fix RUSTC_WRAPPER env var</li>
<li><a href="822a4edbfd"><code>822a4ed</code></a> propagate --target to rustc invocation</li>
<li><a href="db32585e16"><code>db32585</code></a> Update keywords in crates.io metadata</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.59...1.0.61">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.59&new-version=1.0.61)](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/3997

Reviewed By: passy

Differential Revision: D38781357

Pulled By: mweststrate

fbshipit-source-id: 9b50ca894413c9943e9cfbc62e5bef3ae491ad94
2022-08-17 05:21:01 -07:00
..
2022-08-06 08:42:43 -07:00
2020-05-01 04:04:48 -07:00
2022-07-27 07:43:12 -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.4.0
Facebook, Inc.
Helper tool that breaks down a Flipper release into smaller artifacts.

USAGE:
    flipper-packer [OPTIONS] <PLATFORM>

ARGS:
    <PLATFORM>    Platform to build for

OPTIONS:
    -d, --dist <DIST>            Flipper dist directory to read from [default:
                                 ~/fbsource/xplat/sonar/dist]
    -h, --help                   Print help information
        --no-compression         Skip compressing the archives (for debugging)
    -o, --output <OUTPUT>        Directory to write output files to [default: .]
    -p, --packlist <PACKLIST>    Custom list of files to pack
    -V, --version                Print version information

Buck:

buck run :packer