David Knaack
6bb79039a3
fix(install): use correct arch name in 32-bit test ( #2234 )
2021-01-29 16:54:36 -05:00
Matan Kushner
511bd853d6
chore: update Crowdin PR title
2021-01-29 16:53:32 -05:00
Matan Kushner
7df794efa8
ci: continue release on error ( #2237 )
2021-01-29 16:15:59 -05:00
Matan Kushner
317226b9a7
chore(release): v0.49.0
2021-01-29 12:40:04 -05:00
dependabot-preview[bot]
a267d2da58
build(deps): bump log from 0.4.13 to 0.4.14
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.13...0.4.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27 05:36:41 +00:00
dependabot-preview[bot]
143e4c22b9
build(deps): bump rand from 0.8.2 to 0.8.3
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27 05:28:53 +00:00
Matan Kushner
6afd9ecaf3
docs(i18n): add Vietnamese doc translations
2021-01-26 17:25:25 -05:00
Matan Kushner
bea79619e0
docs(i18n): New Crowdin updates ( #2108 )
2021-01-26 17:07:13 -05:00
Thomas O'Donnell
762ad12698
test(docker_context): Add basic tests to module ( #2205 )
...
* test(docker_context): Add basic tests to module
This adds some basic tests to the docker_context module.
* PR suggestion
2021-01-26 22:46:17 +01:00
Aki
e23f0f7605
docs: update license to include 2021 ( #2207 )
2021-01-26 22:43:20 +01:00
matoruru
b1efe30bbe
docs(status): fix the format string to match the default ( #2211 )
2021-01-26 22:42:41 +01:00
David Knaack
857d536488
build: add aarch64 windows build ( #2213 )
2021-01-26 22:40:48 +01:00
dependabot-preview[bot]
3c31c4b99d
build(deps): 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-26 05:37:15 +00:00
dependabot-preview[bot]
f673487638
build(deps): bump sys-info from 0.7.0 to 0.8.0
...
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/FillZpp/sys-info-rs/releases )
- [Changelog](https://github.com/FillZpp/sys-info-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FillZpp/sys-info-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 05:30:38 +00:00
dependabot-preview[bot]
a2058b791a
build(deps): bump serde from 1.0.120 to 1.0.122
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.120 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.122 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 05:59:49 +00:00
dependabot-preview[bot]
70a72c465c
build(deps): bump process_control from 3.0.0 to 3.0.1
...
Bumps [process_control](https://github.com/dylni/process_control ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/dylni/process_control/releases )
- [Commits](https://github.com/dylni/process_control/compare/3.0.0...3.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 05:49:16 +00:00
dependabot-preview[bot]
9124a5ed72
build(deps): bump git2 from 0.13.16 to 0.13.17
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.16 to 0.13.17.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.16...0.13.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 05:37:27 +00:00
Rodrigo Suárez
ca36d15acd
feat(directory): Add home directory symbol ( #2198 )
...
* feat(directory): Add home directory symbol
* Replace HOME_SYMBOL constant as a config variable
2021-01-24 22:50:37 +01:00
David Knaack
b2e8252785
refactor(git_status): simplify git status with once-cell ( #2150 )
...
I simplified the code in the git status module by moving everything from RwLock<_> to OnceCell<_>. I think this should also get rid of any remaining race conditions that remained after #1777 .
2021-01-24 15:19:22 -05:00
Thomas O'Donnell
a67bf5b34f
docs(terraform): Make version perf issue obvious ( #2107 )
...
This intends to make the performance issue with the terraform version
more obvious.
2021-01-23 15:17:51 +01:00
Gautham Warrier
5eacd3abee
perf: use built-in EPOCHREALTIME env-var to compute cmd_duration for ZSH5+ ( #1751 )
...
We currently invoke `starship time` in a sub-shell to compute time, which is non-performant. By using $EPOCHREALTIME,
which is an inbuilt env-var in ZSH5, we can get better performance. This commit only targets ZSH5+ and maintains the
old behaviour.
2021-01-23 11:25:41 +01:00
Rust大闸蟹
bcaf835321
build: Add additional build information to version and bug report ( #2124 )
...
* fix https://github.com/starship/starship/issues
* cargo fmt
* upgrade shadow-rs 0.5.6
* upgrade shadow-rs
* update
* complet bug_report infomation
* cargo fmt
* upgrade shadow-rs 0.5.11
* upgrade shadow-rs 0.5.14
* fixed:https://github.com/starship/starship/pull/2124#discussion_r559076634
fixed:https://github.com/starship/starship/pull/2124#discussion_r559076918
* add long_version
* upgrade shadow-rs 0.5.19; adaptate clap version() use by shadow-rs clap_version()
* fix unit test error
* fix test error
* upgrade shadow-rs 0.5.22
* upgrade shadow-rs 0.5.23
2021-01-22 20:14:51 +01:00
dependabot-preview[bot]
5471007db9
build(deps): bump rust-ini from 0.16.0 to 0.16.1
...
Bumps [rust-ini](https://github.com/zonyitoo/rust-ini ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/zonyitoo/rust-ini/releases )
- [Commits](https://github.com/zonyitoo/rust-ini/compare/v0.16.0...v0.16.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 17:33:39 +00:00
Moritz Vetter
4e7f73da50
perf(zig): Lazy eval zig ( #2187 )
...
* perf(zig): evaluate version lazily
* fix(zig): update format string; update tests
* refact(zig): remove redundant clone and put everything to do with version eval into match statement
* tiny optimization
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2021-01-22 18:08:36 +01:00
Moritz Vetter
212dbc4e6b
perf(ocaml): evaluate version lazily; adjust format string; update test ( #2188 )
...
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22 18:08:04 +01:00
Moritz Vetter
16b8cbfdb8
perf(perl): Lazy eval perl ( #2189 )
...
* perf(perl): evaluate version lazily
* fix(perl): update format string; update tests
* refact(perl): run rustfmt
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22 18:07:03 +01:00
Moritz Vetter
d10a83ce6b
perf(php): Lazy eval php ( #2190 )
...
* perf(php): evaluate version lazily
* fix(php): update format string; update tests
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22 18:03:18 +01:00
Moritz Vetter
60be1e9540
Perf(purescript): Lazy eval purescript ( #2191 )
...
* perf(purescript): evaluate version lazily
* fix(purescript): update format string; update tests
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22 18:01:54 +01:00
Alexandru Macovei
499e0357b0
refactor: apply more clippy lints
2021-01-22 11:50:12 -05:00
Alexandru Macovei
c8a8086930
refactor: simplify print::handle_module
2021-01-22 11:50:12 -05:00
Alexandru Macovei
3e6b2713b2
refactor: simplify StringFormatter::new
2021-01-22 11:50:12 -05:00
dependabot-preview[bot]
7cb1b7e373
build(deps): bump git2 from 0.13.15 to 0.13.16
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.15 to 0.13.16.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.15...0.13.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22 05:28:42 +00:00
David Knaack
132be11790
build: add builds for various targets ( #2137 )
...
* build: add builds for various targets
* fix typo
Co-authored-by: Matan Kushner <hello@matchai.me>
Co-authored-by: Matan Kushner <hello@matchai.me>
2021-01-21 23:17:02 +01:00
Moritz Vetter
00afc82049
perf(kotlin): Lazy eval kotlin ( #2186 )
...
* perf(kotlin): evaluate version lazily
* fix(kotlin): update format string; update tests
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-21 23:01:30 +01:00
Moritz Vetter
98b89b9432
perf(lua): Lazy eval lua ( #2185 )
...
* perf(lua): evaluate version lazily
* fix(lua): update format string
* test(lua): update tests
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-21 23:00:12 +01:00
Thomas O'Donnell
5cf1c8a7bd
perf(utils): Add timeout to utils::exec_cmd
( #2171 )
...
* perf(utils): Add timeout to `utils::exec_cmd`
This adds a timeout to any command executed using the `utils::exec_cmd`.
The initial time limit is hard coded to 500ms but if required we can
make this configurable. Have also switched the tests to be a bit more
granular on which systems they are ignored.
* Terminate the processes if they timeout
2021-01-21 22:59:14 +01:00
Moritz Vetter
b5fd517972
perf(nodejs): evaluate nodejs format string lazily ( #2160 )
...
* fix(nodejs): update format string
* test(nodejs): adjust tests to new format strings
* fix(nodejs): use once_cell's Lazy to implement hassleless lazy execution
* chore(nodejs): run rustfmt
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-20 19:03:48 +01:00
David Knaack
8302a3ccb4
perf(custom): evaluate command lazily ( #2173 )
2021-01-20 19:01:49 +01:00
David Knaack
bb160d9207
perf(elixir): evaluate version lazily ( #2172 )
2021-01-20 18:59:21 +01:00
Moritz Vetter
2532251a13
perf(dart): Lazy eval dart ( #2166 )
...
* perf(dart): evaluate version lazily
* fix(dart): update format string
* fix: use suggested format string
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-20 18:56:18 +01:00
Moritz Vetter
83e0432a75
perf(java): Lazy eval java ( #2168 )
...
* perf(java): evaluate version lazily
* fix(java): update format string
* fix: use suggested format string
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-20 18:51:30 +01:00
Moritz Vetter
b065758b1c
perf(elm): Lazy eval elm ( #2167 )
...
* perf(elm): evaluate version lazily
* fix(elm): update format string
* fix: use suggested format string
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-20 18:49:26 +01:00
Moritz Vetter
527ffbaede
fix: Adjust default format strings ( #2165 )
...
* fix(dotnet): update dotnet format string
* fix(dotnet): update erlang format string
* fix(dotnet): update golang format string
* fix(dotnet): update helm format string
* fix(dotnet): update julia format string
* fix(dotnet): update nim format string
* fix(dotnet): update ruby format string
* fix(dotnet): update rust format string
* test: update formatted strings in unit tests
* Use suggested format strings
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-01-20 18:46:26 +01:00
Moritz Vetter
e437a463ac
perf(python): Lazy eval of python version command ( #2158 )
...
* perf(python): evaluate version lazily
* fix(python): update format string
* fix: use suggested format strings
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-01-20 18:42:55 +01:00
dependabot-preview[bot]
8a80835f72
build(deps): bump serde from 1.0.119 to 1.0.120
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.120 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 16:40:12 +00:00
David Knaack
049557002a
ci: ignore RUSTSEC-2020-0100 ( #2179 )
2021-01-20 11:01:55 -05:00
David Knaack
d3002cf961
test: avoid setting $HOME ( #2155 )
...
* test: avoid setting $HOME
* add comment to get_home
* move everything to context.get_home
2021-01-19 23:23:27 +01:00
David Knaack
cf82762f6e
ci(macos): install mercurial with brew ( #2174 )
2021-01-19 22:13:09 +01:00
Moritz Vetter
2391a2863c
perf: evaluate swift version lazily ( #2159 )
...
* perf(swift): evaluate version lazily
* fix(swift): update format string
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-18 22:42:28 -06:00
dependabot-preview[bot]
45bab3a42c
build(deps): bump path-slash from 0.1.3 to 0.1.4
...
Bumps [path-slash](https://github.com/rhysd/path-slash ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/rhysd/path-slash/releases )
- [Changelog](https://github.com/rhysd/path-slash/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rhysd/path-slash/compare/v0.1.3...v0.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 05:52:43 +00:00