Introduce automated code changes with OpenRewrite (BUILD-1004)

[BUILD-1009] Create a task that can take a list of recipes and run them on a list of repositories Created: 06/Feb/23  Updated: 14/Apr/23  Resolved: 31/Mar/23

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Maxime Michel Assignee: Michael Duerig
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Date of First Response:
Team: Foundation

 Description   

It already looks like we will have a variety of scenarios when applying recipes to code. In some cases, we'll want to merge a quickfix to the master branches. In other cases, we will want pull requests to double-check that things are fine. In some cases, running the recipes will be a one-off thing, other times it will be a periodic job. Hence, we should have a flexible entry point (pipeline) to do the following:

  • take a list of recipes with parameters (use OpenRewrite's YAML?)
  • take a list of repositories (& target branches)
  • run the recipes on the repositories
  • push them to the branch and/or create a pull request


 Comments   
Comment by Michael Duerig [ 30/Mar/23 ]

Created BUILD-1035 as a follup-up on the UI side

Generated at Sun Feb 11 23:47:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.