Skip to content

Highlight community maintained recipes outside OpenRewrite org #131

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

Closed
timtebeek opened this issue Feb 6, 2023 · 6 comments
Closed

Highlight community maintained recipes outside OpenRewrite org #131

timtebeek opened this issue Feb 6, 2023 · 6 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@timtebeek
Copy link
Contributor

timtebeek commented Feb 6, 2023

Aside from the recipes and use cases that we maintain, the wider community has also adopted OpenRewrite to do their own migrations. Notable instances of these are:

Would be good to showcase these in some way in the documentation; I'm thinking a link just beneath the Recipe catalog link, that leads to a page with a bit of detail about each of these projects, and how they are using OpenRewrite. Possibly with a link inviting other projects to add themselves to the list with a pull request, such that it can grow over time.

That way we can show there's more to OpenRewrite than just what we maintain; plus it highlights that it has proven well enough to work for VMWare, Red Hat, AtomicJar, etc... that should tell people evaluation the project something as well.

Then perhaps in the future this can grow to encompass compatibility tests around our / their releases, and inclusion of compatible recipe collections in the SaaS. But all that can follow; a documentation page should do for now.

@timtebeek timtebeek added the documentation Improvements or additions to documentation label Feb 6, 2023
@timtebeek timtebeek moved this to Backlog in OpenRewrite Feb 6, 2023
@timtebeek
Copy link
Contributor Author

I'm wondering if it'd make sense to add these community maintained recipes to the rewrite-recipe-markdown-generator 🤔 Any thoughts there @mike-solomon ?

@mike-solomon
Copy link
Contributor

Would you mind expanding on what you mean by add these to the markdown generator @timtebeek ? If we are just making a page with links and a blurb, I’m not sure I see a need for automation on that front. It might be confusing to others if they edit the community page and then it gets overwritten. But maybe I’m missing something?

@timtebeek
Copy link
Contributor Author

Sure so for instance Axon Framework now has migration recipes:
https://central.sonatype.com/artifact/org.axonframework/axon-migration/4.7.3

If we were to add implementation("org.axonframework:axon-migration:4.7.3") to
https://github.com/openrewrite/rewrite-recipe-markdown-generator/blob/main/build.gradle.kts
then those recipes would also show up in docs.openrewrite.org.

There's some potential for confusion about which are community maintained, and which are OpenRewrite recipes. Some kind of note or label might be in order. Also not sure how these would tie in with the current categories, which might need attention.

@mike-solomon
Copy link
Contributor

@timtebeek I didn't see any recipes in the public SaaS that matched Axon. Are community recipes like these not available in the SaaS or am I just searching for the wrong thing?

If these community recipes aren't available in the SaaS, I feel like we shouldn't add them in the same section as the other recipes. Perhaps an entirely different tab with instructions for how to work with them.

@mike-solomon
Copy link
Contributor

From Slack discussions - another point to consider:

Some of the code we have will not work out of the box for external recipes. For instance, GitHub recipe links won't work as we've hard coded that to be very specific to OpenRewrite. I imagine other things may not work as well. If we did decide to add external recipes, some research would need to be done into what works and what we should change.

@timtebeek
Copy link
Contributor Author

As of recently we've started including some external recipe modules in rewrite-third-party, and from there add them to the generated documentation.

We can evaluate and expand the above to include more recipes as helpful to our users.

@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenRewrite Nov 4, 2024
@mike-solomon mike-solomon self-assigned this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

No branches or pull requests

2 participants