Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move command related data structures #469

Merged
merged 4 commits into from
Nov 24, 2023

Conversation

bsbds
Copy link
Collaborator

@bsbds bsbds commented Oct 8, 2023

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

    Some common data structures used by both xline and xline-client needed to be move to xlineapi to simplify dependency relations.

  • what changes does this pull request make?

    This PR moves some data structures from xline to xlineapi and makes necessary changes such as visibility and module path, it does not modify the original code.

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@bsbds bsbds mentioned this pull request Oct 8, 2023
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Attention: 45 lines in your changes are missing coverage. Please review.

Comparison is base (53e6c45) 63.36% compared to head (d561efc) 63.41%.

Files Patch % Lines
xlineapi/src/command.rs 91.21% 32 Missing and 13 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #469      +/-   ##
==========================================
+ Coverage   63.36%   63.41%   +0.04%     
==========================================
  Files         101      102       +1     
  Lines       18540    18540              
  Branches    18540    18540              
==========================================
+ Hits        11748    11757       +9     
+ Misses       6061     6051      -10     
- Partials      731      732       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bsbds bsbds marked this pull request as ready for review October 8, 2023 04:13
xline/src/server/command.rs Outdated Show resolved Hide resolved
@bsbds bsbds marked this pull request as draft November 2, 2023 09:01
@bsbds bsbds force-pushed the move-command branch 3 times, most recently from 8729d64 to e3d2e2c Compare November 3, 2023 06:44
@bsbds bsbds marked this pull request as ready for review November 3, 2023 06:45
@Phoenix500526 Phoenix500526 added this to the v0.6.1 milestone Nov 22, 2023
This commit simply do a move, it does not modify any existing code

Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
Copy link
Collaborator

@Phoenix500526 Phoenix500526 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@iGxnon iGxnon left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot merged commit c8aa843 into xline-kv:master Nov 24, 2023
18 checks passed
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.

3 participants