Commit Graph

2353 Commits

Author SHA1 Message Date
damirka
6d19c9470a fixes copy-paste naming 2021-02-25 16:05:11 +03:00
damirka
944d93fe4e added comment for publishing workflow 2021-02-25 16:03:55 +03:00
Collin Chin
d85a057ddc
Merge pull request #694 from AleoHQ/refactor/leo
Updates Leo CLI with safety enhancements, adds CircleCI resolving flaky tests
2021-02-25 00:02:22 -08:00
howardwu
23f3568643 Merge branch 'master' of https://github.com/AleoHQ/leo 2021-02-24 22:36:46 -08:00
howardwu
5b6cfd5c77 Removes leo setup from GA 2021-02-24 22:34:19 -08:00
howardwu
6f1f295ec5 Removes leo login and logout GA 2021-02-24 22:34:01 -08:00
howardwu
4a75b8d7fa Add leo login and logout to circleci 2021-02-24 22:22:29 -08:00
howardwu
2f0ad62795 Fix leo setup path 2021-02-24 22:19:16 -08:00
howardwu
c3d08e9c6c Add leo setup to circleci 2021-02-24 22:13:55 -08:00
howardwu
4cb0334453 Removes leo add and remove GA 2021-02-24 22:04:27 -08:00
howardwu
303c69e863 Add leo add and remove to circleci 2021-02-24 21:59:06 -08:00
howardwu
e29100c70f Switch output to debug 2021-02-24 21:55:50 -08:00
howardwu
a3006764ab Fix leo clean CI 2021-02-24 21:52:51 -08:00
howardwu
0915293e26 Update circleci to rust 1.50.0 2021-02-24 21:48:54 -08:00
howardwu
808e631014 Add leo clean to circleci 2021-02-24 21:45:06 -08:00
howardwu
345d09d186 Update config 2021-02-24 21:32:57 -08:00
howardwu
de1d06e9dd Add leo init circleci 2021-02-24 21:23:47 -08:00
howardwu
ef642cbe54 Split leo-new test into shell file 2021-02-24 21:18:42 -08:00
howardwu
4004f7575c Attempt leo new circleci 2021-02-24 21:11:31 -08:00
howardwu
0a20afad89 Bump circle 2021-02-24 21:04:38 -08:00
howardwu
7653eeea48 Test circle 2021-02-24 20:55:29 -08:00
howardwu
8d58338fe9 Update .gitignore 2021-02-24 20:46:54 -08:00
howardwu
c7de72f021 Update circleci 2021-02-24 20:40:03 -08:00
howardwu
1c06ace36e Update circle 2021-02-24 20:37:59 -08:00
howardwu
2ba5b859e1 Update circleci 2021-02-24 20:30:25 -08:00
howardwu
9c96390505 Adds DEVELOPMENT.md 2021-02-24 20:28:27 -08:00
howardwu
d9ec234840 Bump circle test 2021-02-24 20:20:02 -08:00
howardwu
43931de088 Update CircleCI 2021-02-24 20:11:23 -08:00
howardwu
5f3e068389 Update README.md 2021-02-24 20:06:04 -08:00
howardwu
c6852838f1 Adds CircleCI 2021-02-24 20:03:50 -08:00
howardwu
97ffabb6ad Update README 2021-02-24 19:59:50 -08:00
howardwu
963013f523 Remove duplicate comment 2021-02-24 19:51:29 -08:00
howardwu
34f5e8105d Prints out number of constraints from now on 2021-02-24 19:49:00 -08:00
howardwu
9206d55408 Clippy 2021-02-24 19:43:03 -08:00
howardwu
c76cb0b086 Add unit test for package name checking 2021-02-24 19:41:52 -08:00
howardwu
73b550011e Adds safety check for valid package names 2021-02-24 19:25:41 -08:00
howardwu
c61cd3459a Removes use of 'Default' in CLI 2021-02-24 18:41:36 -08:00
howardwu
a74a141e33 Clean up comments 2021-02-24 18:18:13 -08:00
howardwu
bea3ee31f6 Rename update command 'Sub' to 'Automatic' 2021-02-24 18:16:13 -08:00
howardwu
2e00ff451e Rename all instances of 'ctx' to 'context' 2021-02-24 18:13:36 -08:00
bors[bot]
cbf15c480a
Merge #690 #691
690: Bump tracing from 0.1.24 to 0.1.25 r=collinc97 a=dependabot-preview[bot]

Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.24 to 0.1.25.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4ad1e62a2d"><code>4ad1e62</code></a> tracing: prepare to release v0.1.25</li>
<li><a href="c22b62e281"><code>c22b62e</code></a> tracing: highlight <code>Span::entered</code> in more docs</li>
<li><a href="a358728b1e"><code>a358728</code></a> tracing: simplify common case of immediately entering the span (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1252">#1252</a>)</li>
<li><a href="4538d74d22"><code>4538d74</code></a> subscriber: prepare to release v0.2.16 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1256">#1256</a>)</li>
<li><a href="a0201ba798"><code>a0201ba</code></a> log: prepare to release v0.1.2</li>
<li><a href="0cdd5e88ac"><code>0cdd5e8</code></a> log: forward <code>LogTracer::enabled</code> to the subscriber  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1254">#1254</a>)</li>
<li><a href="8d83326a5f"><code>8d83326</code></a> subscriber: fix FmtCollector not forwarding max level  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1251">#1251</a>)</li>
<li><a href="31aa6afecc"><code>31aa6af</code></a> subscriber: set the max <code>log</code> <code>LevelFilter</code> in <code>init</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1248">#1248</a>)</li>
<li><a href="2a9d17f73f"><code>2a9d17f</code></a> log: compare <code>log</code> record <code>Level</code>s against the max level (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1247">#1247</a>)</li>
<li>See full diff in <a href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.24...tracing-0.1.25">compare view</a></li>
</ul>
</details>
<br />


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

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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@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 your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

691: Bump self_update from 0.24.0 to 0.25.0 r=collinc97 a=dependabot-preview[bot]

Bumps [self_update](https://github.com/jaemk/self_update) from 0.24.0 to 0.25.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jaemk/self_update/blob/master/CHANGELOG.md">self_update's changelog</a>.</em></p>
<blockquote>
<h2>[0.25.0]</h2>
<h3>Added</h3>
<h3>Changed</h3>
<ul>
<li>Fix io error triggered when updating binary contained in a zipped folder.</li>
<li>Fix issues updating Windows binaries on non-<code>C:</code> drives.</li>
</ul>
<h3>Removed</h3>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jaemk/self_update/commits">compare view</a></li>
</ul>
</details>
<br />


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

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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@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 your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 01:33:51 +00:00
bors[bot]
e9c832c871
Merge #689
689: Bump bincode from 1.3.1 to 1.3.2 r=collinc97 a=dependabot-preview[bot]

Bumps [bincode](https://github.com/servo/bincode) from 1.3.1 to 1.3.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/servo/bincode/commits">compare view</a></li>
</ul>
</details>
<br />


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

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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@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 your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 01:12:30 +00:00
damirka
6448dac047 Fixes #580
- changes error message for console.assert inside main()
- small rewrite of setup command
- adds some autoformatting
2021-02-24 19:17:44 +03:00
dependabot-preview[bot]
88a11ea3d0
Bump self_update from 0.24.0 to 0.25.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-24 10:48:02 +00:00
dependabot-preview[bot]
751905fb99
Bump tracing from 0.1.24 to 0.1.25
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.24 to 0.1.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.24...tracing-0.1.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-24 10:47:40 +00:00
dependabot-preview[bot]
f38cce71b3
Bump bincode from 1.3.1 to 1.3.2
Bumps [bincode](https://github.com/servo/bincode) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/servo/bincode/releases)
- [Commits](https://github.com/servo/bincode/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-24 10:47:15 +00:00
bors[bot]
6fb1e713ed
Merge #683
683: Bump tracing-subscriber from 0.2.15 to 0.2.16 r=collinc97 a=dependabot-preview[bot]

Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.15 to 0.2.16.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4538d74d22"><code>4538d74</code></a> subscriber: prepare to release v0.2.16 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1256">#1256</a>)</li>
<li><a href="a0201ba798"><code>a0201ba</code></a> log: prepare to release v0.1.2</li>
<li><a href="0cdd5e88ac"><code>0cdd5e8</code></a> log: forward <code>LogTracer::enabled</code> to the subscriber  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1254">#1254</a>)</li>
<li><a href="8d83326a5f"><code>8d83326</code></a> subscriber: fix FmtCollector not forwarding max level  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1251">#1251</a>)</li>
<li><a href="31aa6afecc"><code>31aa6af</code></a> subscriber: set the max <code>log</code> <code>LevelFilter</code> in <code>init</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1248">#1248</a>)</li>
<li><a href="2a9d17f73f"><code>2a9d17f</code></a> log: compare <code>log</code> record <code>Level</code>s against the max level (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1247">#1247</a>)</li>
<li><a href="d173c2de9a"><code>d173c2d</code></a> tracing: prepare to release v0.1.24 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1244">#1244</a>)</li>
<li><a href="7f3d94f485"><code>7f3d94f</code></a> attributes: prepare to release v0.1.13 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1243">#1243</a>)</li>
<li><a href="66b1ced54b"><code>66b1ced</code></a> tracing: fix broken match arms in event macros (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1239">#1239</a>) (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1242">#1242</a>)</li>
<li><a href="9d4b7e7a3a"><code>9d4b7e7</code></a> tracing: fix a typo and adds a note about the supported field syntax (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1232">#1232</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.15...tracing-subscriber-0.2.16">compare view</a></li>
</ul>
</details>
<br />


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

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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@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 your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-23 05:19:03 +00:00
damirka
f8e43e5bd0 adds publishing workflow to actions 2021-02-22 19:12:25 +03:00
dependabot-preview[bot]
e8ea272edc
Bump tracing-subscriber from 0.2.15 to 0.2.16
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.15...tracing-subscriber-0.2.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 10:23:56 +00:00
bors[bot]
211fcb0195
Merge #678
678: Bug 662 Fix r=collinc97 a=gluax

Allows -field values in input values, resolves #662. Also add tests for that and group - input values. Cleans up the re-written code used in a few places by adding a pub crate function. Depends on #626.

Co-authored-by: gluax <jonathan.t.pavlik@gmail.com>
Co-authored-by: gluax <16431709+gluax@users.noreply.github.com>
2021-02-19 22:10:36 +00:00