Commit Graph

1873 Commits

Author SHA1 Message Date
collin
79e0da612d add AstError to AsgConvertError 2021-01-30 16:39:29 -05:00
collin
38f65a7d81 Merge branch 'master' of github.com:AleoHQ/leo into asg-merge 2021-01-30 16:31:35 -05:00
Collin Chin
2849a27722
Merge pull request #587 from AleoHQ/update/cleanup
Removes leo-version from CLI
2021-01-30 14:17:51 -05:00
Collin Chin
66c736b3d7
Merge pull request #582 from AleoHQ/leo-add-no-logout
[CLI, CI] Leo add does not require login
2021-01-30 14:16:04 -05:00
Collin Chin
63e1192cb6
Merge branch 'asg-asg' into asg-comments 2021-01-29 14:28:34 -05:00
Collin Chin
9541e124f6
Merge pull request #573 from AleoHQ/asg-clippy
cargo +nightly clippy
2021-01-29 14:14:02 -05:00
collin
bc40eea2fe comment on asg modules 2021-01-29 13:44:04 -05:00
Damir Shamanaev
95531ce50f fixes formatting 2021-01-29 13:18:38 +03:00
Damir Shamanaev
8b6c3371d1 Using token on add if logged in 2021-01-29 12:39:17 +03:00
howardwu
263f52c408 Clippy 2021-01-28 20:10:05 -08:00
howardwu
e7246e146b Simplify 2021-01-28 20:09:14 -08:00
Howard Wu
9aa0fb6069
Merge pull request #578 from AleoHQ/dependabot/cargo/serde-1.0.123
Bump serde from 1.0.122 to 1.0.123
2021-01-28 19:59:35 -08:00
howardwu
5791392dba Forgo using tracing to list the versions without a log status 2021-01-28 19:55:53 -08:00
howardwu
0893f58a7c Removes leo-version 2021-01-28 19:50:18 -08:00
collin
33563b0708 clean up asg imports 2021-01-28 16:13:48 -05:00
collin
c7c3514378 add comments to program 2021-01-28 16:01:57 -05:00
dependabot-preview[bot]
6b4439a243
Bump serde from 1.0.122 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 15:05:49 +00:00
Collin Chin
772902e4b4
Merge pull request #561 from AleoHQ/feature/442-test-annotation
Feature/442 test annotation
2021-01-28 10:04:03 -05:00
collin
4a4fae7991 initial comments and style guidelines 2021-01-27 21:34:47 -05:00
gluaxspeed
4cfd06b94d astError always included 2021-01-27 13:06:21 -05:00
Damir S
638f5ebbf0 adds leo logout command (#572) 2021-01-27 13:06:21 -05:00
gluaxspeed
2bda443d9c added more tests 2021-01-27 12:10:34 -05:00
Damir Shamanaev
aca8cb6152 Merge remote-tracking branch 'origin/master' into leo-add-no-logout 2021-01-27 16:29:34 +03:00
Damir S
727981c639
adds leo logout command (#572) 2021-01-27 16:28:55 +03:00
Damir Shamanaev
d4a765398c removes token check on leo add command
- loggin for leo add was not necessary
- login/logout CI is separated
- add/remove checked together w/o logging in
2021-01-27 15:33:01 +03:00
Protryon
754da358be constyness 2021-01-26 20:05:08 -08:00
gluaxspeed
fbe466661a re add io error to parsererror 2021-01-26 14:55:17 -05:00
collin
8c60774b29 remove unused ParserError code 2021-01-26 14:55:17 -05:00
collin
9d2c5587c9 return new AstError in ast main.rs 2021-01-26 14:55:16 -05:00
Damir Shamanaev
5ea2947664 changed workflow name - now leo-add 2021-01-26 14:55:16 -05:00
Damir Shamanaev
96739c95ca Adds leo add and leo remove CI cycle
- requires ALEO_PM_USERNAME and ALEO_PM_PASSWORD to be set in secrets
- follows simple workflow: new-login-add-remove
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
295512474d Bump serde from 1.0.119 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
9d528e7e2b Bump criterion from 0.3.3 to 0.3.4
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
Damir Shamanaev
f9c4af4ba3 Adds empty line for help command in leo CLI
- clap 2.X has an issue with adding empty line in the end
- proper fixing of this problem should be by updating to V3
2021-01-26 14:55:16 -05:00
Damir Shamanaev
c6abb26ffe removed accidental default implementations 2021-01-26 14:55:15 -05:00
Damir Shamanaev
941cf1e8c7 fixes #551 issues with leo login and add commands
- both bugs were due to missing error handling when JWT was not created
- was a problem only for non-authorized users
- added few minor changes in CLI output making it more helpful
2021-01-26 14:55:15 -05:00
collin
d7cced6e53 rustup update && cargo clippy 2021-01-26 14:55:15 -05:00
collin
873fcc9637 cargo +nightly clippy 2021-01-26 14:55:15 -05:00
dependabot-preview[bot]
fe88b73f82 Bump self_update from 0.22.0 to 0.23.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.22.0 to 0.23.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-01-26 14:55:15 -05:00
Collin Chin
9fbfebbdfe
Merge pull request #579 from AleoHQ/leo-add-ci
[CI] adds leo add and leo remove CI workflow
2021-01-26 14:03:37 -05:00
gluaxspeed
c03451fcd8 deprecate @context annotation, temp fix for main.rs in ast, how should we handle this? 2021-01-26 11:21:05 -05:00
Damir Shamanaev
b638b84c5c changed workflow name - now leo-add 2021-01-26 19:19:08 +03:00
Collin Chin
ed395a0f9a
Merge pull request #568 from AleoHQ/dependabot/cargo/serde-1.0.122
Bump serde from 1.0.119 to 1.0.122
2021-01-25 16:56:16 -05:00
Collin Chin
5e1690d2d1
Merge pull request #567 from AleoHQ/dependabot/cargo/criterion-0.3.4
Bump criterion from 0.3.3 to 0.3.4
2021-01-25 16:51:59 -05:00
Collin Chin
5fbced9164
Merge pull request #565 from damirka/add-empty-line-clap
[cli] adds empty line for help command
2021-01-25 16:49:58 -05:00
collin
0c9b12d545 allow clippy::unused_unit in binary.rs 2021-01-25 15:49:51 -05:00
collin
899d237ea3 Merge branch 'asg-asg' of github.com:AleoHQ/leo into asg-clippy 2021-01-25 15:46:37 -05:00
collin
47c1356389 asg/src/lib.rs comments 2021-01-25 15:41:26 -05:00
gluaxspeed
91f5c18da8 comment saying where deprecated is defined in pest file 2021-01-25 15:21:25 -05:00
gluaxspeed
fe4a101d8d use infallible for cleaner type checking, clean up comments 2021-01-25 15:19:44 -05:00