Replies: 4 comments 2 replies
-
I would try to avoid loading assemblies, I think better to plan to take advantage on using .net 8 AOT in the 7.x version (that will require also the managed git to be implemented) |
Beta Was this translation helpful? Give feedback.
-
pays into the issue #1839 (Configurable next-version strategies and mode):
and issue #1419 (How to override version strategy computation):
|
Beta Was this translation helpful? Give feedback.
-
The final concept is to specify the following enums and replace VersioningMode with DeploymentMode. In addition a new property with name strategies (type VersioningStrategies[]) will be added on the configuration root level: [Flags]
public enum VersioningStrategies
{
None = 0,
ConfigNextVersion = 1,
MergeMessage = 2,
TaggedCommit = 4,
TrackReleaseBranches = 8,
VersionInBranchName = 16,
TrunkBased = 32
}
public enum DeploymentMode
{
ManualDeployment,
ContinuousDelivery,
ContinuousDeployment
} |
Beta Was this translation helpful? Give feedback.
-
Yes, let's go with this implementation |
Beta Was this translation helpful? Give feedback.
-
I would like to discuss with you how to replace the version mode Mainline in 6.x. I have thought about it and did some prototyping ( see #3252 (reply in thread) and #3308 ).
I think we are agree on it that the VersioningMode.Mainline is not so nice and should be refactored. I would not say to remove the hole trunk-based workflow because I think there is a use case for it. My first thought was to just rename it from Mainline to Trunkbase but the logic of how the semantic version will be determined is completely different compared to the non-trunk-based workflows. Also in some situation when using the trunk-based workflow e.g. creating feature branches you would like to use continues-delivery or manually-deplyoment mode dependent on your deployment strategy. Thus the mainline alias trunkbased mode should not part of the version mode enum itself but it should be part of the versioning strategy implementation.
Beta Was this translation helpful? Give feedback.
All reactions