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: first step to move all packages under src folder #1226

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

tisonkun
Copy link
Member

@tisonkun tisonkun commented Sep 23, 2023

Rationale

The final result will be moved all packaged under the src folder so that we have a consistent and concise layout.

Take materialize as an example: https://github.com/MaterializeInc/materialize/tree/main/src

Detailed Changes

First step: move src to src/server while keep all the effective code and config the same. So that we get rid of the special case first.

Test Plan

Everything should keep AS IS and existing tests should pass.

Signed-off-by: tison <wander4096@gmail.com>
@tisonkun
Copy link
Member Author

Perhaps we still need changes some other relative paths, I'd like to let CI helps me :D

Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@jiacai2050 jiacai2050 merged commit c5d0430 into apache:main Sep 25, 2023
8 checks passed
@tisonkun tisonkun deleted the layout branch September 25, 2023 03:35
tanruixiang added a commit that referenced this pull request Sep 26, 2023
## Rationale
After #1226 changing directories
, `build.rs` will not be used to set environment variables,
`ceresdb-server --verion` will return None.

## Detailed Changes
move `build.rs` into`src/ceresdb/`

## Test Plan
Add a test case to ensure all environment variables are got.
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