From 15258fc43f6f7779d3b5c6ba81bf134872d1b00b Mon Sep 17 00:00:00 2001 From: Andrew Huynh Date: Tue, 21 Jun 2022 22:56:25 -0700 Subject: [PATCH 1/3] Updating docs for v2022.6.2 release (#88) * update download links in readme * add VERSION.json for current release This is used by tauri to check & update the app --- README.md | 6 +++--- VERSION.json | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 VERSION.json diff --git a/README.md b/README.md index f4690d669..e21fb3e59 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ ⚠️ Spyglass is very much in its early stages, but it’s in a place where it's functional and can be used to replace basic searches. ⚠️ Download now: - [Mac](https://github.com/a5huynh/spyglass/releases/download/v2022.6.1/Spyglass_22.6.1_x64.dmg) - | [Windows](https://github.com/a5huynh/spyglass/releases/download/v2022.6.1/Spyglass_22.6.1_x64_en-US.msi) - | [Linux (AppImage)](https://github.com/a5huynh/spyglass/releases/download/v2022.6.1/spyglass_22.6.1_amd64.AppImage) + [Mac](https://github.com/a5huynh/spyglass/releases/download/v2022.6.2/Spyglass_22.6.2_x64.dmg) + | [Windows](https://github.com/a5huynh/spyglass/releases/download/v2022.6.2/Spyglass_22.6.2_x64_en-US.msi) + | [Linux (AppImage)](https://github.com/a5huynh/spyglass/releases/download/v2022.6.2/spyglass_22.6.2_amd64.AppImage) Looking for lenses? Check out our [community contributions](https://github.com/spyglass-search/lens-box)! diff --git a/VERSION.json b/VERSION.json new file mode 100644 index 000000000..9b36fbcac --- /dev/null +++ b/VERSION.json @@ -0,0 +1,23 @@ +{ + "version": "22.6.2", + "notes": "See full release notes here: https://github.com/a5huynh/spyglass/releases/tag/v2022.6.2", + "pub_date": "2022-06-22T04:23:23Z", + "platforms": { + "darwin-x86_64": { + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSRk9WYXdDUXphYnQycDd1bUdxRmxSZG5Obml1SU4zWi9KY29TLzdzUUdRaWVGWk15VHZHdGtrRWNXSFdSVERneVV3azFINmRPSGxYYmMwK2FiMkxxbzhQSlFFQm85d0FFPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNjU1ODcwNTkwCWZpbGU6L1VzZXJzL3J1bm5lci93b3JrL3NweWdsYXNzL3NweWdsYXNzL3RhcmdldC9yZWxlYXNlL2J1bmRsZS9tYWNvcy9TcHlnbGFzcy5hcHAudGFyLmd6CmpQR1owYUUyRm81ZTRIazRwcU5iQ3Jsdi84SzMvNlhyckxlUVJ0cVJ3SzhoSGw3aFdsMkllTkFNeUp5VEYwZ2MzeGhsb01hWStPMkdzMUk3VEhhakFRPT0K", + "url": "https://github.com/a5huynh/spyglass/releases/download/v2022.6.2/Spyglass.app.tar.gz" + }, + "darwin-aarch64": { + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSRk9WYXdDUXphYnQycDd1bUdxRmxSZG5Obml1SU4zWi9KY29TLzdzUUdRaWVGWk15VHZHdGtrRWNXSFdSVERneVV3azFINmRPSGxYYmMwK2FiMkxxbzhQSlFFQm85d0FFPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNjU1ODcwNTkwCWZpbGU6L1VzZXJzL3J1bm5lci93b3JrL3NweWdsYXNzL3NweWdsYXNzL3RhcmdldC9yZWxlYXNlL2J1bmRsZS9tYWNvcy9TcHlnbGFzcy5hcHAudGFyLmd6CmpQR1owYUUyRm81ZTRIazRwcU5iQ3Jsdi84SzMvNlhyckxlUVJ0cVJ3SzhoSGw3aFdsMkllTkFNeUp5VEYwZ2MzeGhsb01hWStPMkdzMUk3VEhhakFRPT0K", + "url": "https://github.com/a5huynh/spyglass/releases/download/v2022.6.2/Spyglass.app.tar.gz" + }, + "linux-x86_64": { + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhd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QT09Cg==", + "url": "https://github.com/a5huynh/spyglass/releases/download/v2022.6.2/Spyglass_22.6.2_x64_en-US.msi.zip" + } + } +} \ No newline at end of file From dfb1ca3ec1c4d1e1b1978abfba6bb0ce56ae4dc9 Mon Sep 17 00:00:00 2001 From: Andrew Huynh Date: Wed, 22 Jun 2022 09:16:11 -0700 Subject: [PATCH 2/3] bugfix: runnable cpu usage in manager task (#89) --- crates/spyglass/src/main.rs | 2 +- crates/spyglass/src/task.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/spyglass/src/main.rs b/crates/spyglass/src/main.rs index f1ddc4583..a64b9964f 100644 --- a/crates/spyglass/src/main.rs +++ b/crates/spyglass/src/main.rs @@ -116,7 +116,7 @@ async fn start_backend(state: &AppState, config: &Config) { loop { interval.tick().await; if let Err(err) = state.index.writer.lock().unwrap().commit() { - log::error!("loop tick{:?}", err); + log::error!("commit loop error: {:?}", err); } } }); diff --git a/crates/spyglass/src/task.rs b/crates/spyglass/src/task.rs index a216c5a61..45026864f 100644 --- a/crates/spyglass/src/task.rs +++ b/crates/spyglass/src/task.rs @@ -94,7 +94,9 @@ pub async fn manager_task( } } // ignore everything else - _ => {} + _ => { + tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; + } } } } From 334ca4579c8fda546934817b5f9a93fa6b843804 Mon Sep 17 00:00:00 2001 From: Andrew Huynh Date: Wed, 22 Jun 2022 09:48:52 -0700 Subject: [PATCH 3/3] v2022.6.3 release (#91) --- crates/tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tauri/tauri.conf.json b/crates/tauri/tauri.conf.json index 84fd2afc6..e2fc02785 100644 --- a/crates/tauri/tauri.conf.json +++ b/crates/tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "package": { "productName": "Spyglass", - "version": "22.6.2" + "version": "22.6.3" }, "build": { "distDir": "../client/dist",