larswirzenius
6000231d12
chore: Minor changes to use more idiomatic Rust (integer max values; complicates nested expressions) ( #6090 )
...
* chore: use current way to get max value of an integer type
The std::usize::MAX way has been obsolete for quite some time now.
Found by clippy (clippy::legacy_numeric_constants).
Signed-off-by: Lars Wirzenius <liw@liw.fi>
* chore: use helper variable for a more idiomatic pattern matching
A nested expression can be harder to understand than two simpler
expressions. (Found by clippy lint clippy::blocks_in_conditions.)
Signed-off-by: Lars Wirzenius <liw@liw.fi>
---------
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Co-authored-by: Lars Wirzenius <liw@liw.fi>
2024-07-24 21:06:40 +02:00
renovate[bot]
1c3bae29d3
build(deps): update rust crate nu-ansi-term to 0.50.1
2024-07-24 02:06:06 +00:00
renovate[bot]
c3c640081d
build(deps): update rust crate gix to 0.64.0
2024-07-23 19:51:13 +00:00
renovate[bot]
1e3e7397f1
build(deps): update dependency dprint/dprint-plugin-typescript to v0.91.4
2024-07-22 01:39:29 +00:00
renovate[bot]
1ea64dd02a
build(deps): update toml crates
2024-07-17 18:56:08 +00:00
Alvaro Aleman
fae92b2964
perf(k8s): Improve performance of kubeconfig module ( #6032 )
...
* Fix config schema
* Improve performance of kubeconfig module
This module currently takes about 200 ms when using our ~10MiB
kubeconfig. This change improves its performance by:
* Only parsing the file once
* (Naively) checking if the content is yaml or json and potentially
parse as the latter, as that seems to be much faster
2024-07-16 22:26:03 +02:00
renovate[bot]
c251897ae8
build(deps): update dependency vitepress to ^1.3.1
2024-07-15 04:41:18 +00:00
renovate[bot]
9c0aa12845
build(deps): update dependency dprint/dprint-plugin-typescript to v0.91.3
2024-07-15 00:13:44 +00:00
renovate[bot]
50cd112207
build(deps): update reviewdog/action-suggester action to v1.17.0
2024-07-14 13:04:29 +00:00
renovate[bot]
27cc4bcbab
build(deps): update rust crate clap_complete to 4.5.8
2024-07-11 04:45:13 +00:00
renovate[bot]
0e04c55fba
build(deps): update crate-ci/typos action to v1.23.2
2024-07-10 19:26:30 +00:00
renovate[bot]
c378d1dad8
build(deps): update rust crate open to 5.3.0
2024-07-10 06:16:29 +00:00
renovate[bot]
824b6952b3
build(deps): update rust crate clap to 4.5.9
2024-07-09 03:05:49 +00:00
renovate[bot]
205b4bdec2
build(deps): update rust crate toml_edit to 0.22.15
2024-07-08 21:21:43 +00:00
renovate[bot]
2ca0de0f6f
build(deps): lock file maintenance
2024-07-08 03:41:55 +00:00
renovate[bot]
d7699fb1b6
build(deps): update dependency vitepress to ^1.3.0
2024-07-08 03:39:11 +00:00
renovate[bot]
414e83ccb1
build(deps): update dependency dprint/dprint-plugin-typescript to v0.91.2
2024-07-08 00:18:53 +00:00
David Knaack
48dfcfc0ed
ci: fix prevent prevent file change workflow ( #6018 )
2024-07-07 16:17:34 +02:00
David Knaack
52a89a515e
fix(dotnet): Remove duplicate v in dotnet version ( #6060 )
...
* Remove duplicate `v` in dotnet version
Every language version provider returns the version without a leading 'v', and the shared code then prepends the 'v'. Take a look at Python for example.
The Dotnet provider prepends a 'v' however, causing the version to be printed like 'vv8.0.203'.
* Update src/modules/dotnet.rs
* tests(dotnet): add test for obtaining version from cli
---------
Co-authored-by: Bernd Verst <github@bernd.dev>
2024-07-07 16:15:56 +02:00
Cosmo Lau
f6ede1a1e5
docs(config): Update the sidebar in Simplified Chinese ( #6071 )
2024-07-07 16:15:09 +02:00
renovate[bot]
a4d96ed0db
build(deps): update reviewdog/action-suggester action to v1.16.0
2024-07-07 01:50:35 +00:00
renovate[bot]
22ff456e48
build(deps): update rust crate serde to 1.0.204
2024-07-06 21:29:15 +00:00
renovate[bot]
5cda5d56e6
build(deps): update rust crate gethostname to 0.5.0
2024-07-06 08:38:25 +00:00
renovate[bot]
ba907fb39d
build(deps): update crate-ci/typos action to v1.23.1
2024-07-05 15:15:04 +00:00
renovate[bot]
8809e91720
build(deps): update crate-ci/typos action to v1.23.0
2024-07-05 03:35:08 +00:00
renovate[bot]
c0540c2a7e
build(deps): update pest crates to 2.7.11
2024-07-02 14:25:30 +00:00
renovate[bot]
2faf609e5f
build(deps): update rust crate open to 5.2.0
2024-07-02 07:50:59 +00:00
renovate[bot]
06753d012a
build(deps): update rust crate serde_json to 1.0.120
2024-07-01 20:07:27 +00:00
renovate[bot]
7a544589a4
build(deps): lock file maintenance
2024-07-01 02:09:18 +00:00
renovate[bot]
a966567932
build(deps): update rust crate serde_json to 1.0.119
2024-06-30 21:17:53 +00:00
Iuliia Gracheva
4d36d463b9
feat(gcloud): Disabled gcloud module when active config hasn't been set ( #6039 )
...
* disabled gcloud module when active config hasn't been set
* added test case
* updated config-schema
2024-06-29 23:00:07 +02:00
Jouni
346d8acf3e
docs(preset): update the nerd-font-symbols preset ( #5931 )
2024-06-28 23:42:40 +02:00
A
0d688c312a
docs(preset): refactor jetpack 1.0.0
( #6002 )
...
* docs(jetpack): reorg `format` module, add continuation prompt,
* docs(jetpack): update `character` module symbols
* docs(jetpack): update `sudo` & `username` modules symbols & styles
* docs(jetpack): update `directory` module symbol & styles, add repo root
* docs(jetpack): update `cmd_duration` module - format, min_time, millisecs
* docs(jetpack): update `jobs` module format
* docs(jetpack): udpate `time` module - style & range
* docs(jetpack): refactor `battery` module - styles & threshold
* docs(jetpack): refactor `git` modules - styles & symbols
* docs(jetpack): refactor modules styles, & version format
* docs(jetpack): add version `1.0.0`
* fix(format): remove trailing comments
* fix(checks): resolve validation scheme errors
* fix: resolve schema validation failure
* Update docs/public/presets/toml/jetpack.toml
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
* chore(review): remove comments
* refactor(review): remove `blink` style
* refactor(review): use correct `character` module option (`vimcmd_symbol`)
* refactor: remove user specific options
* docs(jetpack): update image
---------
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-06-28 23:41:54 +02:00
Jovan Gerodetti
9a3e87f2cb
feat(color): add prev_fg and prev_bg as color specifiers based on the previous foreground/background colors respectively ( #6017 )
...
feat(color): add prevfg,prevbg as color specifiers based on the previous foreground/background colors respectively
Co-authored-by: Vladimir Lushnikov <vladimir@solidninja.is>
2024-06-28 23:40:35 +02:00
Evan Mattiza
e0281868c9
feat(purescript): add support for spago-next configuration files ( #6036 )
...
* update: add purescript spago-next configuration files
in upcoming spago projects, the configuration file is changing from
spago.dhall -> spago.yaml and spago.lock. This will detect both styles
for the time being
* fix typo
did not update test. spago.yaml -> spago.lock in the spago lock file
test case
2024-06-28 23:39:40 +02:00
renovate[bot]
4425b333d7
build(deps): update clap crates
2024-06-28 19:02:41 +00:00
renovate[bot]
f4c708862c
build(deps): update rust crate log to 0.4.22
2024-06-28 01:51:12 +00:00
renovate[bot]
365c1fb21b
build(deps): update rust crate serde_json to 1.0.118
2024-06-25 05:14:00 +00:00
renovate[bot]
3fa035b800
build(deps): update rust crate shadow-rs to 0.29.0
2024-06-24 19:03:29 +00:00
renovate[bot]
073e16b492
build(deps): lock file maintenance
2024-06-24 00:28:26 +00:00
renovate[bot]
ad09b50287
build(deps): lock file maintenance
2024-06-23 12:42:23 +00:00
David Knaack
e481b67f83
build(deps): lock file maintenance & permit new unicode license ( #6048 )
...
* build(deps): lock file maintenance
* chore(deny): allow unicode-3.0 license
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 11:49:28 +02:00
renovate[bot]
70d7dd68bd
build(deps): update reviewdog/action-suggester action to v1.15.0
2024-06-22 21:30:02 +00:00
renovate[bot]
9b2e8c41b4
build(deps): update crate-ci/typos action to v1.22.9
2024-06-22 18:45:59 +00:00
David Knaack
a1c50be2a4
chore(deps): handle signpath update ( #6000 )
2024-06-22 09:53:21 +02:00
David Knaack
aa05a1e5ab
chore: fix rust 1.79 lint warnings ( #6034 )
...
* chore: fix rust 1.79 lint warnings
* chore: update config-schema
2024-06-22 09:52:46 +02:00
renovate[bot]
eade2327e5
build(deps): update crate-ci/typos action to v1.22.8
2024-06-21 22:18:27 +00:00
renovate[bot]
5b92e7bd26
build(deps): update rust crate clap_complete to 4.5.6
2024-06-19 22:47:44 +00:00
renovate[bot]
37fba4cfb7
build(deps): update reviewdog/action-suggester action to v1.14.0
2024-06-17 16:59:07 +00:00
renovate[bot]
ed203fff71
build(deps): update rust crate versions to 6.3.0
2024-06-15 10:51:11 +00:00