Summary: Bumps [clap](https://github.com/clap-rs/clap) from 3.2.25 to 4.4.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.4.5</h2> <h2>[4.4.5] - 2023-09-25</h2> <h3>Fixes</h3> <ul> <li><em>(parser)</em> When inferring subcommand <code>name</code> or <code>long_flag</code>, allow ambiguous-looking matches that unambiguously map back to the same command</li> <li><em>(parser)</em> When inferring subcommand <code>long_flag</code>, don't panic</li> <li><em>(assert)</em> Clarify what action is causing a positional that doesn't set values which is especially useful for derive users</li> </ul> <h2>v4.4.4</h2> <h2>[4.4.4] - 2023-09-18</h2> <h3>Internal</h3> <ul> <li>Update <code>terminal_size</code> to 0.3</li> </ul> <h2>v4.4.3</h2> <h2>[4.4.3] - 2023-09-12</h2> <h3>Documentation</h3> <ul> <li><em>(derive)</em> Clarify use of attributes within the tutorial</li> <li>Split sections in the builder and derive tutorials into separate modules</li> </ul> <h2>v4.4.2</h2> <h2>[4.4.2] - 2023-08-31</h2> <h3>Performance</h3> <ul> <li>Improve build times by removing <code>once_cell</code> dependency</li> </ul> <h2>v4.4.1</h2> <h2>[4.4.1] - 2023-08-28</h2> <h3>Features</h3> <ul> <li>Stabilize <code>Command::styles</code></li> </ul> <h2>v4.3.24</h2> <h2>[4.3.24] - 2023-08-23</h2> <h3>Fixes</h3> <ul> <li>Ensure column padding is preserved in <code>--help</code> with custom templates</li> </ul> <h2>v4.3.23</h2> <h2>[4.3.23] - 2023-08-18</h2> <h3>Fixes</h3> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.4.5] - 2023-09-25</h2> <h3>Fixes</h3> <ul> <li><em>(parser)</em> When inferring subcommand <code>name</code> or <code>long_flag</code>, allow ambiguous-looking matches that unambiguously map back to the same command</li> <li><em>(parser)</em> When inferring subcommand <code>long_flag</code>, don't panic</li> <li><em>(assert)</em> Clarify what action is causing a positional that doesn't set values which is especially useful for derive users</li> </ul> <h2>[4.4.4] - 2023-09-18</h2> <h3>Internal</h3> <ul> <li>Update <code>terminal_size</code> to 0.3</li> </ul> <h2>[4.4.3] - 2023-09-12</h2> <h3>Documentation</h3> <ul> <li><em>(derive)</em> Clarify use of attributes within the tutorial</li> <li>Split sections in the builder and derive tutorials into separate modules</li> </ul> <h2>[4.4.2] - 2023-08-31</h2> <h3>Performance</h3> <ul> <li>Improve build times by removing <code>once_cell</code> dependency</li> </ul> <h2>[4.4.1] - 2023-08-28</h2> <h3>Features</h3> <ul> <li>Stabilize <code>Command::styles</code></li> </ul> <h2>[4.4.0] - 2023-08-24</h2> <h3>Compatibility</h3> <ul> <li>Update MSRV to 1.70.0</li> </ul> <h2>[4.3.24] - 2023-08-23</h2> <h3>Fixes</h3> <ul> <li>Ensure column padding is preserved in <code>--help</code> with custom templates</li> </ul> <h2>[4.3.23] - 2023-08-18</h2> <h3>Fixes</h3> <ul> <li>Fixed <code>UnknownArgumentValueParser</code> to not error on flag's absence</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="c298f6a52c"><code>c298f6a</code></a> chore: Release</li> <li><a href="463d6c52af"><code>463d6c5</code></a> docs: Update changelog</li> <li><a href="3ac44040ef"><code>3ac4404</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5025">https://github.com/facebook/flipper/issues/5025</a> from SUPERCILEX/resolve-alias-conflicts</li> <li><a href="a76789eb8b"><code>a76789e</code></a> fix: Make long subcommand flag inference consistent</li> <li><a href="c2b8ec3bd3"><code>c2b8ec3</code></a> fix: Resolve conflicting name inference if from aliases</li> <li><a href="e5c6993cca"><code>e5c6993</code></a> test: Long flags inference</li> <li><a href="0d9b14fa6e"><code>0d9b14f</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5136">https://github.com/facebook/flipper/issues/5136</a> from epage/panic</li> <li><a href="221177b9cb"><code>221177b</code></a> fix(assert): Call out the action in positional assert</li> <li><a href="cb2d2bcf07"><code>cb2d2bc</code></a> chore: Update from '_rust/main'</li> <li><a href="4173c8f476"><code>4173c8f</code></a> chore(ci): Don't set patch for MSRV</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.2.25...v4.4.5">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `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/5180 Reviewed By: lawrencelomax Differential Revision: D49772851 Pulled By: passy fbshipit-source-id: 9d09d9660dfac85a5246817e412eba164c34f81d
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