-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add Description for Feature classes #27137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice, but shouldn't the links be something more stable? These will break as soon as we change the directory structure in our repo, and that kind of change has been discussed recently.
Maybe a link to the javadoc (which would only depend on the package/class name) would be safer? I couldn't find where the javadoc of Quarkus is published, though...
We could point to a tagged version instead (by having the URL changed during the build) but I am not sure it's worth the effort. We can start by providing only the descriptions now. |
This comment has been minimized.
This comment has been minimized.
Very interesting! But I totally agree with @yrodiere that we should add something more stable as the URL. |
Follow up on quarkusio#26943
176b810
to
08a6401
Compare
I reworked the PR to provide only the description for now, until we figure out a stable URL to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
InputStream resourceAsStream = getClass().getClassLoader().getResourceAsStream(META_INF_QUARKUS_NATIVE_RESOURCES_TXT); | ||
if (resourceAsStream != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you're also fixing a bug here?
That was unexpected, but ok.
Follow up on #26943
This produces an output during the GraalVM compilation explaining what the Feature does and allows you to browse to the existing source code:
Screen.Recording.2022-08-04.at.11.40.57.mov