903 Commits

Author SHA1 Message Date
Sergio Gasquez
6788316b85 fix: 🐛 Avoid spawning cmds 2023-01-13 16:11:12 +01:00
Sergio Gasquez
2e111b3842 build: 📌 Bump version v0.2.5 2023-01-11 13:10:24 +00:00
Sergio Gasquez Arcos
73aa09f83c
style: 🎨 Format Windows export file (#135) 2023-01-11 12:22:54 +01:00
Sergio Gasquez
a040fac76a style: 🔊 Remove trailing log messages 2023-01-11 10:45:35 +00:00
Sergio Gasquez Arcos
11becfa4bf
Append header if GITHUB_TOKEN environment variable is present (#128)
* feat:  Append header if GITHUB_TOKEN environment variable is present

* build: ⬆️ Add blocking feature of reqwest

* feat:  If a semver version is provided, get the latest subpatch and use that version

* docs: 📝 Update invalid_version error

* perf: ️ Remove unnecesary into_diagnostics calls

* feat:  Even if the regex matches, check that the release exists

* feat:  Update auth

* chore: 🔊 Add log

* chore: ️ Add basic auth

* Add gh api tests

* fix: 🐛 fix typo

* feat: 🎨 Remove permissions

* test:  Add rust test

* test:  Add rust test

* ci: ️ Add checkout action

* ci: 🧪 Test with permissions

* ci: 🧪 Update headers

* ci: 🎨 Avoid triggering other CI

* ci:  Check if GITHUB TOKEN is present

* ci:  Update get call

* ci: 🧪 Update headers

* style: 🎨 Simplify code

* ci: 🧪 Update headers

* ci: 🧪 Add curl test

* feat:  Add retries

* feat:  Add retries

* feat:  Improve retries

* chore: 🔊 Add logs to tests

* feat:  Remove retries

* ci: 🧪 Test api limit

* chore: 🧪 Test with retries

* feat:  Create a github_query fn

* ci: 🧪 Update CI rust test

* feat: 🔊 Update logging

* feat:  Add maximum retries

* chore: 🔥 Remove gh_test.yaml

* style: 🎨 Remove duplicated log

* ci: 👷 Add env to CI

* chore: 🔊 Add debug log

* ci: 🧪 Test without env

* revert: ️ Revert env removal

* ci: 👷 Update environment in CI

* chore: 🔊 Add logging

* chore: 🔥 Remove download test

* feat:  Move github_query fn to mod.rs
2023-01-11 11:08:15 +01:00
Sergio Gasquez Arcos
e8c4ef1b2a
Merge pull request #131 from esp-rs/dependabot/cargo/async-trait-0.1.61
build(deps): bump async-trait from 0.1.60 to 0.1.61
2023-01-11 10:53:46 +01:00
Sergio Gasquez Arcos
fbfbaa2de7
Merge pull request #134 from esp-rs/dependabot/cargo/regex-1.7.1
build(deps): bump regex from 1.7.0 to 1.7.1
2023-01-11 10:53:37 +01:00
Sergio Gasquez Arcos
b93e71e9bb
Merge pull request #132 from esp-rs/dependabot/cargo/console-0.15.4
build(deps): bump console from 0.15.3 to 0.15.4
2023-01-10 09:09:15 +01:00
dependabot[bot]
a4b42255ae
build(deps): bump regex from 1.7.0 to 1.7.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 08:05:36 +00:00
dependabot[bot]
3f2a63780d
build(deps): bump async-trait from 0.1.60 to 0.1.61
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.60 to 0.1.61.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.60...0.1.61)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 08:05:34 +00:00
Sergio Gasquez Arcos
2a6b84f9a0
Merge pull request #133 from esp-rs/dependabot/cargo/tokio-1.24.1
build(deps): bump tokio from 1.23.0 to 1.24.1
2023-01-10 09:03:54 +01:00
dependabot[bot]
625429a6ba
build(deps): bump tokio from 1.23.0 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:12:01 +00:00
dependabot[bot]
7bfe2997fa
build(deps): bump console from 0.15.3 to 0.15.4
Bumps [console](https://github.com/console-rs/console) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.3...0.15.4)

---
updated-dependencies:
- dependency-name: console
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:11:54 +00:00
Sergio Gasquez Arcos
b6fe84be5e
Merge pull request #127 from Nukesor/configurable-config-path
add: CLI option to specify config path
2023-01-04 15:07:25 +01:00
Arne Beer
2400f9a13b
Merge pull request #1 from SergioGasquez/configurable-config-path
Minor formatting changes
2023-01-04 14:43:42 +01:00
Sergio Gasquez
7940a32721 style: 🎨 Minor formatting 2023-01-04 12:12:23 +00:00
Arne Beer
721318a526
add: Introduce ConfigFile struct 2023-01-03 16:33:34 +01:00
Arne Beer
12d977e573
add: CLI option to specify config path 2023-01-03 16:25:50 +01:00
Sergio Gasquez
93a988db46 docs: 🎨 Format name 2023-01-03 10:15:54 +00:00
Sergio Gasquez
84138aed04 fix: 📝 Fix typo 2023-01-03 10:15:07 +00:00
Sergio Gasquez Arcos
061f0a16b2
Merge pull request #126 from esp-rs/fix/logs
Fix logs
2023-01-03 11:06:43 +01:00
Sergio Gasquez
3ed2292fb1 chore: 🎨 Format Warn logs 2023-01-03 09:39:10 +00:00
Sergio Gasquez
35a7a589d9 chore: 🔊 Add --quiet to several commands 2023-01-03 09:38:49 +00:00
Sergio Gasquez
9ab7cb98bf chore: 🔊 Remove third parties logs 2023-01-02 16:24:51 +01:00
Sergio Gasquez Arcos
3e0b164421
Merge pull request #125 from jessebraham/fixes/misc
Small fixes and cleanup
2023-01-02 13:37:15 +01:00
Jesse Braham
9bad4e8a57 Silence output from invoked script/application when install Rust 2022-12-31 10:10:55 -08:00
Jesse Braham
c095b89338 Fix some typos, more consistent quoting in output 2022-12-31 09:42:40 -08:00
Jesse Braham
acca45cb83 Use a single package directories instead for determining paths 2022-12-31 09:42:17 -08:00
Jesse Braham
8c1b513b2f Do not depend on strum_macros explicitly, as it's included via strum's derive feature 2022-12-31 09:40:22 -08:00
Sergio Gasquez Arcos
542591b4e0
Merge pull request #124 from esp-rs/feature/add-tests
Add unit tests
2022-12-30 12:08:55 +01:00
Sergio Gasquez
9776c0b1be fix: 🎨 Fix clippy warnings 2022-12-30 12:00:22 +01:00
Sergio Gasquez
eff79cf661 test: Fix windows tests 2022-12-30 11:54:50 +01:00
Sergio Gasquez
79d1c469cd test: Add export_environment tests 2022-12-30 11:35:54 +01:00
Sergio Gasquez
b91c8c525c style: 🎨 Remove unused comment 2022-12-30 11:30:05 +01:00
Sergio Gasquez
a1c68ab985 test: Add download_file tests 2022-12-30 11:24:31 +01:00
Sergio Gasquez
d8450d94e7 refactor: 🔥 Remove get_home_dir fn 2022-12-30 10:55:57 +01:00
Sergio Gasquez
1ece99a510 test: Add get_rustup_home tests 2022-12-30 10:52:36 +01:00
Sergio Gasquez
c2965b3276 test: Add get_cargo_home tests 2022-12-30 10:50:48 +01:00
Sergio Gasquez Arcos
7ab8ad9cdc
Merge pull request #116 from esp-rs/dependabot/cargo/clap-4.0.32
build(deps): bump clap from 4.0.29 to 4.0.32
2022-12-30 10:40:04 +01:00
Sergio Gasquez Arcos
8580850e2f
Merge pull request #117 from esp-rs/dependabot/cargo/serde-1.0.152
build(deps): bump serde from 1.0.151 to 1.0.152
2022-12-30 10:39:52 +01:00
Sergio Gasquez Arcos
ee802612c2
Merge pull request #122 from esp-rs/fix/help-documentation
Fix install help documentation
2022-12-30 10:39:38 +01:00
Sergio Gasquez
4fd66bdc3c docs: 📝 Update export_file documentation 2022-12-30 10:38:47 +01:00
Sergio Gasquez
1a21ef9593 test: 🧪 Add a test case: Export file path is a directory 2022-12-30 10:25:43 +01:00
Sergio Gasquez
87863fe8f8 fix: Fix tests 2022-12-30 10:10:18 +01:00
Sergio Gasquez
67e03c878c fix: 🐛 Fix clippy warnings 2022-12-29 13:12:15 +00:00
Sergio Gasquez
8d9e5f1333 docs: 📝 Update update usage section 2022-12-29 13:04:15 +00:00
Sergio Gasquez
fc38f3330c docs: 📝 Update install usage section 2022-12-29 13:03:21 +00:00
Sergio Gasquez
6aae03d230 feat: Check if the provided export-file is a file path 2022-12-29 13:00:26 +00:00
Sergio Gasquez
829820f4c8 docs: 📝 Update export_file documentation 2022-12-29 13:44:43 +01:00
Sergio Gasquez
eae6ff61ef docs: 📝 Update profile-minimal documentation 2022-12-29 13:12:56 +01:00