Files
flipper/packer
dependabot[bot] ab62cfa5da Bump indicatif from 0.17.3 to 0.17.4 in /packer (#4778)
Summary:
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.3 to 0.17.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/console-rs/indicatif/releases">indicatif's releases</a>.</em></p>
<blockquote>
<h2>0.17.4</h2>
<p>Another small bugfix release.</p>
<ul>
<li>Handle newline in msg and empty msg (<a href="https://redirect.github.com/console-rs/indicatif/issues/540">https://github.com/facebook/flipper/issues/540</a>, thanks to <a href="https://github.com/RDruon"><code>@​RDruon</code></a>)</li>
<li>Handle terminal line wrap to avoid new line (<a href="https://redirect.github.com/console-rs/indicatif/issues/533">https://github.com/facebook/flipper/issues/533</a>, thanks to <a href="https://github.com/RDruon"><code>@​RDruon</code></a>)</li>
<li>Resetting the elapsed time also resets ETA (<a href="https://redirect.github.com/console-rs/indicatif/issues/538">https://github.com/facebook/flipper/issues/538</a>, thanks to <a href="https://github.com/afontenot"><code>@​afontenot</code></a>)</li>
<li>Mention the prefix and message placeholders in the <code>with_</code> docs (<a href="https://redirect.github.com/console-rs/indicatif/issues/529">https://github.com/facebook/flipper/issues/529</a>, thanks to <a href="https://github.com/lnicola"><code>@​lnicola</code></a>)</li>
<li>Allow rate-limiting <code>TermLike</code> targets (<a href="https://redirect.github.com/console-rs/indicatif/issues/526">https://github.com/facebook/flipper/issues/526</a>, thanks to <a href="https://github.com/akx"><code>@​akx</code></a>)</li>
<li>Fix docs for <code>ProgressDrawTarget</code> (<a href="https://redirect.github.com/console-rs/indicatif/issues/523">https://github.com/facebook/flipper/issues/523</a>, thanks to <a href="https://github.com/tillarnold"><code>@​tillarnold</code></a>)</li>
<li>Change &quot;OS X&quot; to &quot;macOS&quot; (<a href="https://redirect.github.com/console-rs/indicatif/issues/519">https://github.com/facebook/flipper/issues/519</a>, thanks to <a href="https://github.com/atouchet"><code>@​atouchet</code></a>)</li>
<li>Fix <code>MultiProgress</code> alignment handling and migrate from structopt =&gt; clap (<a href="https://redirect.github.com/console-rs/indicatif/issues/516">https://github.com/facebook/flipper/issues/516</a>)</li>
<li>Don't deadlock when double-adding ProgressBar (<a href="https://redirect.github.com/console-rs/indicatif/issues/515">https://github.com/facebook/flipper/issues/515</a>)</li>
<li>Use <code>instant::Instant</code> when compiling to WASM (<a href="https://redirect.github.com/console-rs/indicatif/issues/514">https://github.com/facebook/flipper/issues/514</a>, thanks to <a href="https://github.com/azriel91"><code>@​azriel91</code></a>)</li>
<li>Update portable-atomic requirement from 0.3.15 to 1.0.0 (<a href="https://redirect.github.com/console-rs/indicatif/issues/512">https://github.com/facebook/flipper/issues/512</a>)</li>
<li>Add <code>contents_formatted()</code> method to `InMemoryTerm (<a href="https://redirect.github.com/console-rs/indicatif/issues/531">https://github.com/facebook/flipper/issues/531</a>, thanks to <a href="https://github.com/dfaust"><code>@​dfaust</code></a>)</li>
<li><code>inc()</code> after work in examples (<a href="https://redirect.github.com/console-rs/indicatif/issues/522">https://github.com/facebook/flipper/issues/522</a>, thanks to <a href="https://github.com/tatref"><code>@​tatref</code></a>)</li>
</ul>
<p>On behalf of the indicatif team (<a href="https://github.com/chris-laplante"><code>@​chris-laplante</code></a> and <a href="https://github.com/djc"><code>@​djc</code></a>), thanks to all contributors!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6cc3814f80"><code>6cc3814</code></a> Bump CI MSRV to 1.62.1 to resolve Cargo metadata for vte</li>
<li><a href="7c9465b75b"><code>7c9465b</code></a> Bump version to 0.17.4</li>
<li><a href="5dc966c309"><code>5dc966c</code></a> Bump clap dependency to 4</li>
<li><a href="577a34544a"><code>577a345</code></a> Only check library target against MSRV</li>
<li><a href="9deb9ebe52"><code>9deb9eb</code></a> Add <code>contents_formatted</code> to <code>InMemoryTerm</code></li>
<li><a href="e0494e48c2"><code>e0494e4</code></a> fix: inc after work</li>
<li><a href="59cd60674c"><code>59cd606</code></a> Handle newline in msg and empty msg</li>
<li><a href="6d31845d22"><code>6d31845</code></a> resetting the elapsed time also resets ETA</li>
<li><a href="3d5dbb394b"><code>3d5dbb3</code></a> Add render tests</li>
<li><a href="66a90a660c"><code>66a90a6</code></a> Handle MultiProgress println</li>
<li>Additional commits viewable in <a href="https://github.com/console-rs/indicatif/compare/0.17.3...0.17.4">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: antonk52

Differential Revision: D46355080

Pulled By: passy

fbshipit-source-id: 40a1217d45731b8ea10a532a556c2d51e458fe67
2023-06-01 10:35:15 -07:00
..
2023-05-25 10:13:23 -07:00
2020-05-01 04:04:48 -07:00
2023-05-24 07:34:12 -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