Files
flipper/packer
dependabot[bot] fea717214a Bump anyhow from 1.0.45 to 1.0.47 in /packer (#3074)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.45 to 1.0.47.
<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.46</h2>
<ul>
<li>
<p>Support for implicit format args to match println and other std macros (<a href="https://rust-lang.github.io/rfcs/2795-format-args-implicit-identifiers.html">https://rust-lang.github.io/rfcs/2795-format-args-implicit-identifiers.html</a>)</p>
<pre lang="rust"><code>let var = ...;
let error = anyhow!(&quot;interpolate {var}&quot;);  // equivalent to anyhow!(&quot;interpolate {var}&quot;, var=var)
</code></pre>
</li>
<li>
<p>Detect missing fmt arguments at compile time: <code>anyhow!(&quot;{} not found&quot;)</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/55">https://github.com/facebook/flipper/issues/55</a>)</p>
</li>
<li>
<p>Reduce occurrence of &quot;future cannot be shared between threads safely&quot; in async code using anyhow macros (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/186">https://github.com/facebook/flipper/issues/186</a>)</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3a183b9113"><code>3a183b9</code></a> Release 1.0.47</li>
<li><a href="d901973cfd"><code>d901973</code></a> Add workaround for the bail msg from log4rs crate</li>
<li><a href="f99b7994db"><code>f99b799</code></a> Install newest build of cargo-outdated</li>
<li><a href="f75fe39d31"><code>f75fe39</code></a> Release 1.0.46</li>
<li><a href="a32c1d1a62"><code>a32c1d1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/187">https://github.com/facebook/flipper/issues/187</a> from dtolnay/temporaries</li>
<li><a href="38591a940b"><code>38591a9</code></a> Drop temporaries as early as possible in $:expr case</li>
<li><a href="45f654536b"><code>45f6545</code></a> Add regression test of issue 186</li>
<li><a href="fb3e4b7860"><code>fb3e4b7</code></a> Ignore needless_pass_by_value Clippy pedantic lint in test suite</li>
<li><a href="636bed6961"><code>636bed6</code></a> Ignore items_after_statements Clippy pedantic lint in test suite</li>
<li><a href="a7f6089bc8"><code>a7f6089</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/185">https://github.com/facebook/flipper/issues/185</a> from dtolnay/fmt</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.45...1.0.47">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.45&new-version=1.0.47)](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/3074

Reviewed By: lblasa

Differential Revision: D32674339

Pulled By: passy

fbshipit-source-id: 518b78ef65a605edc62b00c30a132a099892d714
2021-11-26 04:00:01 -08:00
..
2021-03-23 13:28:14 -07:00
2020-05-01 04:04:48 -07:00
2021-03-23 13:28:14 -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