Commit Graph

2833 Commits

Author SHA1 Message Date
renovate[bot]
d84bfabefd build(deps): update dependency dprint/dprint-plugin-markdown to v0.15.2 2023-01-23 05:11:49 +00:00
Benjamin Sherman
85d683daf2
fix(container): reduce docker, podman and systemd confusion (#4832)
* Fixes #3821 to provide an improved experience for display of container

Details:
- podman containerenv processing is now happens before systemd
- if systemd/container contains "docker", now shows "Docker"
- maintains fix from #4593 to prevent 'Systemd" display on WSL
- refactors tests for systemd detection

* only compile function for linux

* correct 'default' systemd test use use None, codecov caught this mistake

* refactor my change to systemd/container detection so that it has one stage instead of multiple
2023-01-22 23:36:42 +01:00
renovate[bot]
a79f8f8aa0 build(deps): update rust crate which to 4.4.0 2023-01-20 13:30:39 +00:00
renovate[bot]
8f13b0fd56 build(deps): update rust crate toml to 0.5.11 2023-01-20 09:28:41 +00:00
Filip Bachul
c40321c4d7 Merge branch 'master' into conditional-style 2023-01-19 18:51:24 +01:00
renovate[bot]
d4da840407 build(deps): update rust crate nix to 0.26.2 2023-01-18 10:50:51 +00:00
Matan Kushner
1e35f0c163
ci: don't fail CI if codecov fails to upload 2023-01-18 12:04:04 +09:00
Matan Kushner
d09d8093dc
docs: add Appwrite as a supporter tier sponsor 2023-01-18 01:24:38 +09:00
renovate[bot]
9d332fc322 build(deps): update rust crate clap to 4.1.1 2023-01-14 08:36:01 +00:00
Filip Bachul
b845821958 Merge branch 'master' into conditional-style 2023-01-13 22:23:58 +01:00
renovate[bot]
ed36d39fb7 build(deps): update clap crates to 4.1.0 2023-01-13 19:55:30 +00:00
renovate[bot]
1ae201e8df build(deps): update rust crate windows to 0.44.0 2023-01-12 23:46:27 +00: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
renovate[bot]
bb549e665e build(deps): update pest crates to 2.5.3 2023-01-11 19:20:47 +00:00
かわえもん
64e0208708
chore(aws): fix unintended test failure of aws::missing_any_credentials (#4805)
chore(aws): fix unintended test failure of `aws::missing_any_credentials` 

Because its mocking is not enough, The test may unintentionally fail
if `~/.aws/credentials` exists.
This commit fixes this issue by mocking `credentials` file as well.
2023-01-11 10:51:39 +01:00
Andre Ribeiro
e88484d567
fix(nodejs): apply style even if node version is unavailable (#4713)
* correct nodejs color

* Update src/modules/nodejs.rs

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

* Update src/modules/nodejs.rs

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

* fix: removed unecessary unwraps

* test: no node installed

* test: no node installed

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-01-10 23:00:09 +01:00
renovate[bot]
af5e506192 build(deps): update gitoxide crates 2023-01-10 19:23:53 +00:00
renovate[bot]
8845c7168b build(deps): update rust crate regex to 1.7.1 2023-01-09 23:08:07 +00:00
renovate[bot]
aa09aa3f19 build(deps): update rust crate git-repository to 0.32.0 2023-01-09 18:13:43 +00:00
Filip Bachul
d1c390820c Merge branch 'master' into conditional-style 2023-01-09 17:21:37 +01:00
renovate[bot]
1e4e098984 build(deps): update dependency dprint/dprint-plugin-typescript to v0.80.2 2023-01-09 07:00:39 +00:00
renovate[bot]
4656abdca4 build(deps): update npm to ^1.9.8 2023-01-09 03:32:49 +00:00
renovate[bot]
3c9e21ec2f build(deps): update rust crate notify-rust to 4.7.0 2023-01-08 18:10:12 +00:00
David Marzal
5012f7a4c2
docs: use literal toml strings in continuation_prompt docs (#4794) 2023-01-07 21:43:56 +01:00
Takuya Uehara
fcdf2a0fb6
chore: remove version check for unsupported nushell version (#4791) 2023-01-06 12:13:04 -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
David Knaack
e47ea57db2
feat(logger): delete old logs & avoid more dup logs (#4348)
* feat(logger): delete old logs & avoid more dup logs

* `match` -> `let else` where possible
2023-01-04 09:22:02 +01:00
renovate[bot]
908ce9e50f build(deps): update rust crate toml_edit to 0.17.1 2023-01-03 13:51:38 +00:00
mutation
35889bfebd
docs(presets): fix the scope of tip block (#4788) 2023-01-03 17:55:03 +09: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
John Slowik
8a8e09dd50
docs(preset): Plaintext status added (#4775)
* Plaintext status added

* One test case
2022-12-31 12:35:28 +01:00
renovate[bot]
e0590f1669 build(deps): update gitoxide crates 2022-12-30 23:52:36 +00:00
cassis163
69929dd0ac
docs(nu): Add -f flag (#4777)
* Add missing -f flag in documentation

* Fix Nushell version
2022-12-30 18:04:47 +01:00
renovate[bot]
580113092b build(deps): update rust crate shadow-rs to 0.20.0 2022-12-30 14:37:51 +00:00
renovate[bot]
92e73fa86c build(deps): update rust crate once_cell to 1.17.0 2022-12-29 20:37:34 +00:00
Filip Bachul
3ccf21a4fb Merge branch 'master' into conditional-style 2022-12-29 19:03:37 +01:00
Jérémy Audiger
8c2135f55d
docs(typo): replace 'to to' with 'to' (#4773)
fix: 'to to' -> 'to'
2022-12-29 18:57:54 +01:00
renovate[bot]
ce18b7bb9e build(deps): update rust crate quick-xml to 0.27.1 2022-12-28 23:57:06 +00: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
renovate[bot]
f183a4e4c2 build(deps): update rust crate toml_edit to 0.16.2 2022-12-28 05:05:06 +00: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
Scott Palmer
9093891acb
fix(package): Improve regex for extracting gradle version from gradle.properties (#4760)
fix: Improve regex for extracting gradle package version from gradle.properties (#4759)
2022-12-27 13:40:56 +01:00
renovate[bot]
d4e664eda5 build(deps): update rust crate toml_edit to 0.16.1 2022-12-27 06:45:51 +00:00
renovate[bot]
ddb17f8851 build(deps): update rust crate serde to 1.0.152 2022-12-26 21:51:05 +00:00
renovate[bot]
2ab07552e1 build(deps): update gitoxide crates 2022-12-26 15:29:51 +00:00