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

(#495) Allow milestones without issues #615

Merged
merged 4 commits into from
Apr 3, 2025

Conversation

Jericho
Copy link
Contributor

@Jericho Jericho commented Jul 30, 2024

Allow developers to specify whether they want to allow a release to be created even when the milestone is not associated with any issues.

Regarding #495

@Jericho Jericho force-pushed the allow_milestone_without_issues branch from 329ce1d to 86ec74f Compare February 1, 2025 14:35
@Jericho Jericho force-pushed the allow_milestone_without_issues branch 2 times, most recently from 89be67c to 4c741ab Compare February 20, 2025 16:39
@gep13 gep13 changed the title (GH-495) Allow milestones without issues (#495) Allow milestones without issues Mar 25, 2025
@gep13 gep13 force-pushed the allow_milestone_without_issues branch 2 times, most recently from 17a8115 to 9f64eb4 Compare March 25, 2025 19:09
@Jericho Jericho force-pushed the allow_milestone_without_issues branch from f6285e6 to 6a97712 Compare April 3, 2025 01:16
This commit introduces a new configuration value in the
GitReleaseManager.yaml file, which is disabled by default.  When
enabled, it will be used to control whether the creation of an "empty"
release is allowed.  This will make use of a new "empty" Scriban
template, which will be introduced in the next commit.
@gep13 gep13 force-pushed the allow_milestone_without_issues branch from 6a97712 to a66c7ab Compare April 3, 2025 06:46
Jericho and others added 3 commits April 3, 2025 08:01
When creating a release a new template is used when a milestone does not
have any associated issues AND the developer has indicated they want to
allow milestones without issues.

The decision on which template to use has had to be moved.  It can still
be overridden when required, but the calculated value is based on how
many issues have been found, whether to include contributors, etc.
Due to the change to allow calculation of which template to use, it is
no longer needed to pass in a template value.  This is only needed when
we specifically want/need to control which template is used.
Add information to the docs section for the new
allow-milestone-without-issues option.
@gep13 gep13 force-pushed the allow_milestone_without_issues branch from a66c7ab to c4cdc00 Compare April 3, 2025 07:01
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gep13
Copy link
Member

gep13 commented Apr 3, 2025

@Jericho thank you very much for getting this PR in, I really appreciate it!

I have made a couple of small changes to it, in order to get it over the line, but this should be going out the door today, along with a change to target the latest .NET Framework.

@gep13 gep13 merged commit dd117fe into GitTools:develop Apr 3, 2025
2 checks passed
gep13 pushed a commit that referenced this pull request Apr 3, 2025
Merge pull request #615 from Jericho/allow_milestone_without_issues

(#495) Allow milestones without issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An empty release (no issues) should lead to a draft instead of a release error
2 participants