Skip to content

fix(import/zsh-histdb): missing or wrong fields#1740

Merged
ellie merged 4 commits intoatuinsh:mainfrom
Aloxaf:improve_histdb_improt
Feb 21, 2024
Merged

fix(import/zsh-histdb): missing or wrong fields#1740
ellie merged 4 commits intoatuinsh:mainfrom
Aloxaf:improve_histdb_improt

Conversation

@Aloxaf
Copy link
Contributor

@Aloxaf Aloxaf commented Feb 20, 2024

This PR do two things:

  1. Imports exit_status and session columns from zsh-histdb
  2. Converts duration to nanoseconds for importing

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

@Aloxaf Aloxaf marked this pull request as draft February 20, 2024 10:49
@Aloxaf Aloxaf marked this pull request as ready for review February 20, 2024 11:28
@ellie
Copy link
Member

ellie commented Feb 20, 2024

Just a couple of comments

Are there any other fields we are missing?

@Aloxaf Aloxaf changed the title fix(import/zsh-histdb): import exit_status and session fix(import/zsh-histdb): missing or wrong fields Feb 20, 2024
@Aloxaf
Copy link
Contributor Author

Aloxaf commented Feb 20, 2024

Just a couple of comments

Thanks for your suggestions. I have updated my code.

Are there any other fields we are missing?

No more fields.
But I notice that duration should be measured in nanoseconds. Considering this is a minor bug, I also fixed it in this PR.

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! thank you

Seeing as this is your first time contributing, if you would like a holographic contributors-only Atuin sticker, then please fill out this form!

We do also have a Discord if you'd like to ask any questions, or just fancy hanging out!

@ellie ellie merged commit 21fee97 into atuinsh:main Feb 21, 2024
@Aloxaf Aloxaf deleted the improve_histdb_improt branch February 21, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants