Disabling recipes should be considered once more #4211
-
I know there have been multiple discussions and issues about disabling recipes. The arguments on why that feature doesn't exist are mainly:
However, that totally misses the scaling problems that I've encountered again and again now: When a composite recipe grows, then there comes a point for every user where it contains a nested recipe that just doesn't fit the own requirements, conditions and environment. Some simple examples:
For me this often leads to a workflow of:
That doesn't scale well:
I'm not sure if others just don't OpenRewrite regularly (so they can ignore the unwanted changes easily when committing after a one-time run), or if most people just apply one recipe or one category of recipe. But I would expect to see more people with similar problems in the future, when adopting OpenRewrite more broadly. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
hi @Bananeweizen ; appreciate you starting a broader discussion where it's less fleeting than in Slack. Similar feedback has been a big motivator for us to revise the recipe builder that we offer at https://app.moderne.io/builder. There folks can now much more easily see what makes up a composite recipe that we offer, and choose to exclude certain recipes from that composite. Then you can download the resulting recipe and share and version that in a company specific recipe jar. Here's a quick preview of what that looks like in practice. Notice how you can drill down and search on the right, then select and edit or even remove nodes from this interface. We believe this new builder goes a long way towards creating recipes that fit just right for your organization & needs, and are curious to hear your thoughts. As always we remain open for further feedback! |
Beta Was this translation helpful? Give feedback.
-
I'm not sure how useful such diffing would be as recipes can also change, but the names remain the same. OSS recipes are community best effort with consumers usually curating their own. Storing recipes in github and versioning them there would also help. |
Beta Was this translation helpful? Give feedback.
hi @Bananeweizen ; appreciate you starting a broader discussion where it's less fleeting than in Slack. Similar feedback has been a big motivator for us to revise the recipe builder that we offer at https://app.moderne.io/builder. There folks can now much more easily see what makes up a composite recipe that we offer, and choose to exclude certain recipes from that composite. Then you can download the resulting recipe and share and version that in a company specific recipe jar. Here's a quick preview of what that looks like in practice. Notice how you can drill down and search on the right, then select and edit or even remove nodes from this interface.
We believe this new builder goes a …