Commit Graph

366 Commits

Author SHA1 Message Date
renovate[bot]
26375c49cf build(deps): update reviewdog/action-suggester action to v1.11.0 2024-02-08 22:27:21 +00:00
renovate[bot]
0161de8a7f
build(deps): update crate-ci/typos action to v1.18.2 2024-02-08 16:33:28 +00:00
renovate[bot]
7c3d34bce7
build(deps): update crate-ci/typos action to v1.18.1 2024-02-05 15:49:48 +00:00
renovate[bot]
c367d0089d
build(deps): update embarkstudios/cargo-deny-action action to v1.5.13 2024-02-05 09:10:03 +00:00
renovate[bot]
a77cd87289 build(deps): update crate-ci/typos action to v1.18.0 2024-02-01 19:39:13 +00:00
renovate[bot]
497f243c10
build(deps): update dependency taplo-cli to 0.9.0 2024-02-01 14:07:00 +00:00
renovate[bot]
7ec0e62ea3
build(deps): update embarkstudios/cargo-deny-action action to v1.5.12 2024-01-24 18:47:34 +00:00
renovate[bot]
aaf768d95c
build(deps): update embarkstudios/cargo-deny-action action to v1.5.11 2024-01-24 10:48:57 +00:00
renovate[bot]
ab261a6a26
build(deps): update reviewdog/action-suggester action to v1.10.0 2024-01-23 12:00:56 +00:00
renovate[bot]
80a3ecbe18 build(deps): update embarkstudios/cargo-deny-action action to v1.5.10 2024-01-22 21:16:37 +00:00
renovate[bot]
6d006132f2
build(deps): update embarkstudios/cargo-deny-action action to v1.5.9 2024-01-22 11:26:16 +00:00
renovate[bot]
8d0d68c3f0 build(deps): update crate-ci/typos action to v1.17.2 2024-01-20 23:16:12 +00:00
renovate[bot]
2f1fb8bf85
build(deps): update embarkstudios/cargo-deny-action action to v1.5.7 2024-01-20 10:12:15 +00:00
renovate[bot]
608391bab3 build(deps): update embarkstudios/cargo-deny-action action to v1.5.6 2024-01-20 01:23:23 +00:00
renovate[bot]
679fcc9c93 build(deps): update xalvarez/prevent-file-change-action action to v1.6.0 2024-01-17 22:09:18 +00:00
renovate[bot]
674c9b3415 build(deps): update crate-ci/typos action to v1.17.1 2024-01-14 13:21:18 +00:00
David Knaack
92d37f7ef6
ci(deps): move actions/checkout back to version instead of digest pin (#5474) 2024-01-07 09:05:37 +07:00
David Knaack
819045ee28
ci(release): use PAT for Merge Crowdin PR job (#5683) 2024-01-06 19:15:06 +07:00
Camron Flanders
cec111affd
fix(direnv): update to work with direnv v2.33 (#5657)
* update AllowStatus to work with direnv 2.33

direnv now returns int enum instead of boolean, https://github.com/direnv/direnv/pull/1158

* update schema

* maybe fixed the schema now

* Whoops, I inverted the flags somehow

* have coffee, fix mistaken understanding

* undo changes to tranlations

* Update docs/config/README.md

* Update src/modules/direnv.rs

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* update test output

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2024-01-06 11:46:25 +01:00
renovate[bot]
de4e1fde2f
build(deps): update crate-ci/typos action to v1.17.0 2024-01-03 04:34:35 +00:00
David Knaack
89dc19214b
fix: v1.17.0 post-release fix-ups (#5660)
* chore: cargo update

* chore(fmt): ignore `bn-BD`-tl in dprint

* ci(release): downgrade node in `notarize_and_pkgbuild`

* refactor(dprint): use generic excludes for translated docs
2023-12-30 17:28:50 +01:00
renovate[bot]
9277bbd21a
build(deps): update crate-ci/typos action to v1.16.26 2023-12-27 17:00:42 +00:00
renovate[bot]
9af6670cd2
build(deps): update reviewdog/action-suggester action to v1.9.0 2023-12-20 01:54:06 +00:00
Andrew Pantuso
e47bfbabb9
feat(direnv): add new direnv module (#5157) 2023-12-17 08:22:29 +01:00
Stefan Richter
6d96df3c68
feat(aws): Adding the AWS SSO CLI env variable to profile list (#5640)
Adding the AWS SSO CLI env variable to profile list

Adding support for the profile env variable used by https://github.com/synfinatic/aws-sso-cli
2023-12-17 08:20:58 +01:00
renovate[bot]
1272ec0811
build(deps): update crate-ci/typos action to v1.16.25 2023-12-13 16:17:24 +00:00
David Knaack
17dfe4cb90
ci: update release-please to v4 (#5619)
* build(deps): update google-github-actions/release-please-action action to v4

* move `draft` option to config file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-09 14:06:34 +01:00
renovate[bot]
269b9860b3
build(deps): update crate-ci/typos action to v1.16.24 2023-12-08 22:56:01 +00:00
Jan Gorecki
5267c464eb
feat: R lang packages version, remove .Rprofile from rlang detection (#5588)
* do not detect R for .Rprofile files, closes #2817

* get R package version, #5586

* update schema

* fix and simplify regex for rlang package version

* attempt to fix regex

* proper detect R packages, closes #5590

* reduce diff vs master branch
2023-11-29 07:25:40 +01:00
Gilbert Sanchez
d7a34b45f8
feat(shell): allow distinguishing between pwsh and powershell (#5478)
* Distinguish between pwsh and powershell

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-11-25 14:06:03 +01:00
renovate[bot]
cb6df1d142
build(deps): update xalvarez/prevent-file-change-action action to v1.5.1 2023-11-25 06:36:41 +00:00
renovate[bot]
e19aa6e7f3 build(deps): update giraffate/clippy-action digest to 94e9bd8 2023-11-23 14:57:55 +01:00
Charlotte Thomas
7b217056bd feat: add typst module
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-11-12 19:02:31 +01:00
renovate[bot]
183dd7daf3 build(deps): update crate-ci/typos action to v1.16.23 2023-11-07 16:42:31 +00:00
renovate[bot]
746a962020
build(deps): update crate-ci/typos action to v1.16.22 (#5502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-04 09:47:14 +01:00
Ohad Lutzky
7b851fc30e
feat(scanner): add option not to follow symlinks (#5325)
Add follow_symlinks option

Settings this to false can fix hanging on symlinks to slow/inaccessible
filesystems.
2023-11-02 09:01:09 +01:00
renovate[bot]
aaf0ca3224
build(deps): update xalvarez/prevent-file-change-action action to v1.4.0 (#5497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 21:33:33 +02:00
renovate[bot]
509e61e59f
build(deps): update crate-ci/typos action to v1.16.19 (#5486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 15:36:19 +02:00
renovate[bot]
97690bc75f
build(deps): update embarkstudios/cargo-deny-action action to v1.5.5 (#5473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 15:35:53 +02:00
renovate[bot]
7e82cb494c
build(deps): update crate-ci/typos action to v1.16.15 (#5453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 09:00:19 +02:00
Kevin Song
001253cebe
ci: Fix how version is obtained for pkgbuild (#5443)
* fix: Change how starship version is determined

* Add STARSHIP_VERSION envar into CI for notarization

* More strict!

* Supress pushd/popd output

* Fix shellcheck issue with quoting
2023-10-01 08:59:34 +02:00
renovate[bot]
45e47e5c29
build(deps): update mislav/bump-homebrew-formula-action action to v3 (#5455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 08:50:42 +02:00
Mick Hohmann
43b2d42cd5
feat(hostname): add detect_env_vars as option (#5196)
* Added hostname.detect_env_vars

based on the newly added context::detect_env_vars

- extended context::detect_env_vars to check for negated environment
  variables as well, analogous to the other detect modules
- made hostname.detect_env_vars only active if ssh_only is set to false
  for backwards compatibility

Co-authored-by: Dominik Sander <dsander@users.noreply.github.com>

* added clippy recommendations, removed unneeded comments

* Added new logic (suggested in https://github.com/starship/starship/pull/5196#issuecomment-1566228913)

The new `detect_env_vars` now requires either SSH_ONLY to be false or the
environment variable SSH_CONNECTION to be set, so that is will be used

* Fixed typo

* Refactored the detect_env_vars function for early returns and better readability

* Change boolean logic for better readability

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Apply suggestions from code review to `detect_env_vars` method.

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* Fixed bracket error & updated comments

- fixed bracket error in hostname.rs, after changes
- updated comments for context.rs, for the suggested changes

* Removed obsolete warning from docs/config/README.md

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

---------

Co-authored-by: Dominik Sander <dsander@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-09-16 16:42:13 +02:00
renovate[bot]
75708a5f89
build(deps): update mislav/bump-homebrew-formula-action action to v2.3 2023-09-12 17:06:14 +00:00
renovate[bot]
8e174471b4 build(deps): update crate-ci/typos action to v1.16.11 2023-09-07 01:23:04 +00:00
renovate[bot]
55c07bcc7d
build(deps): update reviewdog/action-suggester action to v1.8.0 2023-09-06 20:31:45 +00:00
renovate[bot]
d70d403ddd build(deps): update reviewdog/action-suggester action to v1.7.5 2023-09-05 12:53:28 +00:00
renovate[bot]
d59bce30ae
build(deps): update actions/checkout action to v4 (#5416) 2023-09-05 03:09:06 +09:00
Jan Katins
6b444e05c6
feat(kubernetes): Add styling based on current context (#4550)
* feat(kubernetes): Add styling based on current context

Add an ability to customize the configuration of the kubernetes module style, based on the current context.

A new variable is added to the config section, called environments, which is a list of possible customizations. Each such customization is an object with a context_pattern regex, which matches context name, and an optional style and icon that will override the global configuration, if the currently used context matched the context_pattern.

Based on multiple attempts to add per-context styling and symbols to the kubernetes module.

- https://github.com/starship/starship/pull/1568 by @lht https://github.com/lht -> base
- https://github.com/starship/starship/pull/614 by @nomaed https://github.com/nomaed -> naming, symbol, some tests

Rebased and combined by @jankatins

Contains the following squasched commits

- Rename to contexts and move aliases into contexts
- Move deprecated functions to a submodule
- Cleanup: ignore None-valued KubeCtxComponents
- Add regex func + clean up matching-context search
- Placate paper clip

Closes: https://github.com/starship/starship/issues/570

Co-authored-by: =?UTF-8?q?Boris=20Aranovic=CC=8C?= <nomaed@gmail.com>
Co-authored-by: Jan Katins <jasc@gmx.net>
Co-authored-by: Kevin Song <chips@ksong.dev>

* refactor(kubernetes): Remove options and use clearer names

* test(kubernetes): Handle duplicated contexts right

* refactor(kubernetes): Cleaner user matching

* fix(kubernetes): Only show warning in case of problems

* feat(kubernetes): Add back alias replacements

* refactor(kubernetes): Cleanup rust usage

---------

Co-authored-by: Haitao Li <lihaitao@gmail.com>
Co-authored-by: =?UTF-8?q?Boris=20Aranovic=CC=8C?= <nomaed@gmail.com>
Co-authored-by: Kevin Song <chips@ksong.dev>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-09-02 09:19:33 +02:00
Vegard Skui
e867cda1eb
feat(fossil_metrics): add fossil_metrics module (#4874)
* feat(fossil_metrics): add fossil_metrics module

* Return early if not in a Fossil check-out

* Add more tests for fossil_metrics

* Move is in Fossil checkout check after module enabled check

* Update type for new toml version

* Update the config file schema

* Rework parsing of fossil diff output

* Fix Fossil check-out detection in subdirectories

* Use regex to only match expected fossil diff output

* Use shared ancestor scanning and fix detection on Windows

* Add note on minimum Fossil version
2023-09-02 09:19:04 +02:00