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

Fixes issues with platforms w/o quarkus-bom and extension catalog metadata map merging #43512

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

aloubyansky
Copy link
Member

Fixes #43236

@ia3andy this should be it. Except I should mention metadata/project/codestarts-data somewhere in the docs

@quarkus-bot quarkus-bot bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/platform Issues related to definition and interaction with Quarkus Platform labels Sep 25, 2024
@quarkus-bot

This comment has been minimized.

@aloubyansky
Copy link
Member Author

The failure is related to a path in the test on Windows. I'll fix it, otherwise it's ok to review.

Copy link
Contributor

@ia3andy ia3andy left a comment

Choose a reason for hiding this comment

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

Code looks good. I haven't tested it locally but test coverage seems good!

but is meant to be a layer on top of one that includes a quarkus-bom
passing codestart data under metadata/project/codestarts-data
@@ -532,6 +532,53 @@ It is going to be merged with the other codestarts config and automatically conv
* You can start with java and add kotlin later in another PR (create an issue so you don't forget).
* If you have a question, ping me @ia3andy on https://quarkusio.zulipchat.com/.

=== Platform codestarts data
Copy link
Member Author

Choose a reason for hiding this comment

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

@ia3andy I added a little doc here about metadata/project/codestart-data

Copy link

github-actions bot commented Sep 26, 2024

🙈 The PR is closed and the preview is expired.

@quarkus-bot
Copy link

quarkus-bot bot commented Sep 26, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit decd977.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@aloubyansky aloubyansky merged commit 7668da3 into quarkusio:main Sep 27, 2024
53 checks passed
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label Sep 27, 2024
@quarkus-bot quarkus-bot bot added this to the 3.16 - main milestone Sep 27, 2024
"metadata" : {
"project" : { <1>
"codestart-data" : { <2>
"quarkus-magic-codestart" : { <3>
Copy link
Member

Choose a reason for hiding this comment

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

Just to understand the scope of the data bindings here. This is linked via the code start name - nothing else; no group artifact version etc.
Correct?

that name isnt unique, right ? So if you have two codestarts using same name they both get this or does it get treated as an error ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it's the codestart name. If there are multiple codestarts with the same name and using the same property names that will likely lead to a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/platform Issues related to definition and interaction with Quarkus Platform kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge extension catalog metadata properties when merging catalogs from different registries
3 participants