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

Reorganise modules #824

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Reorganise modules #824

merged 1 commit into from
Oct 18, 2023

Conversation

XAMPPRocky
Copy link
Collaborator

@XAMPPRocky XAMPPRocky commented Oct 16, 2023

While working on adding delta xDS I was finding a lot of our module organisation to be quite messy and there wasn't clear groupings of functionality.

This commit doesn't make any functional changes it only changes the layout of the following modules.

  • proxy -> cli::proxy
  • utils -> codec::base64 (Loggable trait moved to lib.rs)
  • prost -> codec::prost
  • protocol -> codec::qcmp
  • ttl_map -> collections::ttl
  • utils::net -> net
  • endpoint -> net::endpoint
  • metadata -> net::endpoint::metadata
  • xds -> net::xds
  • test_utils -> test

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

When everything passes feel free to merge 👍🏻

@XAMPPRocky XAMPPRocky force-pushed the ep/reorg branch 2 times, most recently from 6af22f6 to ced114a Compare October 17, 2023 10:02
@markmandel
Copy link
Member

test cli::proxy::sessions::tests::same_address_uses_different_sockets has been running for over 60 seconds

Since this is just a refactoring, should we be concerned there is still an issue with Sockets / Socket mapping in here?

While working on adding delta xDS I was finding a lot of our module
organisation to be quite messy and there was clear groupings of
functionality.

This commit doesn't make any functional changes it only changes the
layout of the following modules.

* proxy -> cli::proxy
* utils -> codec::base64 (Loggable trait moved to lib.rs)
* prost -> codec::prost
* protocol -> codec::qcmp
* ttl_map -> collections::ttl
* endpoint -> net::endpoint
* metadata -> net::endpoint::metadata
* xds -> net::xds
* test_utils -> test
@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: 9b7347be-b1a2-48d2-9ea8-0a97fb99c3cd

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch git@github.com:googleforgames/quilkin.git pull/824/head:pr_824 && git checkout pr_824
cargo build

@XAMPPRocky XAMPPRocky merged commit 6e0adc9 into main Oct 18, 2023
5 checks passed
@XAMPPRocky XAMPPRocky deleted the ep/reorg branch October 18, 2023 13:25
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc size/l
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants