Skip to content

Comments

build(proto): improve protobuf generation#3636

Merged
aceforeverd merged 1 commit into4paradigm:mainfrom
aceforeverd:build-refresh-on-gen
Dec 8, 2023
Merged

build(proto): improve protobuf generation#3636
aceforeverd merged 1 commit into4paradigm:mainfrom
aceforeverd:build-refresh-on-gen

Conversation

@aceforeverd
Copy link
Collaborator

  1. tracking all generated files (.cpp, .h, .java), instead of .cpp file only
  2. auto clean all generated files on clean target, resolving build(clean): allow delete proto/swig generated files in project #891 for proto files
  3. simplify dependency in java modules, fixes build(proto java): generate to one module is sufficient  #1090
    • proto generated files to openmldb-common only, instead of multiple projects
    • openmldb-native now depends on openmldb-common, no direct dependency to openmldb-common from other modules

@github-actions github-actions bot added build openmldb compiling and installing batch-engine openmldb batch(offline) engine sdk openmldb java/python sdk execute-engine hybridse sql engine storage-engine openmldb storage engine. nameserver & tablet task-manager openmldb taskmanager labels Nov 28, 2023
@codecov
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7d89892) 74.97% compared to head (d28332f) 74.94%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3636      +/-   ##
============================================
- Coverage     74.97%   74.94%   -0.04%     
  Complexity      640      640              
============================================
  Files           724      724              
  Lines        130359   130414      +55     
  Branches       1318     1325       +7     
============================================
- Hits          97743    97739       -4     
- Misses        32323    32382      +59     
  Partials        293      293              

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

@aceforeverd aceforeverd requested review from dl239, tobegit3hub and vagetablechicken and removed request for dl239 and vagetablechicken December 1, 2023 04:05
1. tracking all generated files (.cpp, .h, .java), instead of .cpp file
  only
2. auto clean all generated files on clean target, fix 4paradigm#891 for proto
3. simplify dependency in java modules, fix 4paradigm#1090
   - proto generated files to openmldb-common only, instead of multiple
     projects
   - openmldb-native now depends on openmldb-common, no direct
     dependency to openmldb-common from other modules
Copy link
Collaborator

@tobegit3hub tobegit3hub left a comment

Choose a reason for hiding this comment

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

LGTM

@aceforeverd aceforeverd merged commit e7538bd into 4paradigm:main Dec 8, 2023
@aceforeverd aceforeverd deleted the build-refresh-on-gen branch December 8, 2023 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

batch-engine openmldb batch(offline) engine build openmldb compiling and installing execute-engine hybridse sql engine sdk openmldb java/python sdk storage-engine openmldb storage engine. nameserver & tablet task-manager openmldb taskmanager

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build(proto java): generate to one module is sufficient

3 participants