Summary: Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.37 to 0.4.38. <details> <summary>Commits</summary> <ul> <li><a href="dc78ebe6d1"><code>dc78ebe</code></a> Bump to 0.4.38</li> <li><a href="de72a30dfb"><code>de72a30</code></a> Add a method to write a link name without canonicalization (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/274">https://github.com/facebook/flipper/issues/274</a>)</li> <li><a href="ec5edf1c5e"><code>ec5edf1</code></a> Add an <code>append_link()</code> method to handle long link targets (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/273">https://github.com/facebook/flipper/issues/273</a>)</li> <li><a href="5a1c8ea4c6"><code>5a1c8ea</code></a> Add public constructor for PaxExtensions (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/271">https://github.com/facebook/flipper/issues/271</a>)</li> <li><a href="8333ef6be9"><code>8333ef6</code></a> Avoid reallocating Strings when creating <code>TarError</code> (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/269">https://github.com/facebook/flipper/issues/269</a>)</li> <li><a href="1890555114"><code>1890555</code></a> Consolidate some methods and tweak some lifetimes</li> <li><a href="64b8e1bb6f"><code>64b8e1b</code></a> Add support for readers that implement Seek (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/218">https://github.com/facebook/flipper/issues/218</a>) (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/266">https://github.com/facebook/flipper/issues/266</a>)</li> <li><a href="a2a82e652d"><code>a2a82e6</code></a> Fix the second overflow with <code>self.next</code></li> <li><a href="de08ca186b"><code>de08ca1</code></a> Fix an overflow when rounding up the size of a file</li> <li><a href="60c6bd81d7"><code>60c6bd8</code></a> Use rust birthday for HeaderMode::Deterministic timestamp (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/262">https://github.com/facebook/flipper/issues/262</a>)</li> <li>See full diff in <a href="https://github.com/alexcrichton/tar-rs/compare/0.4.37...0.4.38">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 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/3198 Reviewed By: mweststrate Differential Revision: D33348294 Pulled By: nikoant fbshipit-source-id: 7710ca76c1b82676f39fbd2003a24459e86878f8
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