Commit Graph

48 Commits

Author SHA1 Message Date
Pascal Hartig
ca55e68c89 Set up infra for different packing mode
Summary:
Electron 12 broke packing again because one file was renamed. I'm now setting up a separate mode for using globs and ignores to create artifact bundles. This will work like a reverse gitignore file. However, to keep the logic simple, I'll keep the old mode for MacOS where the folder structure lends itself to comprehensive, exact lists.

**This doesn't actually change anything just yet apart from the "packfile" format. The next diff will add the new packing mode. Feedback is always welcome but there's no need for super close scrutiny.**

Reviewed By: mweststrate

Differential Revision: D27191506

fbshipit-source-id: 663cef8b93eef6c2dbb56ef66de51ea9551412dd
2021-03-23 13:28:14 -07:00
Pascal Hartig
f04c8e8e2c Small optimisations
Summary: We're passing around PathBufs where Paths are enough and more efficient.

Reviewed By: fabiomassimo

Differential Revision: D27155300

fbshipit-source-id: cdf8d67e28a669130482d333c960d100bdaf0992
2021-03-18 05:12:43 -07:00
Pascal Hartig
844c3e3a1c Update packlist for Linux
Summary:
Electron 12 renamed one .so and broke the build.
Time to implement T83339637.

Reviewed By: fabiomassimo

Differential Revision: D27155174

fbshipit-source-id: a034f79cacb5c27b62cc6b51c9899a3d3a227954
2021-03-18 05:12:43 -07:00
Pascal Hartig
62c1c10056 Upgrade deps
Summary: Just bumping everything before making changes as ever.

Reviewed By: fabiomassimo

Differential Revision: D27155175

fbshipit-source-id: b6bce17e55e62b901be710099a43b1185e893ed8
2021-03-18 05:12:43 -07:00
dependabot[bot]
77cb741b37 Bump serde_json from 1.0.61 to 1.0.64 in /packer (#1973)
Summary:
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.64.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.64</h2>
<ul>
<li>Fix deserialization panic on deserializing <code>RawValue</code> from a slice containing non-utf8 bytes (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/755">https://github.com/facebook/flipper/issues/755</a>)</li>
</ul>
<h2>v1.0.63</h2>
<ul>
<li>Provide <code>Entry::and_modify</code> method on <a href="https://docs.rs/serde_json/1.0/serde_json/map/enum.Entry.html">serde_json::map::Entry</a> (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/754">https://github.com/facebook/flipper/issues/754</a>, thanks <a href="https://github.com/Krout0n"><code>@​Krout0n</code></a>)</li>
</ul>
<h2>v1.0.62</h2>
<ul>
<li>Speed up Display impl of serde_json::Value by 33% (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/751">https://github.com/facebook/flipper/issues/751</a>, thanks <a href="https://github.com/icewind1991"><code>@​icewind1991</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d0d80783d3"><code>d0d8078</code></a> Release 1.0.64</li>
<li><a href="8d3b890ef8"><code>8d3b890</code></a> Fix IoRead's raw buffering on invalid utf-8 as well</li>
<li><a href="054326ea8a"><code>054326e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/757">https://github.com/facebook/flipper/issues/757</a> from serde-rs/panicraw</li>
<li><a href="c64c1d7429"><code>c64c1d7</code></a> Fix panic deserializing RawValue from invalid utf-8 bytes</li>
<li><a href="2f812d0363"><code>2f812d0</code></a> Add test of RawValue deserialization from invalid utf-8</li>
<li><a href="9bcb08fd92"><code>9bcb08f</code></a> Fix unnecessary trailing semicolon lints in test suite</li>
<li><a href="d400899cbd"><code>d400899</code></a> Release 1.0.63</li>
<li><a href="461f2bfc39"><code>461f2bf</code></a> Merge pull request 754 from Krout0n/entry#and_modify</li>
<li><a href="6e140a9192"><code>6e140a9</code></a> Add Entry::and_modify</li>
<li><a href="64dd1e03e0"><code>64dd1e0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/752">https://github.com/facebook/flipper/issues/752</a> from SamuelQZQ/patch-2</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.61...v1.0.64">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D26723665

Pulled By: mweststrate

fbshipit-source-id: 4f277cb08117193c27b4b1ec936a602cb782cd13
2021-03-01 08:03:07 -08:00
dependabot[bot]
328595c87f Bump tar from 0.4.32 to 0.4.33 in /packer (#1946)
Summary:
Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.32 to 0.4.33.
<details>
<summary>Commits</summary>
<ul>
<li><a href="f07b3c15e3"><code>f07b3c1</code></a> Bump to 0.4.33</li>
<li><a href="25cadd8e9b"><code>25cadd8</code></a> fix: allow unaligned final blocks in sparse archives (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/244">https://github.com/facebook/flipper/issues/244</a>)</li>
<li>See full diff in <a href="https://github.com/alexcrichton/tar-rs/compare/0.4.32...0.4.33">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D26578205

Pulled By: passy

fbshipit-source-id: d4dd222a63c1c157b814450f84dbca26865888a5
2021-02-22 08:00:37 -08:00
Pascal Hartig
f69723978d Upgrade deps
Summary:
Couldn't do this because we were stuck on an old version
of digest internally with breaking changes. Now there's a
`sha2-9` option to make it build.

Reviewed By: mweststrate

Differential Revision: D26404582

fbshipit-source-id: 9851de3439ea263eaddb558daaf4cf9e73b062cc
2021-02-12 04:43:16 -08:00
dependabot[bot]
8a39174a56 Bump serde from 1.0.119 to 1.0.122 in /packer (#1856)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.122.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.122</h2>
<ul>
<li>
<p>Add IntoDeserializer impl for &amp;[u8] (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Add attribute to override default deserialization failure expectation message (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
<pre lang="rust"><code>#[derive(Deserialize)]
#[serde(untagged, expecting = &quot;single version or array of versions&quot;)]
struct VersionSpec {
    One(Version),
    Many(Vec&lt;Version&gt;),
}
</code></pre>
</li>
<li>
<p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</p>
</li>
<li>
<p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1961">#1961</a>)</p>
</li>
<li>
<p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1963">#1963</a>)</p>
</li>
</ul>
<h2>v1.0.121</h2>
<ul>
<li>Support borrowed data during deserialization of a field identifier (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>Mingun</code></a>)</li>
<li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>jonasbb</code></a>)</li>
</ul>
<h2>v1.0.120</h2>
<ul>
<li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>TheJokr</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ffed19243d"><code>ffed192</code></a> Release 1.0.122</li>
<li><a href="bb7f94df84"><code>bb7f94d</code></a> Add serde_derive_internals to clippy CI job</li>
<li><a href="ff0f467e25"><code>ff0f467</code></a> Opt in to pedantic clippy lints in serde_derive_internals</li>
<li><a href="d1975f3661"><code>d1975f3</code></a> Update serde_derive_internals to tool attrs</li>
<li><a href="b91713e824"><code>b91713e</code></a> Suppress clippy should_implement_trait lint</li>
<li><a href="6ea446fb4b"><code>6ea446f</code></a> Suppress clippy unused_self pedantic lint</li>
<li><a href="85c6904a93"><code>85c6904</code></a> Remove dependency on syn/visit feature</li>
<li><a href="2fd5212204"><code>2fd5212</code></a> Remove unused trait impls on private MapAsEnum</li>
<li><a href="7d1bc1f0fc"><code>7d1bc1f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1963">#1963</a> from serde-rs/valuedebug</li>
<li><a href="cdc2fa1b9f"><code>cdc2fa1</code></a> Eliminate inferred bound on error type of value deserializer Debug impls</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D26047330

Pulled By: mweststrate

fbshipit-source-id: 4d919076204e74458c8a98a87a52ecbf11d7f09d
2021-01-25 09:29:13 -08:00
Pascal Hartig
bae78480ac v0.2.1
Summary: Make it easier to identify which version a release was packed with.

Reviewed By: mweststrate

Differential Revision: D26019107

fbshipit-source-id: 69e85d0988f6ca1a10a9b540d1ebf2a7b28b8325
2021-01-22 08:37:09 -08:00
Pascal Hartig
9cf80f60d7 Add PACK definitions for Linux
Summary: Exluded the license files because we don't need them.

Reviewed By: mweststrate

Differential Revision: D25995326

fbshipit-source-id: 8b42c69b75f33ca345d9e3b1310fef0fd928ea82
2021-01-21 10:00:16 -08:00
Pascal Hartig
7ed56949f3 Add PACK definitions for Windows
Summary:
This adds the definitions for how to split up Windows releases.
This only works with the previous change because otherwise
the Flipper.exe will change with every release build number.

Reviewed By: mweststrate

Differential Revision: D25977814

fbshipit-source-id: 4fb9d4e9562dedf43f9e9ec90a49801f60ed4550
2021-01-21 03:43:17 -08:00
dependabot[bot]
7f438dc3db Bump serde from 1.0.118 to 1.0.119 in /packer (#1838)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.119.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4c89cf89fd"><code>4c89cf8</code></a> Release 1.0.119</li>
<li><a href="b0c99ed761"><code>b0c99ed</code></a> Restore compatibility with rustc 1.13.0</li>
<li><a href="dd1f4b483e"><code>dd1f4b4</code></a> Make it clearer that the private implementation details are private</li>
<li><a href="91bfa8f947"><code>91bfa8f</code></a> Refresh expandtest files with most recent rustfmt</li>
<li><a href="8847800ce2"><code>8847800</code></a> Ignore from_over_into clippy lint in test suite</li>
<li><a href="3c9fa1ccdf"><code>3c9fa1c</code></a> Switch to short form for serde.rs link in rustdoc</li>
<li><a href="3c29a8857f"><code>3c29a88</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1936">#1936</a> from bryanburgers/add-serde-dynamo</li>
<li><a href="a5da27e16d"><code>a5da27e</code></a> Add serde_dynamo to the list of data formats</li>
<li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.119">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D25945124

Pulled By: passy

fbshipit-source-id: 30c3ec70aca76a6cb82c3dabe42547ba9429d981
2021-01-18 08:05:09 -08:00
dependabot[bot]
c7f1ca6f1c Bump anyhow from 1.0.37 to 1.0.38 in /packer (#1822)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.37 to 1.0.38.
<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.38</h2>
<ul>
<li>Support using anyhow::Error in code executed by Miri (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/134">https://github.com/facebook/flipper/issues/134</a>, thanks <a href="https://github.com/thomcc">thomcc</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6a16413b65"><code>6a16413</code></a> Release 1.0.38</li>
<li><a href="f3fe8bdd04"><code>f3fe8bd</code></a> Restore compatibility with rustc pre-1.38</li>
<li><a href="62673e2ccf"><code>62673e2</code></a> Adopt some NonNull wrappers</li>
<li><a href="d1b0c9a17c"><code>d1b0c9a</code></a> Only need vtable function for a type erased ErrorImpl</li>
<li><a href="bd5e39bd15"><code>bd5e39b</code></a> Elide ErrorImpl type parameter if erased</li>
<li><a href="ae372df93f"><code>ae372df</code></a> Merge pull request 134 from thomcc/mirimiri</li>
<li><a href="52c2c4c442"><code>52c2c4c</code></a> Fix parse failure in doc test</li>
<li><a href="9757e7f6ac"><code>9757e7f</code></a> Add miri to CI</li>
<li><a href="87fdd9ec91"><code>87fdd9e</code></a> Allow running tests under miri</li>
<li><a href="cb841d6e32"><code>cb841d6</code></a> Fix catching clippy warnings as CI failures</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.37...1.0.38">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.37&new-version=1.0.38)](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/1822

Reviewed By: priteshrnandgaonkar

Differential Revision: D25870651

Pulled By: passy

fbshipit-source-id: 8c4c9a03ade5cad9fa8acf15feb248d29d82d6b7
2021-01-14 10:44:20 -08:00
dependabot[bot]
89ff396b88 Bump serde_yaml from 0.8.14 to 0.8.15 in /packer (#1821)
Summary:
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.14 to 0.8.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/serde-yaml/releases">serde_yaml's releases</a>.</em></p>
<blockquote>
<h2>0.8.15</h2>
<ul>
<li>Declare dependency version requirements compatible with minimal-versions lockfile (<a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/183">https://github.com/facebook/flipper/issues/183</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c3595c7261"><code>c3595c7</code></a> Release 0.8.15</li>
<li><a href="022b0ad89f"><code>022b0ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/184">https://github.com/facebook/flipper/issues/184</a> from dtolnay/minimal-versions</li>
<li><a href="e656edc0b7"><code>e656edc</code></a> Test minimal-versions in CI</li>
<li><a href="6df5a22c86"><code>6df5a22</code></a> Set version requirements compatible with -Z minimal-versions</li>
<li><a href="f6aa31d1f7"><code>f6aa31d</code></a> Fix catching clippy warnings as CI failures</li>
<li><a href="7f6d925e60"><code>7f6d925</code></a> Inform clippy of supported compiler version in clippy.toml</li>
<li><a href="c82a38dc7f"><code>c82a38d</code></a> Apply clippy to test suite</li>
<li><a href="7a04d41d24"><code>7a04d41</code></a> Extract clippy lint level to CI job</li>
<li><a href="a4105eaaf2"><code>a4105ea</code></a> Resolve clippy unnecessary_wraps lints</li>
<li>See full diff in <a href="https://github.com/dtolnay/serde-yaml/compare/0.8.14...0.8.15">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D25870648

Pulled By: passy

fbshipit-source-id: f953878349dc84267fd90559644afdb3a53cedf0
2021-01-12 09:31:55 -08:00
dependabot[bot]
8a8b979f66 Bump shellexpand from 2.0.0 to 2.1.0 in /packer (#1792)
Summary:
Bumps [shellexpand](https://github.com/netvl/shellexpand) from 2.0.0 to 2.1.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/netvl/shellexpand/commits">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: nikoant

Differential Revision: D25782253

Pulled By: passy

fbshipit-source-id: 4499f24365043b1b2f5d30e0f1809d44712cedfe
2021-01-05 09:12:25 -08:00
dependabot[bot]
216fc9a88c Bump serde_json from 1.0.60 to 1.0.61 in /packer (#1801)
Summary:
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.60 to 1.0.61.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.61</h2>
<ul>
<li>Add <code>impl From&lt;Number&gt; for Value</code> (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/737">https://github.com/facebook/flipper/issues/737</a>, thanks <a href="https://github.com/imp">imp</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="613d66e9c5"><code>613d66e</code></a> Release 1.0.61</li>
<li><a href="8225a8b917"><code>8225a8b</code></a> Format with rustfmt 1.4.30-nightly</li>
<li><a href="e63aedb9f1"><code>e63aedb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/737">https://github.com/facebook/flipper/issues/737</a> from imp/value_from_number</li>
<li><a href="5df9aeda41"><code>5df9aed</code></a> Add impl From&lt;Number&gt; for Value</li>
<li><a href="5a815a52bb"><code>5a815a5</code></a> Ignore redundant_else pedantic clippy lint</li>
<li>See full diff in <a href="https://github.com/serde-rs/json/compare/v1.0.60...v1.0.61">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D25782256

Pulled By: passy

fbshipit-source-id: 71e45be1568d1388ceafbd5e10202b67579560d0
2021-01-05 09:08:22 -08:00
dependabot[bot]
a934f776a4 Bump anyhow from 1.0.36 to 1.0.37 in /packer (#1802)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.36 to 1.0.37.
<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.37</h2>
<ul>
<li>Improve compiler diagnostic on calling macro with a temporary value (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/133">https://github.com/facebook/flipper/issues/133</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d1ba145c92"><code>d1ba145</code></a> Release 1.0.37</li>
<li><a href="c1fa2413ac"><code>c1fa241</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/133">https://github.com/facebook/flipper/issues/133</a> from dtolnay/temp</li>
<li><a href="86dd074ea5"><code>86dd074</code></a> Improve error on temp value to point to the correct statement</li>
<li><a href="91b970e269"><code>91b970e</code></a> Add ui test of temporary value in anyhow macro</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.36...1.0.37">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.36&new-version=1.0.37)](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/1802

Reviewed By: nikoant, mweststrate

Differential Revision: D25782258

Pulled By: passy

fbshipit-source-id: bf3214f5608be7b2931aabcb6319214469fe820d
2021-01-05 09:03:21 -08:00
dependabot[bot]
719608fc5f Bump anyhow from 1.0.35 to 1.0.36 in /packer (#1777)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.35 to 1.0.36.
<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.36</h2>
<ul>
<li>Make anyhow::Error ABI compatible with <code>void*</code> for round tripping through a C FFI (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/132">https://github.com/facebook/flipper/issues/132</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f9419cd5a1"><code>f9419cd</code></a> Release 1.0.36</li>
<li><a href="0650f4322c"><code>0650f43</code></a> Merge pull request 132 from dtolnay/repr</li>
<li><a href="3105a739d9"><code>3105a73</code></a> Mark Error repr transparent</li>
<li><a href="0a218a84a8"><code>0a218a8</code></a> Add test of anyhow::Error in ffi signature</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.35...1.0.36">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.35&new-version=1.0.36)](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/1777

Reviewed By: passy

Differential Revision: D25664485

Pulled By: cekkaewnumchai

fbshipit-source-id: 2bac80cf84631d2856342e259e6fd886d910ed8d
2020-12-21 08:50:33 -08:00
dependabot[bot]
ea54d2c5e9 Bump anyhow from 1.0.34 to 1.0.35 in /packer (#1741)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.34 to 1.0.35.
<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.35</h2>
<ul>
<li>
<p>Support 1-argument use of <code>ensure!</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/126">https://github.com/facebook/flipper/issues/126</a>)</p>
<pre lang="rust"><code>ensure!(depth &lt;= MAX_DEPTH);
// error msg on a false condition would be &quot;Condition failed: `depth &lt;= MAX_DEPTH`&quot;
</code></pre>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2a82468b07"><code>2a82468</code></a> Release 1.0.35</li>
<li><a href="cdfd375b59"><code>cdfd375</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/130">https://github.com/facebook/flipper/issues/130</a> from dtolnay/ensure</li>
<li><a href="435f5ec45e"><code>435f5ec</code></a> Use concat/stringify macros by absolute path</li>
<li><a href="cb57a41789"><code>cb57a41</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/129">https://github.com/facebook/flipper/issues/129</a> from dtolnay/ensure</li>
<li><a href="6161f7dab5"><code>6161f7d</code></a> Test 1-argument ensure</li>
<li><a href="da82eba245"><code>da82eba</code></a> Implement 1-argument ensure</li>
<li><a href="0c0e41fdb1"><code>0c0e41f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/128">https://github.com/facebook/flipper/issues/128</a> from dtolnay/doc-cfg</li>
<li><a href="dc099d2e28"><code>dc099d2</code></a> Fill in some more use of doc(cfg)</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.34...1.0.35">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.34&new-version=1.0.35)](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/1741

Reviewed By: mweststrate

Differential Revision: D25373208

Pulled By: passy

fbshipit-source-id: 7fe3896c680706c68ec7ff48648aa79f7f0f11c6
2020-12-08 09:52:28 -08:00
dependabot[bot]
a3481a142b Bump serde from 1.0.117 to 1.0.118 in /packer (#1742)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.117 to 1.0.118.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.118</h2>
<ul>
<li>Support serialization of core::num::Wrapping in no_std mode (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1926">#1926</a>, thanks <a href="https://github.com/attente">attente</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e797431268"><code>e797431</code></a> Release 1.0.118</li>
<li><a href="4a335f8933"><code>4a335f8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1926">#1926</a> from attente/core-num-wrapping</li>
<li><a href="84721920fd"><code>8472192</code></a> Resolve clippy items_after_statements lint</li>
<li><a href="192c7819ee"><code>192c781</code></a> Format with rustfmt 1.4.25-beta</li>
<li><a href="ede40bdfaa"><code>ede40bd</code></a> Allow serializing of Wrapping without std</li>
<li><a href="e3d871ff7b"><code>e3d871f</code></a> Opt in to experimental trybuild diffs</li>
<li><a href="0e1c4093c8"><code>0e1c409</code></a> Suppress new result_unit_err clippy lint</li>
<li><a href="0d5b6c180c"><code>0d5b6c1</code></a> Resolve ptr_eq clippy lint</li>
<li><a href="8084258a3e"><code>8084258</code></a> Update ui tests to nightly-2020-10-20</li>
<li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.117...v1.0.118">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D25373209

Pulled By: passy

fbshipit-source-id: 67e6ebda3c356775ffff0697bc2221b0e04f8726
2020-12-08 09:39:11 -08:00
dependabot[bot]
172cc82589 Bump serde_json from 1.0.59 to 1.0.60 in /packer (#1743)
Summary:
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.59 to 1.0.60.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.60</h2>
<ul>
<li>Add <code>impl FromIterator&lt;(impl Into&lt;String&gt;, impl Into&lt;Value&gt;)&gt; for Value</code>, which collects a Value::Object (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/733">https://github.com/facebook/flipper/issues/733</a>, thanks <a href="https://github.com/matklad">matklad</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6a4cd8d218"><code>6a4cd8d</code></a> Release 1.0.60</li>
<li><a href="b9598ce50f"><code>b9598ce</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/733">https://github.com/facebook/flipper/issues/733</a> from matklad/from-iter-of-pairs</li>
<li><a href="0c4b4dfc8a"><code>0c4b4df</code></a> Allow collecting an iterator of pairs into JSON object</li>
<li><a href="efc910404a"><code>efc9104</code></a> Suppress clippy unnecessary_wraps lints</li>
<li><a href="bda64205e3"><code>bda6420</code></a> Resolve clippy comparison_to_empty lint</li>
<li><a href="ec7eeb6933"><code>ec7eeb6</code></a> Suppress new manual_range_contains lint</li>
<li>See full diff in <a href="https://github.com/serde-rs/json/compare/v1.0.59...v1.0.60">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D25373212

Pulled By: passy

fbshipit-source-id: 6164c172f01d0260e1e195a1317f5c18f8a92567
2020-12-08 08:30:21 -08:00
generatedunixname89002005325677
cdb0570c43 Daily arc lint --take RUSTFMT
Reviewed By: zertosh

Differential Revision: D25216089

fbshipit-source-id: e7cdf6a5b23e18ba2bfebbe24979cf67f5d55b00
2020-11-30 03:51:30 -08:00
Pascal Hartig
911c3e297c Fix lints (#1716)
Summary:
Fix a lint that's currently failing.
See https://github.com/facebook/flipper/runs/1449249447?check_suite_focus=true

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

Test Plan: cargo clippy succeeds now.

Reviewed By: nikoant

Differential Revision: D25170963

Pulled By: passy

fbshipit-source-id: 658f8b6abaef9860be9ff07447d2354727acb7c7
2020-11-27 04:10:09 -08:00
dependabot[bot]
e5f277ab71 Bump data-encoding from 2.3.0 to 2.3.1 in /packer (#1656)
Summary:
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.3.0 to 2.3.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="34d1f0e89a"><code>34d1f0e</code></a> Release 2.3.1</li>
<li><a href="47b548f82a"><code>47b548f</code></a> Fix deps.rs URLs</li>
<li><a href="3236d7fc82"><code>3236d7f</code></a> lib: Update changelog</li>
<li><a href="289dca9030"><code>289dca9</code></a> Update documentation</li>
<li><a href="76e21dd413"><code>76e21dd</code></a> Remove stable feature</li>
<li><a href="21eb6991b8"><code>21eb699</code></a> Add no-std test for macro</li>
<li><a href="a89028bcfc"><code>a89028b</code></a> force proc-macro to be no_std compatable</li>
<li><a href="848efe37c1"><code>848efe3</code></a> Add dependency badge to readme</li>
<li><a href="3699a0d665"><code>3699a0d</code></a> Update LICENSE date</li>
<li><a href="6476fb0bb1"><code>6476fb0</code></a> lib: Maybe fix <a href="https://github-redirect.dependabot.com/ia0/data-encoding/issues/33">https://github.com/facebook/flipper/issues/33</a></li>
<li>See full diff in <a href="https://github.com/ia0/data-encoding/compare/v2.3.0...v2.3.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=data-encoding&package-manager=cargo&previous-version=2.3.0&new-version=2.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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/1656

Test Plan: Ran `cargo check`.

Reviewed By: mweststrate

Differential Revision: D24826840

Pulled By: passy

fbshipit-source-id: 353416e0efb3e6bae16773cd535d6bd4f62825e3
2020-11-09 03:24:01 -08:00
Pascal Hartig
473f314da1 Update deps
Summary:
This should resolve all but one dependabot PRs. The `sha2` dependency
changes an API that's incompatible with our internally checked-in
`digest` crate.

Reviewed By: nikoant

Differential Revision: D24791506

fbshipit-source-id: 9a74e24b0efbe9c32c49c79eeb804eb9257bfb01
2020-11-06 12:26:18 -08:00
Pascal Hartig
aad6890f0f v0.2.0
Summary:
Bumping the version as the manifest is very much incompatible
with the previous one.

Reviewed By: jknoxville

Differential Revision: D24078358

fbshipit-source-id: 562a1216e8c913b18a2509b126402dbd56054c8d
2020-10-02 08:22:30 -07:00
Pascal Hartig
d477ed7818 Address lints
Summary: Just going through all the lints that have popped up.

Reviewed By: jknoxville

Differential Revision: D24078571

fbshipit-source-id: 06504aafa969eea92ee934ac607d3daf51e47914
2020-10-02 06:37:45 -07:00
Pascal Hartig
2bbd76803c Use new checksums in manifest
Summary: This now makes use of the `tarsum` mod to surface both intrinsic and extrinsic checksums as part of the manifest. I also threw in the file name and the bytes for good measure. This is output in Sandcastle logs and can help identify mismatches. The filename also means we no longer have to rely on piecing together paths on Sandcastle which is nice.

Reviewed By: nikoant

Differential Revision: D24046464

fbshipit-source-id: dc6dc50eb510a067674166b5fdb11af9cf6762b2
2020-10-02 03:20:21 -07:00
Pascal Hartig
cf4db8be24 Build intrinsic archive sum
Summary:
# Problem

Oddly enough, since the addition of ReactiveCocoa to Electron on MacOS, we're seeing non-determinism when creating tar archives. P144049799 shows the difference between two release artifacts built on Sandcastle. Their contents are identical but they're packed differently.

# Approach

To counter this, I'm now calculating the checksum not based on the archive itself but on its *sorted* contents by first inserting all files into a `BTreeMap` with the file path as key and then lastly hashing all hashes, building some sort of bastardised Merkle tree.

# This diff

I'm only implementing the hashing here. The next diff will actually make use of this.

# Further steps

This requires a few more downstream changes which will require some finesse to roll out.

- The manifest will need to include both the intrinsic and extrinsic checksums as Launcher depends on the latter to verify the download integrity. We could also calculate the intrinsic checksum again, but that just adds more complexity which is hard to debug.
- Sandcastle will need to understand the new manifest format and we need to schedule the MSDK rollout accordingly. Not a huge problem as the call volume is low and manual.
- We need to modify the artifact and release ents to contain both checksums.
- The release endpoint needs to be modified to return the checksum the launcher cares about.

Reviewed By: nikoant

Differential Revision: D24024011

fbshipit-source-id: 55de748178c033c18a69c79c68f12e7c1aaf4deb
2020-10-02 03:20:21 -07:00
David Tolnay
aeebec5cd7 Prepare for rustfmt 2.0
Summary:
Generated by formatting with rustfmt 2.0.0-rc.2 and then a second time with fbsource's current rustfmt (1.4.14).

This results in formatting for which rustfmt 1.4 is idempotent but is closer to the style of rustfmt 2.0, reducing the amount of code that will need to change atomically in that upgrade.

 ---

*Why now?* **:** The 1.x branch is no longer being developed and fixes like https://github.com/rust-lang/rustfmt/issues/4159 (which we need in fbcode) only land to the 2.0 branch.

 ---

Reviewed By: zertosh

Differential Revision: D23568784

fbshipit-source-id: 7401066bfc99390686eb3fd9dc6f9888ccef9487
2020-09-07 20:50:27 -07:00
dependabot[bot]
156b00ba42 Bump data-encoding from 2.2.0 to 2.3.0 in /packer (#1449)
Summary:
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.2.0 to 2.3.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="c0facaff53"><code>c0facaf</code></a> Release 2.3.0</li>
<li><a href="d215bc04cb"><code>d215bc0</code></a> lib: Add encode_append function</li>
<li><a href="07dfc9bde4"><code>07dfc9b</code></a> Remove fuzzit</li>
<li><a href="eaa9e11482"><code>eaa9e11</code></a> Release 2.2.1</li>
<li><a href="5aa1d4709b"><code>5aa1d47</code></a> lib: move cargo.toml badges to readme</li>
<li><a href="b6de71c398"><code>b6de71c</code></a> fix coveralls badge</li>
<li><a href="5d4ce64fbb"><code>5d4ce64</code></a> lib: use tarpaulin</li>
<li><a href="9b53af1e4a"><code>9b53af1</code></a> lib: explicit description</li>
<li><a href="f9d4bc3fc2"><code>f9d4bc3</code></a> lib: Add no-std category in Cargo.toml</li>
<li><a href="168aff449e"><code>168aff4</code></a> Release macro 0.1.8</li>
<li>See full diff in <a href="https://github.com/ia0/data-encoding/compare/v2.2.0...v2.3.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=data-encoding&package-manager=cargo&previous-version=2.2.0&new-version=2.3.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1449

Reviewed By: mweststrate

Differential Revision: D23161719

Pulled By: passy

fbshipit-source-id: a7512b96ea8336595435f7a1eed5043b1578d642
2020-08-18 03:00:01 -07:00
dependabot[bot]
7e7f431c66 Bump electron-devtools-installer from 3.0.0 to 3.1.0 in /desktop (#1317)
Summary:
Bumps [electron-devtools-installer](https://github.com/MarshallOfSound/electron-devtools-installer) from 3.0.0 to 3.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/MarshallOfSound/electron-devtools-installer/releases">electron-devtools-installer's releases</a>.</em></p>
<blockquote>
<h2>v3.1.0</h2>
<h1><a href="https://github.com/MarshallOfSound/electron-devtools-installer/compare/v3.0.0...v3.1.0">3.1.0</a> (2020-06-27)</h1>
<h3>Features</h3>
<ul>
<li>add electron 9 support (<a href="https://github-redirect.dependabot.com/MarshallOfSound/electron-devtools-installer/issues/131">https://github.com/facebook/flipper/issues/131</a>) (<a href="ab713a639c">ab713a6</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f6932ad87d"><code>f6932ad</code></a> chore: fix tests</li>
<li><a href="ab713a639c"><code>ab713a6</code></a> feat: add electron 9 support (<a href="https://github-redirect.dependabot.com/MarshallOfSound/electron-devtools-installer/issues/131">https://github.com/facebook/flipper/issues/131</a>)</li>
<li>See full diff in <a href="https://github.com/MarshallOfSound/electron-devtools-installer/compare/v3.0.0...v3.1.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=electron-devtools-installer&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=3.1.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1317

Reviewed By: mweststrate

Differential Revision: D22310350

Pulled By: passy

fbshipit-source-id: d043248ebd57976c5cfde267741977846c77c065
2020-07-01 06:11:35 -07:00
Pascal Hartig
ba0a706bc8 Small fixes
Summary: Some small perf improvements, remove unnecessary cloning, etc.

Reviewed By: jknoxville

Differential Revision: D22307521

fbshipit-source-id: 91cfd16b0b05a24ec9639c2a2e26d504a6b01de4
2020-06-30 06:20:11 -07:00
Pascal Hartig
ceb9c942dc Back out "Bump sha2 from 0.8.1 to 0.9.1 in /packer"
Summary: Original commit changeset: 300f53aa1b69

Reviewed By: mweststrate

Differential Revision: D22288114

fbshipit-source-id: bc492dc633d66c993cddef49650818012cd0c9a1
2020-06-30 04:44:29 -07:00
dependabot[bot]
39afce7ceb Bump sha2 from 0.8.1 to 0.9.1 in /packer (#1304)
Summary:
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.8.1 to 0.9.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="fb7186fb83"><code>fb7186f</code></a> Release sha-1 v0.9.1 and sha2 v0.9.1 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/177">https://github.com/facebook/flipper/issues/177</a>)</li>
<li><a href="f4f6ed5304"><code>f4f6ed5</code></a> Add build status links (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/176">https://github.com/facebook/flipper/issues/176</a>)</li>
<li><a href="a380194a69"><code>a380194</code></a> Add x86 intrinsics support for sha1 and sha2 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/167">https://github.com/facebook/flipper/issues/167</a>)</li>
<li><a href="570a200160"><code>570a200</code></a> Fix build links (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/174">https://github.com/facebook/flipper/issues/174</a>)</li>
<li><a href="feea49ec7e"><code>feea49e</code></a> update README examples (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/173">https://github.com/facebook/flipper/issues/173</a>)</li>
<li><a href="fcb7516192"><code>fcb7516</code></a> Release <code>gost94</code> and <code>streebog</code> (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/172">https://github.com/facebook/flipper/issues/172</a>)</li>
<li><a href="5fdcd03d5f"><code>5fdcd03</code></a> shabal v0.3.0 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/171">https://github.com/facebook/flipper/issues/171</a>)</li>
<li><a href="f427563094"><code>f427563</code></a> Release <code>groestl</code>, <code>md2</code>, <code>md4</code>, <code>ripemd320</code>, <code>whirlpool</code> v0.9.0 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/169">https://github.com/facebook/flipper/issues/169</a>)</li>
<li><a href="15c3060629"><code>15c3060</code></a> Bump opaque-debug to v0.3.0 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/168">https://github.com/facebook/flipper/issues/168</a>)</li>
<li><a href="d24f26b165"><code>d24f26b</code></a> Update block-buffer to v0.9 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/164">https://github.com/facebook/flipper/issues/164</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.8.1...sha2-v0.9.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.8.1&new-version=0.9.1)](https://help.github.com/articles/configuring-automated-security-fixes)

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

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1304

Reviewed By: jknoxville

Differential Revision: D22284220

Pulled By: passy

fbshipit-source-id: 300f53aa1b69e53d13e1095eb7755c2383a73e35
2020-06-29 07:35:52 -07:00
dependabot-preview[bot]
4a7d207134 Bump clap from 2.33.0 to 2.33.1 in /packer (#1170)
Summary:
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.0 to 2.33.1.
<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>v2.33.1</h2>
<p><a name="v2.33.1"></a></p>
<h3>v2.33.1 (2020-05-11)</h3>
<h4>Bug Fixes</h4>
<ul>
<li>Windows: Prevent some panics when parsing invalid Unicode on Windows (<a href="922c645083">922c645</a>, closes <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1905">#1905</a>)</li>
</ul>
<h4>Documentation</h4>
<ul>
<li>fixes versions referenced in the README (<a href="d307466af1">d307466a</a>)</li>
<li><strong>README.md:</strong>
<ul>
<li>cuts down the number of examples to reduce confusion (<a href="6e508ee09e">6e508ee0</a>)</li>
</ul>
</li>
</ul>
<h4>Improvements</h4>
<ul>
<li><strong>Deps:</strong>  doesnt compile ansi_term on Windows since its not used (<a href="b57ee94609">b57ee946</a>, closes <a href="https://github-redirect.dependabot.com/kbknapp/clap-rs/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li>
</ul>
<h4>Minimum Required Rust</h4>
<ul>
<li>As of this release, <code>clap</code> requires <code>rustc 1.36.0</code> or greater.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md">clap's changelog</a>.</em></p>
<blockquote>
<h3>v2.33.1 (2020-05-11)</h3>
<h4>Bug Fixes</h4>
<ul>
<li>Windows: Prevent some panics when parsing invalid Unicode on Windows (<a href="922c645083">922c645</a>, closes <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1905">#1905</a>)</li>
</ul>
<h4>Documentation</h4>
<ul>
<li>fixes versions referenced in the README (<a href="d307466af1">d307466a</a>)</li>
<li><strong>README.md:</strong>
<ul>
<li>cuts down the number of examples to reduce confusion (<a href="6e508ee09e">6e508ee0</a>)</li>
</ul>
</li>
</ul>
<h4>Improvements</h4>
<ul>
<li><strong>Deps:</strong>  doesnt compile ansi_term on Windows since its not used (<a href="b57ee94609">b57ee946</a>, closes <a href="https://github-redirect.dependabot.com/kbknapp/clap-rs/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li>
</ul>
<h4>Minimum Required Rust</h4>
<ul>
<li>As of this release, <code>clap</code> requires <code>rustc 1.36.0</code> or greater.</li>
</ul>
<p><a name="v2.33.0"></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ffb8d552c2"><code>ffb8d55</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1917">#1917</a> from clap-rs/v2.33.1</li>
<li><a href="7ac16ac5c7"><code>7ac16ac</code></a> chore: increase ver ref in lib.rs</li>
<li><a href="bc3291db8e"><code>bc3291d</code></a> chore: increase version on v2 branch</li>
<li><a href="922c645083"><code>922c645</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1907">#1907</a> from oconnor663/windows_2.33</li>
<li><a href="703caf37c4"><code>703caf3</code></a> prevent some panics when parsing invalid Unicode on Windows</li>
<li><a href="0129fe517a"><code>0129fe5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1673">#1673</a> from clap-rs/v2-ci</li>
<li><a href="48a71f35ac"><code>48a71f3</code></a> Update minimum rust version</li>
<li><a href="57baeb489c"><code>57baeb4</code></a> Formatted rust</li>
<li><a href="f9ffeb8616"><code>f9ffeb8</code></a> CI for v2-master</li>
<li><a href="fa45af5cad"><code>fa45af5</code></a> where -&gt; were</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=2.33.0&new-version=2.33.1)](https://dependabot.com/compatibility-score/?dependency-name=clap&package-manager=cargo&previous-version=2.33.0&new-version=2.33.1)

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)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1170

Reviewed By: passy

Differential Revision: D21619402

Pulled By: cekkaewnumchai

fbshipit-source-id: 88f9d7579e4c5c0027b2144006fbaff7a02540ef
2020-05-18 09:12:01 -07:00
dependabot-preview[bot]
2494bb76b5 Bump anyhow from 1.0.28 to 1.0.31 in /packer (#1169)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.28 to 1.0.31.
<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.31</h2>
<ul>
<li>Restore &quot;Stack backtrace&quot; header label above the backtrace in <code>{:?}</code> representation (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/92">https://github.com/facebook/flipper/issues/92</a>)</li>
</ul>
<h2>1.0.30</h2>
<ul>
<li>Hide an error message that appears when building with <code>cargo rustc -vv</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/91">https://github.com/facebook/flipper/issues/91</a>, thanks <a href="https://github.com/eoger">eoger</a>)</li>
</ul>
<h2>1.0.29</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="144763cf99"><code>144763c</code></a> Release 1.0.31</li>
<li><a href="f7424bd1da"><code>f7424bd</code></a> Show an example of {:?} without backtrace</li>
<li><a href="5e4177fc4c"><code>5e4177f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/92">https://github.com/facebook/flipper/issues/92</a> from dtolnay/backtrace</li>
<li><a href="6d33c15b96"><code>6d33c15</code></a> Restore 'Stack backtrace:' above the backtrace</li>
<li><a href="2aa0cc1aba"><code>2aa0cc1</code></a> Release 1.0.30</li>
<li><a href="afc3079dda"><code>afc3079</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/91">https://github.com/facebook/flipper/issues/91</a> from eoger/silent-probe</li>
<li><a href="5ed5f56f0c"><code>5ed5f56</code></a> Redirect probe compile errors to /dev/null</li>
<li><a href="290d3d2a50"><code>290d3d2</code></a> Release 1.0.29</li>
<li><a href="5e1a1f8b01"><code>5e1a1f8</code></a> Try out a new style of readme badges</li>
<li><a href="16f607efaa"><code>16f607e</code></a> Add crosslink icons to top of rustdoc</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.28...1.0.31">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.28&new-version=1.0.31)](https://dependabot.com/compatibility-score/?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.28&new-version=1.0.31)

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)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1169

Reviewed By: passy

Differential Revision: D21619401

Pulled By: cekkaewnumchai

fbshipit-source-id: 06e3d86104c4809a3a464a683552e6523a2b67d3
2020-05-18 08:46:38 -07:00
Pascal Hartig
6355076c90 Implement compression
Summary:
Compresses artifacts with LZMA by default. `--no-compression` can be used
to skip the quite time-intensive task to just quickly check if the archives
still add up to a full distribution.

Reviewed By: jknoxville

Differential Revision: D21456052

fbshipit-source-id: dfa4686f3fe7ce342b62dab4b5203bc0aad37d9a
2020-05-13 08:09:06 -07:00
Pascal Hartig
a3e323c4b5 Loosen version constraints (#1150)
Summary:
Close https://github.com/facebook/flipper/issues/1147
Close https://github.com/facebook/flipper/issues/1148
Close https://github.com/facebook/flipper/issues/1148

Test Case:
cargo run
Pull Request resolved: https://github.com/facebook/flipper/pull/1150

Reviewed By: jknoxville

Differential Revision: D21503792

Pulled By: passy

fbshipit-source-id: f4093c76c93a836a4aaa4a9b0a08f6f5190fe2fd
2020-05-12 04:18:52 -07:00
Pascal Hartig
f00cd2964e Move main Info.plist to core bundle
Summary:
This does actually change from version to version as can be seen
when bundling both 0.40 and 0.41:

{F236391778}

Reviewed By: jknoxville

Differential Revision: D21426528

fbshipit-source-id: 53c0565f7693010a2096088af1829eab210a75cc
2020-05-07 07:22:53 -07:00
Pascal Hartig
dc783bcb19 Show progress bars
Summary: Add progress bars. The previous change broke the display as we'd write to the console in parallel, too.

Reviewed By: jknoxville

Differential Revision: D21405230

fbshipit-source-id: 3a60690c216fd2f44816ef1b01917f66ebe804df
2020-05-07 07:22:52 -07:00
Pascal Hartig
59aa7decc4 Parallelise packing
Summary: Parallelise packing and hashing. Delightfully small change.

Reviewed By: jknoxville

Differential Revision: D21405209

fbshipit-source-id: 095c7886f71e45b0889020ddcfe79f2392ce3218
2020-05-07 07:22:52 -07:00
Pascal Hartig
634bd00ab5 Refactor fold to map
Summary: This is to make parallelising this in the next step easier.

Reviewed By: jknoxville

Differential Revision: D21405192

fbshipit-source-id: b1f2841526a65fcbf545feb69f258874c2134603
2020-05-07 07:22:52 -07:00
Pascal Hartig
42e080776f Add error context
Summary: When file writing fails, attach some context in the error message.

Reviewed By: jknoxville

Differential Revision: D21400273

fbshipit-source-id: f7cce5446ec27d5eb38f1902f24c61169dd644ac
2020-05-07 07:22:51 -07:00
Pascal Hartig
5cc9af4b5d Hashing and Manifest
Summary: Hashes the artifacts and adds the information to a manifest. This will then be used to upload to a blob store, and save the information so it can be retrieved again later. Not sure if I want to stick with SHA256 or if there's something more efficient like Cityhash, given that we don't really care about cryptographic properties here.

Reviewed By: jknoxville

Differential Revision: D21380369

fbshipit-source-id: e9c5cd56d94f3083ae5ed6396673d00cbf98ce39
2020-05-07 07:22:51 -07:00
Pascal Hartig
8818fbe375 Build all artifacts from packlist
Summary:
Instead of hardcoding the targets, it will now build all specified
types in the "packlist".

Reviewed By: jknoxville

Differential Revision: D21349762

fbshipit-source-id: 58f4a3bbf0b6ff4dd87eb44bbd7b200127da8017
2020-05-01 09:43:17 -07:00
Pascal Hartig
2c20f016d4 Use anyhow for error handling
Summary:
This is a nice solution if you don't want to spend
too much time thinking about error handling.
You have one common return type and can basically use `?`
everywhere while still maintaining the flexibility to
create custom error types where needed.

Reviewed By: jknoxville

Differential Revision: D21349046

fbshipit-source-id: 073539ce8422cdb3e0141886e95321052bc0c7a3
2020-05-01 09:43:16 -07:00
Pascal Hartig
155a8c6952 Initial packer project
Summary:
This is a tool (right now more a script, really) for splitting a Flipper distribution into smaller chunks that can be individually cached, hashed and downloaded. It's incomplete but can already bundle up Mac apps into smaller chunks that can be merged back again into one app.

It takes a config file that specifies how to slice the inputs up and comes with a default copy bundled in. That's in line with the general "design" where it tries to make the right assumptions, for instance defaulting to the normal dist output directory.

Reviewed By: jknoxville

Differential Revision: D21302551

fbshipit-source-id: b22670ff4825ce526dd0f20320f87080c058cd93
2020-05-01 04:04:48 -07:00