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: use workspace dependencies for internal modules #2119

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

sunng87
Copy link
Member

@sunng87 sunng87 commented Aug 8, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This patch updates our cargo TOMLs to manage internal dependencies in workspace. In this manner, we built an abstraction between module name and actual implementation, by which we can replace implementation by configuring workspace toml.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@sunng87 sunng87 requested a review from shuiyisong August 8, 2023 08:49
@sunng87 sunng87 force-pushed the refactor/workspace-members branch from 83bec1f to a0d17a5 Compare August 8, 2023 09:06
Copy link
Contributor

@shuiyisong shuiyisong left a comment

Choose a reason for hiding this comment

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

LGTM, let's go 🚀

@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #2119 (fa033fb) into develop (5e2fdec) will decrease coverage by 0.34%.
Report is 2 commits behind head on develop.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2119      +/-   ##
===========================================
- Coverage    84.88%   84.55%   -0.34%     
===========================================
  Files          687      687              
  Lines       108586   108586              
===========================================
- Hits         92176    91817     -359     
- Misses       16410    16769     +359     

@waynexia waynexia added this pull request to the merge queue Aug 8, 2023
Merged via the queue into GreptimeTeam:develop with commit c39de90 Aug 8, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
…am#2119)

* refactor: use workspace dependencies for internal modules

* fix: resolve issue with mock module in datanode

* refactor: update test modules
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