Skip to content
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

Update recipe descriptions #2

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/openrewrite/dotnet/UpgradeAssistant.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String getDisplayName() {
@Override
public String getDescription() {
return "Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) " +
"across a project to upgrade it to a newer .NET framework version.";
"across a repository to upgrade projects to a newer version of .NET.";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public String getDisplayName() {
@Override
public String getDescription() {
return "Run [upgrade-assistant analyze](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) " +
"across a project to analyze changes required to upgrade it to a newer .NET framework version." +
"This recipe will generate a org.openrewrite.dotnet.UpgradeAssistantAnalysis data table containing " +
"across a repository to analyze changes required to upgrade projects to a newer version of .NET." +
"This recipe will generate an `org.openrewrite.dotnet.UpgradeAssistantAnalysis` data table containing " +
"the report details.";
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/rewrite/category.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

---
type: specs.openrewrite.org/v1beta/category
name: DotNet
name: .Net
packageName: org.openrewrite.dotnet
description: Recipes to migrate projects using .NET tools.
---
8 changes: 8 additions & 0 deletions src/main/resources/META-INF/rewrite/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,32 @@
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.dotnet.MigrateToNet6
displayName: Upgrade to .NET 6.0 using upgrade-assistant
description: Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 6.0.
recipeList:
- org.openrewrite.dotnet.UpgradeAssistant:
targetFramework: net6.0
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.dotnet.MigrateToNet7
displayName: Upgrade to .NET 7.0 using upgrade-assistant
description: Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 7.0.
recipeList:
- org.openrewrite.dotnet.UpgradeAssistant:
targetFramework: net7.0
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.dotnet.MigrateToNet8
displayName: Upgrade to .NET 8.0 using upgrade-assistant
description: Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 8.0.
recipeList:
- org.openrewrite.dotnet.UpgradeAssistant:
targetFramework: net8.0
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.dotnet.MigrateToNet9
displayName: Upgrade to .NET 9.0 using upgrade-assistant
description: Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 9.0.
recipeList:
- org.openrewrite.dotnet.UpgradeAssistant:
targetFramework: net9.0