Commit Graph

364 Commits

Author SHA1 Message Date
Filip Bachul
159b17bec8 Merge branch 'master' into conditional-style 2023-03-27 10:17:38 +02:00
renovate[bot]
bbcc1302a6
build(deps): update embarkstudios/cargo-deny-action action to v1.5.0 2023-03-25 11:35:17 +00:00
renovate[bot]
4474bdd94f build(deps): update crate-ci/typos action to v1.14.3 2023-03-23 06:03:25 +00:00
Zhizhen He
0f8a2d9363
chore: add spell checker to workflows (#4975)
* chore: add spell checker to workflows

* fix: update config schema

* fix: revert for fennel.rs
2023-03-22 13:42:46 -05:00
Harry Hodge
74ce7fdbee
feat(aws): Adds support for AWS_CREDENTIAL_EXPIRATION environment variable (#5002)
feat(aws): supports AWS_CREDENTIAL_EXPIRATION environment variable

Adds support for the AWS_CREDENTIAL_EXPIRATION environment variable
which was adopted as the standard way to set the expiration for
temporary credentials. The existing AWS_SESSION_EXPIRATION environment
variable is not dropped for backwards compatibility.

See https://github.com/aws/aws-cli/pull/7398
2023-03-20 21:56:12 +01:00
Filip Bachul
c47d12cab8 Merge branch 'master' into conditional-style 2023-03-07 16:59:55 +01:00
David Knaack
4c12a7878b
ci: use reviewdog/action-suggester for config-schema check (#4857)
* ci: use `reviewdog/action-suggester` for config-schema check

* increase workflow permissions
2023-03-02 18:49:26 +01:00
David Knaack
5e5ccc4ebe
ci: replace audit with deny action (#4856) 2023-02-28 12:22:02 -06:00
Filip Bachul
3e505d3d5e Merge branch 'master' into conditional-style 2023-02-28 09:53:17 +01:00
David Knaack
b55774d3a6
feat(release): handle chocolatey starship.portable and starship.install pkg publishing (#4723)
Handles starship.install (MSI installer) and starship.portable and makes starship an 
empty meta-package that only depends on starship.install. MSI/installer packages 
seem to be preferred over zip-based installers on chocolatey. Proper virtual packages 
that allow choosing either a portable or install variant aren't implemented in chocolatey yet.
2023-02-27 23:03:32 -06:00
renovate[bot]
fc531e75b0 build(deps): update dprint plugins 2023-02-27 00:21:53 +00:00
Filip Bachul
9fa919e02c Merge branch 'master' into conditional-style 2023-02-26 17:59:01 +01:00
Matan Kushner
1447957e97
ci: add caching for docs publishing step 2023-02-26 12:00:16 +09:00
Matan Kushner
65e1b988a4
ci: remove unneeded dependency in publish job 2023-02-26 11:58:37 +09:00
Matan Kushner
a048ddd6eb
ci: allow docs to be manually published via workflow_dispatch 2023-02-26 11:56:49 +09:00
Matan Kushner
6b55eeef98
ci: set Node version for docs build 2023-02-26 11:45:33 +09:00
David Knaack
d1891de638
chore: use updated gitoxide crate names (#4913) 2023-02-21 13:03:17 +09:00
Filip Bachul
9270e016a6 Merge branch 'master' into conditional-style 2023-02-15 19:10:37 +01:00
iuhoay
07c2298965
feat(java): Add .sdkmanrc for Java (#4888)
* Add `.sdkmanrc` for Java

* Update config-schema.json, Add `.sdkmanrc` file for Java

* Update doc
2023-02-11 14:06:21 +01:00
Filip Bachul
4a3d941357 Merge branch 'master' into conditional-style 2023-02-09 09:35:13 +01:00
Matan Kushner
93c7eca550
ci: reduce renovate PR noise (#4892) 2023-02-09 03:51:38 +09:00
David Knaack
c019630653
build(deps): update rust crate os_info to 3.6.0 (#4878)
* build(deps): update rust crate os_info to 3.6.0

* add new os symbols

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-07 12:52:14 +01:00
Filip Bachul
53c64e5116 Merge branch 'master' into conditional-style 2023-02-02 18:00:20 +01:00
renovate[bot]
30084e113a build(deps): update mislav/bump-homebrew-formula-action action to v2.2 2023-01-31 12:50:36 +00:00
Vegard Skui
41eb98b310
feat(fossil_branch): add fossil_branch module (#4806)
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-01-31 09:06:46 +01:00
Filip Bachul
c40321c4d7 Merge branch 'master' into conditional-style 2023-01-19 18:51:24 +01:00
Matan Kushner
1e35f0c163
ci: don't fail CI if codecov fails to upload 2023-01-18 12:04:04 +09:00
Filip Bachul
0d8a603dbd Merge branch 'master' into conditional-style 2023-01-12 20:38:20 +01:00
Florent Vilmart
10433e31ef
feat(config): Adds support for --profile <custom profile name> (#3467)
Co-authored-by: Kevin Song <chips@ksong.dev>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-01-11 21:25:36 -06:00
Filip Bachul
9e4608e6d3 Merge branch 'master' into conditional-style 2023-01-04 21:02:33 +01:00
Jan Katins
4fa7395c9e
chore: Don't run crowdin workflow on forks (#4790) 2023-01-04 10:31:25 +01:00
Filip Bachul
a8a0b1524f Merge branch 'master' into conditional-style 2023-01-02 15:03:34 +01:00
Lyle Mantooth
67b6376e2e
feat: add pijul_channel module (#4765)
* feat: Pijul VCS support

* Extra bits needed for new module.

* Format Markdown table.

* Fix lint.

* Don't test Pijul module so thoroughly.

Installing from source is too expensive, and compiled binaries are only
available for Windows (and unofficially as well). Perhaps once Pijul
1.0.0 comes out of beta there will be more binaries available in package
  repos.

* Format!

* Bad rebase, remove Pijul install from workflow.

* Mock Pijul commands for code coverage.

* Make fake .pijul directory in fixture.

* Truly mock `pijul` command.

* Rename module from `pijul` to `pijul_channel`.

* Format!

* Fix config-schema.json.

* Missed changing module name in docs/ folder.
2022-12-31 15:55:23 +01:00
Nicolas Évrard
8d2256ab1d
feat(hg_branch): Add support for mercurial topics and find hg root dir (#4771)
* feat(hg_branch): Add support for mercurial topics and find hg root dir

* Fix clippy errors

* Use crate::utils::read_file

* Update config-schema.json

* Extend PathExt to retrieve device ID of Path

* Break hg root search when switching to another device

* Fix clippy and formatting errors

* Update docs/config/README.md

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

* Update src/modules/utils/path.rs

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

* Update src/configs/hg_branch.rs

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

* Update hg_branch description

* Revert to lazy loading, use truncate_text from utils and use fake topic

* Format code and fix clippy error

* Revert to previous test string as topic is optional in the config

* Fix doc formatting

* Stub device_id for windows

* Update config-schema.json

* Update src/modules/hg_branch.rs

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

* Do not use unwrap in device_id

* Fix formatter error

* Use dev under non linux unixes

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-12-31 15:53:55 +01:00
Filip Bachul
34e141d9f1 Merge branch 'master' into conditional-style 2022-12-28 22:03:38 +01:00
David Knaack
5d4cb6ff8f
feat(env_var): Add support for env_var.VAR in format (#4497)
Co-Authored-By: Segev Finer <24731903+segevfiner@users.noreply.github.com>

Co-authored-by: Segev Finer <24731903+segevfiner@users.noreply.github.com>
2022-12-28 21:00:49 +01:00
Julian Antonielli
19fdf9bba5
feat(nix): support new nix shell command (#4724)
* Support `nix shell`

* Remove unnecessary `Debug` implementation

* Add test to detect false positive

* Improve detection of `/nix/store` in $PATH

* Add docs about unknown state

* Gate under `heuristic` flag

* Regenerate config schema
2022-12-27 14:59:40 +01:00
Filip Bachul
c100bbdc73 Merge branch 'master' into conditional-style 2022-12-21 18:20:46 +01:00
fold-squirrel
e93dbf8630
feat(fennel): add fennel module (#4717) 2022-12-21 10:53:53 -06:00
Filip Bachul
4fd906597f Merge branch 'master' into conditional-style 2022-12-18 13:57:48 +01:00
Marie
220844daa0
feat(gradle): add gradle module (#4423)
* docs: document gradle module

* implement gradle module

* gradle-module: add test for wrapper properties case

* docs: improve gradle module documentation

* fix: fix gradle module wrapper properties test

* drop gradle executable strategy

* apply suggested stuff

* Fix config schema
2022-12-17 13:32:40 +01:00
Filip Bachul
83d6df3fbe Merge branch 'master' into conditional-style 2022-12-09 13:51:25 +01:00
Dennis Waitong Lam
7341607c29
fix(buf): broken icon on windows 10 (#4689)
Closes https://github.com/starship/starship/issues/4608
2022-12-09 18:41:59 +09:00
Filip Bachul
249a420969 Merge branch 'master' into conditional-style 2022-12-07 00:06:02 +01:00
AlexHaxe
2766c78749
feat: add Haxe support (#4395)
* Add Haxe support

* avoid unwrap

* fix doc formatting

* removed extra newline

* fixed formatter and linter issues

* fixed config file

* better version of detecting contents of .haxerc

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

* removed openfl related defaults from detect_files

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

* fixed formatting

* reworked reading .haxerc with fallback to haxe --version

* fixed formatting

* added fallback to executable for dev paths in .haxerc

* fixed linter issue

* added support for Windows paths

* use or_else

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

* use shorter version with `?`

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

* simplified regex check

removed check for "null" string

* fixed format

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-12-04 18:28:49 +01:00
Filip Bachul
8579270db9 Merge branch 'master' into conditional-style 2022-12-02 18:48:52 +01:00
cgzones
ea6249b524
feat(directory): add before_repo_root_style (#4595) 2022-12-01 23:09:11 +01:00
Filip Bachul
3de96353ed Merge branch 'master' into conditional-style 2022-11-26 16:40:09 +01:00
David Knaack
df37e8d40c
feat(release): add chocolatey publishing (#4637)
* feat(release): add chocolatey publishing

* change variable forwarding
2022-11-25 17:19:03 +01:00
Filip Bachul
d78a845065 Merge branch 'master' into conditional-style 2022-11-22 09:53:10 +01:00
Marco Ieni
e4dbff0fc7
fix(ci): cache after selecting the toolchain (#4619) 2022-11-21 10:54:59 -06:00
Filip Bachul
4136b2ec48 Merge branch 'master' into conditional-style 2022-11-14 09:18:29 +01:00
renovate[bot]
df5a04288c build(deps): update dependency cargo-wix to 0.3.4 2022-11-12 18:38:46 +00:00
Filip Bachul
777125e645 Merge branch 'master' into conditional-style 2022-11-06 22:44:09 +01:00
exincore
3109943822
feat: Add operating system module (#4109)
* docs(os): Add os module documentation

* docs(os): Add os to Default Prompt Format

* chore(os): Update config file schema

* feat(os): Add os entries and declarations

* feat(os): Add os module and config

* fix(os): Obey config.disabled

* feat(os): make variables 'Unknown'-aware

refactor(os): calculate variables in dedicated functions

* test(os): Add os module tests

* feat(os): make 'name' variable less 'Unknown'-aware

* docs(os): Add Preset configurations

docs(os): Use emoji as default

* feat(os): Use emoji as default

test(os): Use emoji as default

* fix(os): Add spaces after emoji symbols

* chore(os): Update config schema

* feat(os): Remove `bitness` variable

docs(os): Remove `bitness` variable

test(os): Remove `bitness` test

* feat(os): Add Cargo.toml upgrade caution for os_info

* refactor(os): Clarify get_symbol function

* docs(os): Mention supported operating systems and feature requests

* docs(os): Mention os_info inacurracy

* test(os): Remove `bitness` leftovers

* refactor(os): use nu_ansi_term

* refactor(os): add cfg_attr(schemars(deny_unknown_fields))

* chore(os): update config schema

* docs(os): expose details block

* feat(os): add garuda linux

* chore(os): update config schema

* feat(os): add case insensitivity

* feat(os): add symbols `IndexMap` use `os_info::Type` instead of `String`

* test(os): add clippy warn on new os_info::Type case

* leave missing case to test github tests

* test(os): re-add missing test case

* style(os): fix formatting

* docs(os): update to match os_info::Type serialization

- docs(os): add missing garuda to config

- test(os): mention docs updates in warn_on_os_info_update
2022-11-06 22:37:58 +01:00
David Knaack
6e38683c89
chore: fix new clippy lints (#4557) 2022-11-05 12:40:46 +01:00
Filip Bachul
eec41f55b7 Merge branch 'master' into conditional-style 2022-11-02 08:58:37 +01:00
renovate[bot]
0dea740cb3
build(deps): update xalvarez/prevent-file-change-action action to v1.3.1 (#4553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-01 19:24:19 -05:00
Filip Bachul
141fcc39e2 Merge branch 'master' into conditional-style 2022-11-01 22:15:26 +01:00
renovate[bot]
d3cf18ffe9 build(deps): update dependency taplo-cli to 0.8.0 2022-10-31 21:16:56 +00:00
Filip Bachul
337c6ee7a0 Merge branch 'master' into conditional-style 2022-10-25 13:07:58 +02:00
renovate[bot]
888afbed35 build(deps): update dependency taplo-cli to 0.7.2 2022-10-25 09:37:13 +00:00
Thierry Delafontaine
d4bcc519e6
feat(guix_shell): Initial implementation (#4397)
* feat(guix_shell): Initial implementation (#3999)

* fix(guix_shell): Change guix nerd font icon to water buffalo emoji

* fix(guix_shell): Added guix_shell entries in preset files

* fix(guix_shell): Moved guix_shell config docs in to the correct place (alphabetically)
2022-10-25 07:44:04 +02:00
Filip Bachul
c33189f60d Merge branch 'master' into conditional-style 2022-10-19 00:40:53 +02:00
renovate[bot]
1f6619a43e
build(deps): update swatinem/rust-cache action to v2 (#4493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 14:13:12 +02:00
AppleTheGolden
865e68da3a
feat: Open Policy Agent module (#1740) (#4441)
* feat: Open Policy Agent module (#1740)

* Format documentation

* Fix typo, `ropa` -> `rego`

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

* Update presets for OPA module

* Add extra space to OPA module symbol

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-10-15 18:15:33 +02:00
David Knaack
186d99e623
fix(status): replace multiply with cross mark emoji (#4461) 2022-10-15 14:16:39 +02:00
Filip Bachul
e9a1749ab4 Merge branch 'master' into conditional-style 2022-10-12 21:01:51 +02:00
Jamie
355800f814
feat(module): Add a meson devenv indicator (#4389)
* feat(module): Add a meson devenv indicator

Adds a Meson Developer Environment indicator, if the MESON_DEVENV
variable is set. Inside a `meson devenv`, the prompt will include the
current Meson project name

This also contains a new Truncate utility function, which may be adapted for other modules in the future

* docs: Add Meson to presets
2022-10-11 18:02:46 +02:00
Filip Bachul
dcb727a8a0 Merge branch 'master' into conditional-style 2022-10-08 11:16:11 +02:00
wilhelm
3d452367bd
fix(buf): fix spacing & harmonize docs with actual configuration (#4450)
* fix(buf): add whitespace after version string

* fix: update config schema

* fix: config version and bison emoji

* fix: update documentation format

* fix: dprint

* fix: config schema
2022-10-07 22:07:30 +02:00
renovate[bot]
0557a7f347 build(deps): update dependency taplo-cli to 0.7.0 2022-10-05 04:33:58 +00:00
renovate[bot]
867a89a862 build(deps): update dependency cargo-wix to 0.3.3 2022-10-04 17:38:33 +00:00
David Knaack
c69d371d10
ci: replace dependabot with renovate (#4405) 2022-10-03 22:45:39 -04:00
Filip Bachul
35055fe7db Merge branch 'master' into conditional-style 2022-09-29 09:41:48 +02:00
Anomalocaridid
d93074d056
feat: add user-defined color palette (#4209)
* docs(config): add color palette to docs

* feat: add user-defined color palette

* fix: update config schema

* refactor: apply suggestions from code review

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

* fix: update new test

* feat: add support for multiple palettes

* docs(config): update docs for multiple color palettes

* docs(config): fix formatting

* test: test overriding a predefined color with itself

* docs: mention palettes cannot reference themselves

* refactor: warn when using a nonexistent palette

* test: test retrieving a nonexistent color palette

* fix: fix issues with palette log messages

* fix: update config schema

* fix: skip serializing palette if none

* refactor: change nonexistent palette message to warning

* fix: update config schema

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-09-27 23:08:52 +02:00
Filip Bachul
a80010afd2 Merge branch 'master' into conditional-style 2022-09-15 23:35:15 +02:00
dependabot[bot]
96fcf3dcf1
build: bump xalvarez/prevent-file-change-action from 1.2.0 to 1.3.0 (#4370)
Bumps [xalvarez/prevent-file-change-action](https://github.com/xalvarez/prevent-file-change-action) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/xalvarez/prevent-file-change-action/releases)
- [Commits](https://github.com/xalvarez/prevent-file-change-action/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: xalvarez/prevent-file-change-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-15 03:15:29 -04:00
Filip Bachul
2fc6037c9d Merge branch 'master' into conditional-style 2022-09-13 14:05:39 +02:00
David Knaack
b5d3d8fcf3
feat(schema): deny unknown keys (#4270) 2022-09-09 14:59:38 +02:00
Filip Bachul
c9c8f39b6b Merge branch 'master' into conditional-style 2022-09-08 21:21:16 +02:00
David Knaack
1e284347fa
ci: avoid running tests twice for dependabot prs (#4350) 2022-09-08 21:00:40 +02:00
Filip Bachul
37a9183f00 Merge branch 'master' into conditional-style 2022-08-25 15:15:06 +02:00
Matan Kushner
627a05862b
ci: publish to cargo and brew after successful release 2022-08-19 12:22:04 -04:00
David Knaack
5984f0829e
perf(git_commit): only use exact match for tag by default (#4281) 2022-08-19 08:27:41 +02:00
Filip Bachul
6b4f3770d1 Merge branch 'master' into conditional-style 2022-08-16 13:30:13 +02:00
David Knaack
37f350a476
build: use cargo for stripping release binaries (#4246) 2022-08-14 15:31:08 -04:00
Filip Bachul
07fe2cc722 Merge branch 'master' into conditional-style 2022-08-01 22:52:10 +02:00
David Knaack
85692d1bf6
feat: add bun module (#4187) 2022-08-01 12:59:36 +02:00
Filip Bachul
eb6352d49c Merge branch 'master' into conditional-style 2022-07-21 23:37:25 +02:00
Artyom Belousov
61438484bd
feat(status): Add pipestatus_segment_format option to status module (#4103)
Add pipestatus_segment_format
2022-07-19 15:07:50 +02:00
dependabot[bot]
a92c2582e6
build: bump dprint/check from 2.0 to 2.1 (#4183)
Bumps [dprint/check](https://github.com/dprint/check) from 2.0 to 2.1.
- [Release notes](https://github.com/dprint/check/releases)
- [Commits](https://github.com/dprint/check/compare/v2.0...v2.1)

---
updated-dependencies:
- dependency-name: dprint/check
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 03:05:43 -04:00
Filip Bachul
8f0659b075 Merge branch 'master' into conditional-style 2022-07-12 13:43:12 +02:00
Thomas O'Donnell
5c5969c50b
feat(k8s): Add folder detection to the k8s module. (#4157)
Have added configuration options to the k8s module to allow activating
the module only in directories that contains certain files or folders.
To ensure this is backwards compatible and because there are not really
any standard files or folders for Kubernetes I have set the defaults to
empty and will activate the module for all directories.
2022-07-10 11:14:54 +02:00
David Knaack
af15de93c4
perf(pulumi): allow disabling upwards discovery (#4159)
* perf(pulumi): disable upwards discovery by default

* change `search_upwards` default to `true`
2022-07-10 11:14:43 +02:00
Filip Bachul
5c6f06ce32 Merge branch 'master' into conditional-style 2022-06-30 14:15:39 +02:00
Matan Kushner
7feb2174e7
ci: replace GITHUB_TOKEN with GH_PAT (#4133) 2022-06-29 13:34:25 -04:00
Matan Kushner
3538efe727
ci: fix release hiccups caused by draft release (#4125) 2022-06-28 14:18:19 -04:00
David Knaack
e1351ac096
ci(release): fix msi upload (#4115) 2022-06-26 18:26:45 -04:00
David Knaack
3ac904544d
ci(release): draft release until binaries are uploaded (#4116) 2022-06-26 16:30:33 -04:00