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

Experiment with generating config files for the IDEs #42677

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Aug 21, 2024

This shouldn't be merged.
It is a quick experiment to show what we can do to generate files containing the configuration properties for the IDEs. It can be used to experiment and adjust the format.

This is part of the work in the working group: #42671 .

A command similar to:

zip -R quarkus-ide-experiments.zip 'quarkus-config-model.json' 'quarkus-config-javadoc.json'

can be handy to share the output.

(Adapt the command if the file names are changed as we might not publish JSON files and we might follow some other convention)

Copy link

github-actions bot commented Aug 21, 2024

🎊 PR Preview 4cab5df has been successfully built and deployed to https://quarkus-pr-main-42677-preview.surge.sh/version/main/guides/

  • Images of blog posts older than 3 months are not available.
  • Newsletters older than 3 months are not available.

@quarkus-bot quarkus-bot bot added area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/hibernate-validator Hibernate Validator area/hibernate-orm Hibernate ORM area/hibernate-search Hibernate Search labels Aug 22, 2024
@gsmet gsmet force-pushed the ide-experiment branch 2 times, most recently from 3dc7def to 7df1e97 Compare September 5, 2024 16:48
@quarkus-bot quarkus-bot bot added the area/platform Issues related to definition and interaction with Quarkus Platform label Sep 10, 2024
@gsmet gsmet force-pushed the ide-experiment branch 2 times, most recently from 0216181 to 10ffdcb Compare September 13, 2024 17:55
This plugin is used to generate the configuration metadata for each
extension.
This metadata follows the Spring config metadata format:

The plugin is installed at the package phase and assembles everything
that is in the classpath.
The metadata is augmented with some additional Quarkus metadata.
In the light of the Spring config metadata, let's get rid of sourceClass
and let's avoid using sourceType for the field/method type as it's
confusing.

Fixes quarkusio#43175
When we attach the config metadata, we need to consider only the
properties of the current extension and not those from potential
internal/common extensions: these will be published for the
internal/common extensions themselves.
It is far from being perfect and typically doesn't handle tables. But
it's a good first step.
We probably need to improve on the error reporting as to not fail
entirely if we find an icon that is not supported.

Related to quarkusio#43287
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/hibernate-orm Hibernate ORM area/hibernate-search Hibernate Search area/hibernate-validator Hibernate Validator area/platform Issues related to definition and interaction with Quarkus Platform
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant