Commit Graph

345 Commits

Author SHA1 Message Date
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
renovate[bot] 91d9053aa4
build(deps): update crate-ci/typos action to v1.16.10 2023-09-02 02:21:09 +00:00
renovate[bot] 1884409c56
build(deps): update crate-ci/typos action to v1.16.9 2023-08-30 16:26:37 +00:00
renovate[bot] cc08685c2c
build(deps): update crate-ci/typos action to v1.16.8 2023-08-21 18:23:54 +00:00
renovate[bot] 4c6835bfd8
build(deps): update crate-ci/typos action to v1.16.6 2023-08-19 01:35:06 +00:00
renovate[bot] cfdd8d9ca0
build(deps): update crate-ci/typos action to v1.16.5 2023-08-14 17:24:23 +00:00
renovate[bot] d63ef1febb
build(deps): update crate-ci/typos action to v1.16.4 2023-08-12 05:02:43 +00:00
renovate[bot] 173486f85c
build(deps): update crate-ci/typos action to v1.16.3 2023-08-09 14:10:13 +00:00
renovate[bot] b24bdbc74e
build(deps): update reviewdog/action-suggester action to v1.7.4 2023-08-07 16:12:29 +00:00
renovate[bot] 04f0fe380a
build(deps): update reviewdog/action-suggester action to v1.7.3 2023-08-06 04:50:27 +00:00
renovate[bot] 4ac4fa886e
build(deps): update reviewdog/action-suggester action to v1.7.2 2023-08-05 06:40:48 +00:00
renovate[bot] 667a07bf88
build(deps): update crate-ci/typos action to v1.16.2 2023-08-01 20:25:17 +00:00
renovate[bot] 36f0f21e3d
build(deps): update embarkstudios/cargo-deny-action action to v1.5.4 2023-07-28 18:59:28 +00:00
renovate[bot] 89cad4261c
build(deps): update crate-ci/typos action to v1.16.1 2023-07-14 21:54:07 +00:00
Vivek Kushwaha 3402f0e82a
feat(shlvl): add repeat_offset for repeated symbol (#5289)
Signed-off-by: Vivek Kushwaha <yoursvivek@users.noreply.github.com>
2023-07-14 10:59:02 +02:00
renovate[bot] 9bbc7b469d build(deps): update dependency taplo-cli to 0.8.1 2023-07-11 08:59:50 +00:00
renovate[bot] c0fee510d8
build(deps): update crate-ci/typos action to v1.16.0 2023-07-10 16:55:09 +00:00
renovate[bot] 6d33ad6914 build(deps): update crate-ci/typos action to v1.15.10 2023-07-03 19:33:24 +00:00
renovate[bot] a26b5b0f2b build(deps): update crate-ci/typos action to v1.15.9 2023-07-01 12:08:09 +00:00
renovate[bot] ad22e3e93c build(deps): update crate-ci/typos action to v1.15.7 2023-06-27 09:40:25 +00:00
renovate[bot] 85dd256a26
build(deps): update crate-ci/typos action to v1.15.6 2023-06-26 14:26:37 +00:00
renovate[bot] 52ecc411eb
build(deps): update crate-ci/typos action to v1.15.5 2023-06-22 19:53:44 +00:00