aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/sync.rs (unfollow)
Commit message (Collapse)Author
2 daysfeat(server): Really make users stateless (with tests)Benedikt Peetz
This commit also remove another load of unneeded features.
3 dayschore: Remove all `pub`sBenedikt Peetz
They will not be marked by rustc/cargo as unused, and as atuin doesn't expose an API all of them _should_ be `pub(crate)`
3 dayschore: Move everything into one big crateBenedikt Peetz
That helps remove duplicated code and rustc/cargo will now also show dead code correctly.
3 dayschore: Remove more useless codeBenedikt Peetz
3 dayschore: Remove some unused rust codeBenedikt Peetz
2026-02-04feat: replace several files with a sqlite db (#3128)Ellie Huxtable
These files have been known to have corruption issues. SQLite will perform better across filesystems for reads/writes across threads, and will lock as expected. I've also put the session file in there, though I'm 50/50 on it - I'll be replacing it with keyring storage asap anyway. The key file is _not_ included. It should ~never be changed, and should be easy for the user to secure + manage themselves In the future, instead of creating more files, we can just use this as a kv store Resolves https://github.com/atuinsh/atuin/issues/2336, resolves https://github.com/atuinsh/atuin/issues/1650 ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
2025-05-13chore: Allow setting script DB path (#2750)Michelle Tilley
* chore: Allow setting script DB path * Rename scripts.database_path setting to scripts.db_path to match other crates
2025-05-06feat: Implement KV as a write-through cache (#2732)Michelle Tilley
2025-04-07feat: support storing, syncing and executing scripts (#2644)Ellie Huxtable
* feat: add atuin-scripts crate * initial * define record types * wip * wip * mvp * add show command, make stdin work * rewrite execution to use shebang and script file ALWAYS * rename show -> get, allow fetching script only * fmt * clippy * a bunch of fixes to the edits * update lock * variables * fmt * clippy * pr feedback * fmt
2025-03-19chore: migrate to rust 2024 (#2635)Ellie Huxtable
* chore: upgrade to 2024 edition * ugh unsafe * format * nixxxxxxxxxxx why
2025-03-09chore: update rust toolchain to 1.85 (#2618)Ellie Huxtable
* chore: update rust toolchain to 1.85 * nix things * make clippy happy I've replaced a bunch of &Option<String> with Option<String>. They were not in hot loops, so a single clone is really no big deal + keeps things simpler. * fmt
2024-04-25feat(dotfiles): support syncing shell/env vars (#1977)Ellie Huxtable
There's a bunch of duplication here! I'd also like to support syncing shell "snippets", aka just bits of shell config that don't fit into the structure here. Potentially special handling for PATH too. Rather than come up with some abstraction in the beginning, which inevitably will not fit future uses, I'm duplicating code _for now_. Once all the functionality is there, I can tidy things up and sort a proper abstraction out. Something in atuin-client for map/list style synced structures would probably work best.
2024-04-18chore: move crates into crates/ dir (#1958)Ellie Huxtable
I'd like to tidy up the root a little, and it's nice to have all the rust crates in one place
2024-04-03perf(dotfiles): cache aliases and read straight from file (#1918)Ellie Huxtable
* cache aliases when set locally * handle rebuild on sync and tidy things a bit * support all shells except nu * make clippy happy * fmt * fix for no features