Meir Blachman

Results 121 issues of Meir Blachman

consider the following: ```cs class StepTypedParameters { [AllowedValues("5.0.100", "5.0.102")] public string? Version { get; init; } public bool? SkipBuild { get; init; } } class Step_Typed_Template_Definition(StepTypedParameters? parameters = null) :...

feature request

the following code is not valid: ```csharp public class TestPipeline : ExtendsPipelineDefinition { public override string TargetFile => "test-pipeline.yml"; public override TargetPathType TargetPathType => TargetPathType.RelativeToGitRoot; public override PipelineWithExtends Pipeline =>...

- `Maven@4` - https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/maven-v4?view=azure-pipelines - `MavenAuthenticate@0` - https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/maven-authenticate-v0?view=azure-pipelines ```diff public abstract class AzureDevOpsDefinition { + protected static MavenTaskBuilder Maven { get; } = new(); } +public class MavenTaskBuilder +{ +...

See how [nuke build](https://github.com/nuke-build/) does this, static file definitions - https://github.com/nuke-build/nuke/blob/a36819c5d9f9813737ef256585bcaa2f4004b6b9/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs usage https://github.com/nuke-build/nuke/blob/a36819c5d9f9813737ef256585bcaa2f4004b6b9/build/Build.cs#L24C1-L24C51 this means that we would be able to define groups of methods in separate static classes, then...

proposal

would be nice to be able to pass variable/parameter to template parameters: ```csharp private class MyTestPipeline : PipelineDefinition { private static readonly Variable myVar = new Variable("myVar", "myValue"); private static...

feature request

We should be able to generate C# classes that extend the `AzureDevOpsTask` type using the json-schema from https://github.com/microsoft/azure-pipelines-vscode/blob/main/service-schema.json see my POC - https://gist.github.com/Meir017/f949571227c61021aad077ffebacda45

proposal