Skip to content

Include which recipes include other recipes - #202

Merged
timtebeek merged 6 commits into
mainfrom
include-recipe-used-by
Jul 24, 2025
Merged

Include which recipes include other recipes#202
timtebeek merged 6 commits into
mainfrom
include-recipe-used-by

Conversation

@timtebeek

Copy link
Copy Markdown
Member

What's changed?

What's your motivation?

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jul 24, 2025
@timtebeek timtebeek self-assigned this Jul 24, 2025
val moderneProprietaryRecipes = TreeMap<String, MutableList<RecipeDescriptor>>()

// Build reverse mapping of recipe relationships (which recipes contain each recipe)
val recipeContainedBy = mutableMapOf<String, MutableList<RecipeDescriptor>>()

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can likely use this same mapping when it comes to recipes not included anywhere.

@timtebeek
timtebeek marked this pull request as ready for review July 24, 2025 22:36
@timtebeek
timtebeek requested a review from mike-solomon July 24, 2025 22:36
@timtebeek timtebeek added the documentation Improvements or additions to documentation label Jul 24, 2025
@timtebeek
timtebeek merged commit f7b44d5 into main Jul 24, 2025
1 check passed
@timtebeek
timtebeek deleted the include-recipe-used-by branch July 24, 2025 22:39
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jul 24, 2025
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

Successfully merging this pull request may close these issues.

1 participant