Skip to content

Commit

Permalink
Merge branch 'main' into tui
Browse files Browse the repository at this point in the history
  • Loading branch information
adamperkowski committed Dec 17, 2024
2 parents f597969 + f57c3ab commit bcd711e
Show file tree
Hide file tree
Showing 10 changed files with 113 additions and 130 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/cliff.yml

This file was deleted.

10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ All notable changes to nvrs will be documented in this file.

- `--list-sources` command ([442c06f](https://github.com/adamperkowski/nvrs/commit/442c06f0e56f4adcc0c2ad44d042997cb088a930))
- (*sources*) add regex ([#13](https://github.com/adamperkowski/nvrs/issues/13)) ([fa12ce9](https://github.com/adamperkowski/nvrs/commit/fa12ce9691adbdcf51990eb8416aedf4fdc7d36b))
- (*sources*) add crates.io ([78294ff](https://github.com/adamperkowski/nvrs/commit/78294ff44f26ce79df0c7c7c2511517627fc4a31))

### 🐛 Bug Fixes

- incorrect `--compare` colors ([ef1f78f](https://github.com/adamperkowski/nvrs/commit/ef1f78fed76f883986734b7e3220b2f56508a5f0))
- (*io*) not shutting down file streams after writing ([a8a42fd](https://github.com/adamperkowski/nvrs/commit/a8a42fdf03bfde7aeee563fbd6f9d7af832bc70e))

### ️ Refactoring
### 🛠️ Refactoring

- (*verfiles, config*) saving & loading improvements ([81d7efd](https://github.com/adamperkowski/nvrs/commit/81d7efd24b9b425f59bec1cdbb588bc25ed433cb))
- split features & binaries ([4acd98e](https://github.com/adamperkowski/nvrs/commit/4acd98e5d2c5df0845c6bd512cb40f705da9361e))
Expand All @@ -27,6 +28,7 @@ All notable changes to nvrs will be documented in this file.

- more details & improvements ([9f02405](https://github.com/adamperkowski/nvrs/commit/9f02405339c3520340899313365f0de2fb3d65c5))
- (*README*) update cargo install instructions ([88f0fdc](https://github.com/adamperkowski/nvrs/commit/88f0fdce435c50df44c3ae2cfd5d1087df4376fc))
- improve the wording ([c47df3d](https://github.com/adamperkowski/nvrs/commit/c47df3dbe342bacc79ba2099f17365f07555cdd3))

### ⚙️ Miscellaneous Tasks

Expand All @@ -48,7 +50,7 @@ All notable changes to nvrs will be documented in this file.
- (*ui*) `sync` errors displayed twice when no `--no-fail` ([8d7e341](https://github.com/adamperkowski/nvrs/commit/8d7e3413e258ac1b1a38256de10f02d8f078d68d))
- `Package` default() & new() features ([779c1ef](https://github.com/adamperkowski/nvrs/commit/779c1ef7e21c4ed6c31a524797a3f94c8678a3d5))

### ️ Refactoring
### 🛠️ Refactoring

- (*features*) remove `http` ([712bcea](https://github.com/adamperkowski/nvrs/commit/712bceae2626838af664df10dd967cb4a2819ab8))

Expand All @@ -72,7 +74,7 @@ All notable changes to nvrs will be documented in this file.
- (*verfile*) allow missing gitref & url ([b93216d](https://github.com/adamperkowski/nvrs/commit/b93216d5146a672897e11938668e05cfa859cfac))
- `--nuke` not working ([15b75d9](https://github.com/adamperkowski/nvrs/commit/15b75d99667a4c52d0d9b093704aa02ca4d35e3e))

### ️ Refactoring
### 🛠️ Refactoring

- (*codebase*) [**breaking**] move internal logic to `lib` ([#4](https://github.com/adamperkowski/nvrs/issues/4)) ([c0021f0](https://github.com/adamperkowski/nvrs/commit/c0021f0a4e02791802fba9ba6bca5486f825ee4e))

Expand Down Expand Up @@ -168,7 +170,7 @@ All notable changes to nvrs will be documented in this file.

- (*hot*) a typo in `custom_error` ([4844515](https://github.com/adamperkowski/nvrs/commit/48445157be6b3ae9ca97d6c79f25b20529e30fd7))

### ️ Refactoring
### 🛠️ Refactoring

- (*custom_error*) improve newline control ([#1](https://github.com/adamperkowski/nvrs/issues/1)) ([05faaca](https://github.com/adamperkowski/nvrs/commit/05faaca79dd1306a818864ab80ae028a0217dd1e))

Expand Down
108 changes: 21 additions & 87 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ include = [
nvrs_cli = ["clap", "pretty", "futures"]
nvrs_tui = ["ratatui", "crossterm", "anyhow", "tachyonfx", "pretty", "futures"]
pretty = ["colored"]
default = ["aur", "github", "gitlab", "regex"]
default = ["aur", "crates-io", "github", "gitlab", "regex"]
aur = []
crates-io = []
github = []
gitlab = []
regex = ["dep:regex"]
Expand All @@ -42,16 +43,16 @@ required-features = ["nvrs_tui"]
[dependencies]
anyhow = { version = "1.0.94", optional = true }
clap = { version = "4.5.23", features = ["derive", "color", "error-context", "help", "std", "usage"], default-features = false , optional = true }
colored = { version = "2.1.0", optional = true }
crossterm = { version = "0.28.1", features = ["events", "event-stream"], default-features = false, optional = true }
colored = { version = "2.2.0", optional = true }
futures = { version = "0.3.31", optional = true }
ratatui = { version = "0.29.0", optional = true }
regex = { version = "1.11.1", optional = true }
reqwest = { version = "0.12.9", features = ["__tls", "charset", "default-tls", "h2", "http2", "json"], default-features = false }
serde = { version = "1.0.215", features = ["derive"], default-features = false }
serde = { version = "1.0.216", features = ["derive"], default-features = false }
serde_json = "1.0.132"
tachyonfx = { version = "0.9.3", optional = true }
thiserror = "2.0.6"
thiserror = "2.0.7"
tokio = { version = "1.42.0", features = ["full"] }
toml = { version = "0.8.19", features = ["parse", "display"], default-features = false }

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ check the [release notes](https://github.com/adamperkowski/nvrs/releases) and [c

### Sources
- `aur`
- `cratesio`
- `github`
- `gitlab` (with custom hosts)
- `website` (regex)
Expand Down
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ commit_parsers = [
{ message = "^ui|^ux", group = "<!-- 5 -->🧩 UI/UX" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refact", group = "<!-- 2 -->️ Refactoring" },
{ message = "^refact", group = "<!-- 2 -->🛠️ Refactoring" },
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
Expand Down
4 changes: 4 additions & 0 deletions nvrs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ source = 'regex'
url = 'https://www.kernel.org/'
encoding = 'utf8'
regex = '<td><strong>([\d.]+)</strong></td>'

[nvrs]
source = "cratesio"
cratesio = "nvrs"
Loading

0 comments on commit bcd711e

Please sign in to comment.