-
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
Introduce finer version control for codestarts and use it #41202
Introduce finer version control for codestarts and use it #41202
Conversation
a9b0a74
to
2e448e6
Compare
cc @galderz |
If we see this version |
2e448e6
to
16d9c88
Compare
I switched to Jackson Version instead of the Java Runtime one, because the Java one is not working with 1.0 |
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'll check whether we can use a better version comparison approach
@aloubyansky we can always change later, this needs no dependency and all the tests are passing fine I know Maven has a better one but it wasn't in there.. |
This comment has been minimized.
This comment has been minimized.
...starts/src/main/java/io/quarkus/devtools/codestarts/core/reader/QuteCodestartFileReader.java
Outdated
Show resolved
Hide resolved
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.
How does this affect backwards compatibility if any? Old clis will continue to work?
16d9c88
to
889daa4
Compare
This comment has been minimized.
This comment has been minimized.
@aloubyansky could you merge this? |
|
||
final class QuteCodestartFileReader implements CodestartFileReader { | ||
|
||
private static final String TPL_QUTE_FLAG = ".tpl.qute"; | ||
private static final String ENTRY_QUTE_FLAG = ".entry.qute"; | ||
public static final String INCLUDE_QUTE_FLAG = ".include.qute"; | ||
public static final String SKIP_TAG = "<SKIP>"; | ||
private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)(\\.(\\d+))?(\\.(\\d+))?.*"); |
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 we don't need this constant anymore and splitVersion(...)
?
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.
right, duuuuuuhhhh another CI run 😬
834b192
to
76bbdd5
Compare
This comment has been minimized.
This comment has been minimized.
76bbdd5
to
f4ab373
Compare
f4ab373
to
4ff600c
Compare
This fixes project generation incompatibility issues introduced by #36826