-
Notifications
You must be signed in to change notification settings - Fork 1.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
Keep track of the original ProjectDescription
#1023
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.
Thanks for the prototype. It's good to see some of the principles in code. I think the main problem right now is the lack of support of custom ProjectDescription
. I've added a few comments.
...or/src/main/java/io/spring/initializr/generator/project/ProjectDescriptionModifications.java
Outdated
Show resolved
Hide resolved
...or/src/main/java/io/spring/initializr/generator/project/ProjectDescriptionModifications.java
Outdated
Show resolved
Hide resolved
...or/src/main/java/io/spring/initializr/generator/project/ProjectDescriptionModifications.java
Outdated
Show resolved
Hide resolved
Thanks for the update but you don't really need to introduce this right now I think. We already have an integration test with a custom project description. I'll do my best to review when time permits. |
When you review you will see my comment around the "custom" one and that it was just there for the prototype so I can see what it would look like when doing the custom project description. Here are my main questions when you get around to reviewing:
|
@snicoll I did not get back around to this today (work keeping me busy). I would not review it yet. I did some thinking today and I have the answers I need. I will ping you when I go another round on it. |
Hi @snicoll - ok lets start fresh. I have rebased and this setup works for both regular and custom diffs. Please take a peek when you can. I will drop a few comments in the MR as well. Thanks. |
@snicoll Was wanting to knock this out over the weekend. Hopefully you can take a peek and give a high-level review before I moved forward anymore. Thanks. If you can't - I understand - you are busy on many things. |
@snicoll I think this is a good 1st cut at the diff model. It supports default project description as well as the custom one. I have added tests as well. I think this is ready for full review. |
c933acd
to
cd8dfd0
Compare
Such a lonely little PR out here w/ nobody to talk to. 😜 |
@bono007 Thank you for taking the time to update the PR. The team is currently quite tied up with Spring Boot work and reviewing PRs for initializr might take a little longer than usual. We have not forgotten about it and we will get to it in due course :) Thank you for your patience. |
No worries @mbhave - thx for heads up. Also, I have been looking for some issues in BOOT to tackle so if you run into something that would be good to dole out, please let me know. Thx |
I've had a good look at this one while traveling and it is heading in the right direction. I hope to be able to find some time to finalize the polish commit I've started. Thanks! |
ProjectDescription
Thanks @bono007, this is now merged with a polish commit. I've removed the |
This commit makes sure that the diff instance is created immediately, taking a snapshot of the ProjectDescription before the customizers are applied on it. Previously, the instance was created as part of the supplier and therefore created only once a component was requiring it. See gh-1023
No description provided.