aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/import/bash.rs (follow)
Commit message (Collapse)AuthorAge
* chore: move crates into crates/ dir (#1958)Ellie Huxtable2024-04-18
| | | | I'd like to tidy up the root a little, and it's nice to have all the rust crates in one place
* refactor: Duplications reduced in order to align implementations of reading ↵Dieter Eickstaedt2023-09-23
| | | | history files (#1247)
* replace chrono with time (#806)Conrad Ludgate2023-09-11
| | | | | | | | | * replace chrono with time * Fix test chrono usage --------- Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
* Builder interface for History objects (#933)Vlad Stepanov2023-06-15
| | | | | | | | | | | | | | | | | | | | | | * [feature] store env variables in History records WIP: remove `HistoryWithoutDelete`, add some docstrings, tests * Create History objects through builders. Assure in compile-time that all required fields are set for the given construction scenario * (from #882) split Cmd::run into subfns * Update `History` doc * remove rmp-serde from history * update warning --------- Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
* Patch bash history import regression (#970)Ellie Huxtable2023-05-10
| | | | | | | | * At least patch this on the server side so we don't loop forever * Postgres doesn't support <microsecond precision Use millis - almost everything should support them and they are still faster than a human can reasonably spam a button.
* Handle empty lines when importing from Bash (#845)cyqsimon2023-04-05
| | | | | | | * Handle empty lines * Fix insufficient accuracy in timestamp tests * Use nanoseconds
* Add history deletion (#791)Ellie Huxtable2023-03-20
| | | | | | | | | | | | | * Drop events. I'd still like to do them, but differently * Start adding delete api stuff * Set mailmap * Delete delete delete * Fix tests * Make clippy happy
* Rework Bash import (#747)cyqsimon2023-03-02
| | | | | | | | | * Rework Bash import Closes #745 - Imported history is now ordered correctly - Timestamps (when `HISTTIMEFORMAT` is set) are handled correctly * Timestamp tests test for strict sorting
* Importer V3 (#395)Conrad Ludgate2022-05-09
| | | | | | | | | * start of importer refactor * fish * resh * zsh
* Generic Importer Trait (#71)Conrad Ludgate2021-05-09
| | | | | | | | | | | | | | | | | * initial importer trait * appease linters * improve file handling. fixes #66 * use size hint * format + comment * update serde rename mess * tested :sunglasses: :rocket: * small formatting
* Support bash, resolves #3Ellie Huxtable2021-04-26