Compare commits
1 Commits
push-moqzl
...
65e40c21dc
Author | SHA1 | Date | |
---|---|---|---|
|
65e40c21dc |
@@ -6,14 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [0.3.0] - 2025-01-01
|
## [0.2.4] - 2024-12-07
|
||||||
|
|
||||||
### Added
|
|
||||||
- add small help to see how much time is left in cache
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- *(deps)* update rust crate serde to v1.0.217
|
|
||||||
- *(deps)* update rust crate serde to v1.0.216
|
|
||||||
- *(deps)* update tokio-prost monorepo to v0.13.4
|
- *(deps)* update tokio-prost monorepo to v0.13.4
|
||||||
- *(deps)* update rust crate bytes to v1.9.0
|
- *(deps)* update rust crate bytes to v1.9.0
|
||||||
- *(deps)* update all dependencies
|
- *(deps)* update all dependencies
|
||||||
@@ -29,8 +24,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- *(deps)* update rust crate octocrab to 0.41.0
|
- *(deps)* update rust crate octocrab to 0.41.0
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
- bump default cache duration to 7 days
|
|
||||||
- *(deps)* update rust crate anyhow to v1.0.95
|
|
||||||
- *(deps)* update rust crate clap to v4.5.23
|
- *(deps)* update rust crate clap to v4.5.23
|
||||||
- *(deps)* update all dependencies
|
- *(deps)* update all dependencies
|
||||||
- *(deps)* update rust crate tracing-subscriber to v0.3.19
|
- *(deps)* update rust crate tracing-subscriber to v0.3.19
|
||||||
|
14
Cargo.lock
generated
14
Cargo.lock
generated
@@ -110,9 +110,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anyhow"
|
name = "anyhow"
|
||||||
version = "1.0.95"
|
version = "1.0.94"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04"
|
checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "arc-swap"
|
name = "arc-swap"
|
||||||
@@ -747,7 +747,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gitnow"
|
name = "gitnow"
|
||||||
version = "0.3.0"
|
version = "0.2.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
@@ -2153,18 +2153,18 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde"
|
name = "serde"
|
||||||
version = "1.0.217"
|
version = "1.0.215"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
|
checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde_derive",
|
"serde_derive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_derive"
|
name = "serde_derive"
|
||||||
version = "1.0.217"
|
version = "1.0.215"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
|
checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.3.0"
|
version = "0.2.4"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
|
||||||
|
@@ -79,11 +79,6 @@ impl Cache {
|
|||||||
tracing::debug!("cache has expired");
|
tracing::debug!("cache has expired");
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
tracing::debug!(
|
|
||||||
"cache is valid for: {} mins",
|
|
||||||
cache_duration.saturating_sub(file_modified_last).as_secs() / 60
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -124,7 +124,7 @@ impl CacheDuration {
|
|||||||
impl Default for CacheDuration {
|
impl Default for CacheDuration {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self::Precise {
|
Self::Precise {
|
||||||
days: 7,
|
days: 1,
|
||||||
hours: 0,
|
hours: 0,
|
||||||
minutes: 0,
|
minutes: 0,
|
||||||
}
|
}
|
||||||
|
@@ -36,7 +36,6 @@ impl InteractiveApp for &'static crate::app::App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod app {
|
mod app {
|
||||||
use crossterm::event::KeyModifiers;
|
|
||||||
use ratatui::{
|
use ratatui::{
|
||||||
crossterm::event::{self, Event, KeyCode},
|
crossterm::event::{self, Event, KeyCode},
|
||||||
layout::{Constraint, Layout},
|
layout::{Constraint, Layout},
|
||||||
@@ -93,12 +92,6 @@ mod app {
|
|||||||
terminal.draw(|frame| self.draw(frame))?;
|
terminal.draw(|frame| self.draw(frame))?;
|
||||||
|
|
||||||
if let Event::Key(key) = event::read()? {
|
if let Event::Key(key) = event::read()? {
|
||||||
if let KeyCode::Char('c') = key.code {
|
|
||||||
if key.modifiers.contains(KeyModifiers::CONTROL) {
|
|
||||||
return Ok(None);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
match key.code {
|
match key.code {
|
||||||
KeyCode::Char(letter) => {
|
KeyCode::Char(letter) => {
|
||||||
self.current_search.push(letter);
|
self.current_search.push(letter);
|
||||||
|
@@ -6,9 +6,6 @@ vars:
|
|||||||
service: "gitnow"
|
service: "gitnow"
|
||||||
registry: kasperhermansen
|
registry: kasperhermansen
|
||||||
|
|
||||||
rust:
|
|
||||||
publish: {}
|
|
||||||
|
|
||||||
please:
|
please:
|
||||||
project:
|
project:
|
||||||
owner: kjuulh
|
owner: kjuulh
|
||||||
|
Reference in New Issue
Block a user