Files
flipper/packer
dependabot[bot] 8118eee4ab Bump indicatif from 0.17.4 to 0.17.5 in /packer (#4796)
Summary:
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.4 to 0.17.5.
<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.5</h2>
<p>Another smaller release. Fixes a regression from 0.17.4 and should drastically improve ETA and speed estimation thanks to great work by <a href="https://github.com/afontenot"><code>@​afontenot</code></a> in <a href="https://redirect.github.com/console-rs/indicatif/issues/539">https://github.com/facebook/flipper/issues/539</a>.</p>
<ul>
<li>Switch Estimator to use an exponential weighting (<a href="https://redirect.github.com/console-rs/indicatif/issues/539">https://github.com/facebook/flipper/issues/539</a>, thanks to <a href="https://github.com/afontenot"><code>@​afontenot</code></a>)</li>
<li>Fix subtract with overflow when measuring terminal line length (<a href="https://redirect.github.com/console-rs/indicatif/issues/547">https://github.com/facebook/flipper/issues/547</a>, thanks to <a href="https://github.com/foresterre"><code>@​foresterre</code></a>)</li>
<li>Add builder-like <code>with_finish</code> method to <code>ProgressBarIter</code> (<a href="https://redirect.github.com/console-rs/indicatif/issues/548">https://github.com/facebook/flipper/issues/548</a>, thanks to <a href="https://github.com/matthewhchan"><code>@​matthewhchan</code></a>)</li>
</ul>
<p>On behalf of <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="4ffc40e19a"><code>4ffc40e</code></a> bump version to 0.17.5</li>
<li><a href="011c998820"><code>011c998</code></a> Switch Estimator to use an double exponential time-based weighting</li>
<li><a href="2845b7f7bd"><code>2845b7f</code></a> Refactor estimator's prev tuple into separate elements</li>
<li><a href="36d11e8a54"><code>36d11e8</code></a> refactor estimator to use steps/sec instead of secs/step</li>
<li><a href="f88ec3ba07"><code>f88ec3b</code></a> Fix subtract with overflow when measuring terminal line length</li>
<li><a href="bd320a1c11"><code>bd320a1</code></a> Add builder-like <code>with_finish</code> method to <code>ProgressBarIter</code>. (<a href="https://redirect.github.com/console-rs/indicatif/issues/548">https://github.com/facebook/flipper/issues/548</a>)</li>
<li><a href="a81fd6c9c1"><code>a81fd6c</code></a> tests: suppress clippy redundant clone check in test code</li>
<li>See full diff in <a href="https://github.com/console-rs/indicatif/compare/0.17.4...0.17.5">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.4&new-version=0.17.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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>
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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

Reviewed By: aigoncharov

Differential Revision: D47756391

Pulled By: passy

fbshipit-source-id: 79f7773190ed279a74a5f232f939791f9ae748d6
2023-07-25 09:33:23 -07:00
..
2023-05-25 10:13:23 -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