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

chore(resources): rename service-info to metadata #1165

Merged
merged 6 commits into from
Aug 21, 2023

Conversation

orhun
Copy link
Contributor

@orhun orhun commented Aug 21, 2023

Description of change

Rename shuttle-service-info to shuttle-metadata since it will contain more information than only the service in the future.

How has this been tested? (if applicable)

Na.

@orhun
Copy link
Contributor Author

orhun commented Aug 21, 2023

I didn't rename the internal types as requested @jonaro00

```rust
#[shuttle_runtime::main]
async fn app(
#[shuttle_metadata::ShuttleServiceInfo] service_info: shuttle_metadata::ServiceInfo,
Copy link
Member

Choose a reason for hiding this comment

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

We can also rename the structs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in 1c2aff7

@iulianbarbu
Copy link
Contributor

iulianbarbu commented Aug 21, 2023

We have a regression in main regarding a clippy lint, maybe you can address that with the PR too, to have a green CI: https://app.circleci.com/pipelines/github/shuttle-hq/shuttle/3891/workflows/d88406e0-d280-44ba-9f95-d1f8f7420677/jobs/80954. cc @orhun

@orhun
Copy link
Contributor Author

orhun commented Aug 21, 2023

@iulianbarbu addressed in 566b50a

Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

Nice, thanks @orhun!

@chesedo chesedo merged commit 07e2566 into shuttle-hq:main Aug 21, 2023
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.

5 participants