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(upgrade): expose modules to pub scope #580

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

niladrih
Copy link
Member

@niladrih niladrih commented Dec 9, 2024

This is a refactor which moves most of the upgrade-job 'bin' code to the upgrade lib, and expands its visibility scope from 'pub(crate)' to 'pub'.

Copy link
Contributor

@tiagolobocastro tiagolobocastro left a comment

Choose a reason for hiding this comment

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

Remind me again, is this for the unified plugin or to allow for more binaries?

self.base.deprecated_log_silence_level()
}

pub(crate) fn jaeger_operator_image_tag(&self) -> &str {
pub fn jaeger_operator_image_tag(&self) -> &str {
Copy link
Contributor

Choose a reason for hiding this comment

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

missing doc comment

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll add in all of these missing doc comments.

@@ -52,7 +52,7 @@ pub(crate) fn version_from_core_chart_release(chart_name: &str) -> Result<Versio
})
}

pub(crate) async fn core_version_from_umbrella_release(
pub async fn core_version_from_umbrella_release(
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing doc comment

@niladrih
Copy link
Member Author

Remind me again, is this for the unified plugin or to allow for more binaries?

This is for the unified plugin, which will be a new binary.

@tiagolobocastro
Copy link
Contributor

Remind me again, is this for the unified plugin or to allow for more binaries?

This is for the unified plugin, which will be a new binary.

Does it need this big public api surface exposed or can we expose minimal api and leave internal details here?

@niladrih
Copy link
Member Author

Remind me again, is this for the unified plugin or to allow for more binaries?

This is for the unified plugin, which will be a new binary.

Does it need this big public api surface exposed or can we expose minimal api and leave internal details here?

Hmm... sure, I'll trim this down. All of this doesn't need to be in pub scope. 👍

@niladrih niladrih marked this pull request as draft December 11, 2024 08:33
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.

2 participants