Request for Comments - Migrating from scriptcs to dotnet-script
Blog post from Octopus Deploy
The proposal to transition from scriptcs to dotnet-script for C# scripting in Octopus Deploy aims to enhance functionality by unlocking newer C# language features, allowing direct referencing of NuGet packages, and removing the dependency on Mono for Linux targets. This change is driven by customer feedback and aims to modernize scripting capabilities by utilizing .NET's cross-platform features, particularly net6.0. While this migration offers significant benefits, such as increased language feature support and streamlined script execution, it also presents trade-offs, notably the deprecation of C# scripting for Linux SSH targets using Mono and Windows deployments on versions older than 2012 R2. Users are encouraged to provide feedback on the proposed changes, as the transition will impact deployment processes that currently rely on older systems or configurations, necessitating updates or workarounds. The decision to implement these changes will depend on user input and the assessment of potential impacts on existing deployment workflows.