Commit Graph

805 Commits

Author SHA1 Message Date
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
renovate[bot]
91a01561ff build(deps): update rust crate regex to 1.7.0 2022-11-05 22:37:48 +00:00
renovate[bot]
045d6bc4ec build(deps): update rust crate terminal_size to 0.2.2 2022-11-05 17:51:51 +00:00
renovate[bot]
972d7f1481 build(deps): update rust crate clap to 4.0.19 2022-11-05 15:52:00 +00:00
renovate[bot]
4c47247c47 build(deps): update pest crates to 2.4.1 2022-11-05 13:27:18 +00:00
renovate[bot]
9b64f518c9 build(deps): update rust crate systemstat to v0.2.2 2022-11-03 02:38:53 +00:00
David Knaack
d1bc982a37
chore: bump msrv to 1.64 (#4542)
* chore: bump msrv to 1.64

* clippy fix
2022-10-30 11:17:54 +01:00
renovate[bot]
cd540e7fc6 build(deps): update rust crate once_cell to 1.16.0 2022-10-29 12:27:05 +00:00
renovate[bot]
367c941665 build(deps): update rust crate gethostname to 0.4.0 2022-10-29 00:30:37 +00:00
renovate[bot]
c3cd499a30 build(deps): update rust crate windows to 0.43.0 2022-10-25 03:24:59 +00:00
renovate[bot]
3d972d65c2 build(deps): update rust crate shadow-rs to 0.17.1 2022-10-24 04:43:04 +00:00
renovate[bot]
a40f4c9794 build(deps): update rust crate quick-xml to 0.26.0 2022-10-23 14:37:37 +00:00
renovate[bot]
eccd8be17e build(deps): update rust crate toml_edit to 0.15.0 2022-10-22 01:20:50 +00:00
renovate[bot]
ad2742a6ab build(deps): update rust crate serde to 1.0.147 2022-10-21 21:12:39 +00:00
renovate[bot]
9d22f2d05a build(deps): update rust crate serde to 1.0.146 2022-10-21 12:05:15 +00:00
renovate[bot]
f48302c04b build(deps): update rust crate clap to 4.0.18 2022-10-21 03:37:42 +00:00
renovate[bot]
bd9c536e0e build(deps): update rust crate serde_json to 1.0.87 2022-10-20 01:57:58 +00:00
renovate[bot]
0b173c263e build(deps): update rust crate clap_complete to 4.0.3 2022-10-19 00:20:58 +00:00
renovate[bot]
51d62ac324 build(deps): update rust crate clap to 4.0.17 2022-10-18 18:41:34 +00:00
renovate[bot]
fc8c5cc27b build(deps): update rust crate clap to 4.0.16 2022-10-18 05:46:34 +00:00
renovate[bot]
bbef08f582 build(deps): update rust crate shadow-rs to 0.17.0 2022-10-15 19:08:18 +00:00
github-actions[bot]
dfc9cf6861
chore(master): release 1.11.0 (#4353)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-14 21:40:28 -04:00
David Knaack
33dbe84e43
build(deps): update gitoxide crates (#4470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 21:39:31 -04:00
renovate[bot]
459fea30a6 build(deps): update rust crate clap to 4.0.15 2022-10-14 00:36:23 +00:00
renovate[bot]
dbcea86c86 build(deps): update rust crate clap to 4.0.14 2022-10-13 10:18:59 +00:00
renovate[bot]
7f580b3a3e build(deps): update rust crate home to 0.5.4 2022-10-12 00:42:25 +00:00
renovate[bot]
b80a2b8d5c build(deps): update rust crate clap to 4.0.13 2022-10-11 21:06:43 +00:00
renovate[bot]
4107031331 build(deps): update rust crate clap to 4.0.12 2022-10-10 20:15:37 +00:00
renovate[bot]
4932760c30 build(deps): update rust crate serde_json to 1.0.86 2022-10-09 23:55:37 +00:00
renovate[bot]
1327edb908 build(deps): update rust crate gethostname to 0.3.0 2022-10-09 21:50:21 +00:00
renovate[bot]
0345e2ecde build(deps): update rust crate clap to 4.0.11 2022-10-09 06:02:38 +00:00
renovate[bot]
1480d121f4 build(deps): update rust crate dunce to 1.0.3 2022-10-07 02:49:09 +00:00
renovate[bot]
542cd3d633 build(deps): update rust crate clap to 4.0.10 2022-10-06 01:10:47 +00:00
renovate[bot]
1076646ef3 build(deps): update rust crate tempfile to 3.3.0 2022-10-05 14:42:13 +00:00
renovate[bot]
68c337fbbc build(deps): update rust crate pest_derive to 2.4.0 2022-10-05 11:23:37 +00:00
renovate[bot]
6c394c1ea9 build(deps): update rust crate log to 0.4.17 2022-10-05 01:18:13 +00:00
renovate[bot]
b1571b1007 build(deps): update rust crate clap to 4.0.9 2022-10-04 21:25:09 +00:00
dependabot[bot]
3d0165a82f
build: bump systemstat from 0.2.0 to 0.2.1 (#4437)
Bumps [systemstat](https://github.com/unrelentingtech/systemstat) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/unrelentingtech/systemstat/releases)
- [Commits](https://github.com/unrelentingtech/systemstat/commits)

---
updated-dependencies:
- dependency-name: systemstat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-10-03 12:27:19 +02:00
dependabot[bot]
ef66a957f0
build: bump schemars from 0.8.10 to 0.8.11 (#4438)
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/GREsau/schemars/releases)
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: schemars
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-10-03 12:03:04 +02:00
dependabot[bot]
4d25364b6f
build: bump pest from 2.3.1 to 2.4.0 (#4436)
Bumps [pest](https://github.com/pest-parser/pest) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](https://github.com/pest-parser/pest/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: pest
  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-10-03 12:02:40 +02:00
dependabot[bot]
d57a45c80c
build: bump clap from 4.0.4 to 4.0.8 (#4435)
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.4 to 4.0.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.4...v4.0.8)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-10-03 12:02:23 +02:00
David Knaack
f3fc5efa15
build: bump windows from 0.39.0 to 0.42.0 (#4388)
* build: bump windows from 0.39.0 to 0.41.0

Bumps [windows](https://github.com/microsoft/windows-rs) from 0.39.0 to 0.41.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.39.0...0.41.0)

---
updated-dependencies:
- dependency-name: windows
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* fix `AccessCheck` call

* build(dep): bump windows to 0.42.0

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 12:01:40 +02:00
dependabot[bot]
976e62a071
build: bump clap_complete from 4.0.1 to 4.0.2 (#4420)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.0.1...clap_complete-v4.0.2)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-30 12:41:30 +02:00
dependabot[bot]
98996f5846
build: bump clap from 4.0.2 to 4.0.4 (#4422)
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.0.2...v4.0.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-30 11:02:50 +02:00
David Knaack
c5bffb5620
build: bump clap from v3 to v4 (#4413)
* build: bump clap from v3 to v4

* bump
2022-09-29 16:51:56 -05:00
dependabot[bot]
f9947d9f14
build: bump notify-rust from 4.5.9 to 4.5.10 (#4407)
Bumps [notify-rust](https://github.com/hoodie/notify-rust) from 4.5.9 to 4.5.10.
- [Release notes](https://github.com/hoodie/notify-rust/releases)
- [Changelog](https://github.com/hoodie/notify-rust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hoodie/notify-rust/compare/v4.5.9...v4.5.10)

---
updated-dependencies:
- dependency-name: notify-rust
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-26 13:59:45 +02:00
dependabot[bot]
9d7a2ee1a7
build: bump serde from 1.0.144 to 1.0.145 (#4400) 2022-09-23 16:13:39 +02:00
dependabot[bot]
a7e6baba9c
build: bump git-features from 0.22.5 to 0.22.6 (#4398) 2022-09-23 16:13:23 +02:00
dependabot[bot]
7baecf7914
build: bump once_cell from 1.14.0 to 1.15.0 (#4391)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: once_cell
  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-22 20:33:12 +02:00
David Knaack
c69fe4a644
build: bump git-repository from 0.23.1 to 0.24.0 (#4393)
* build: bump git-repository from 0.23.1 to 0.24.0

Bumps [git-repository](https://github.com/Byron/gitoxide) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/Byron/gitoxide/releases)
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Byron/gitoxide/compare/git-repository-v0.23.1...git-repository-v0.24.0)

---
updated-dependencies:
- dependency-name: git-repository
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* add new member to `git::permissions::Config`

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 16:34:50 +02:00