-
Notifications
You must be signed in to change notification settings - Fork 38
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
(GH-217) Additional improvements to fine-grained templates #294
Conversation
Build failure is due to codecov (rebased and force pushed in a too short of a timespan). |
@gep13 Documentation is now updated, I believe this is now ready for a review. |
Codecov Report
@@ Coverage Diff @@
## develop #294 +/- ##
===========================================
+ Coverage 78.36% 78.88% +0.52%
===========================================
Files 54 57 +3
Lines 1137 1274 +137
Branches 131 160 +29
===========================================
+ Hits 891 1005 +114
- Misses 225 247 +22
- Partials 21 22 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor thing that I think needs to be added.
@AdmiringWorm based on what I am seeing here, am I right in saying that this change isn't a breaking change? Any existing usage of configuration values in the YAML file should continue to work, right? |
@AdmiringWorm looks like some unit tests are now failing as well. Not sure if that is due to some of the changes that I have made in the develop branch or not. |
Correct, there shouldn't be any breaking changes, although the intention is for the template files to eventually replace the configured template strings in the yaml file (but for now, just hiding them when they are default values should be enough).
Hmm, could be related to those changes, but I need to look into it before I can say for sure. |
I think there might have been a breaking change in the Scriban library (you updated it from 2.1.4 to 3.x), can't seem to find any reference to a breaking change though 😕 |
The help text for the option have also been updated to mention updated template provider.
This includes both updated logic for the templates, as well as better whitespace handling that have plagued (IMO) the release notes for a long time.
…mplates The hidden properties can still be used, but will not be part of the sample that gets generated when running 'init'.
Codecov Report
@@ Coverage Diff @@
## develop #294 +/- ##
===========================================
+ Coverage 78.36% 78.88% +0.52%
===========================================
Files 54 57 +3
Lines 1137 1274 +137
Branches 131 160 +29
===========================================
+ Hits 891 1005 +114
- Misses 225 247 +22
- Partials 21 22 +1
Continue to review full report at Codecov.
|
@AdmiringWorm looks like bumping to 3.3.0 has fixed the issues that we were seeing with this PR. Will take another look over it later today, and get it merged in. |
This was the Scriban issue for reference. |
@AdmiringWorm I have no idea why GitVersion is working properly on the CI build, but I am going to YOLO it... |
@AdmiringWorm your changes have been merged, thanks for your contribution 👍 |
Depends on PR #292
Description
This pull request adds quite some additional changes, among these changes are:
Related Issue
Relates to already closed issue #217 (this pull request finishes up that request).
Motivation and Context
To allow more fine-grained release notes.
How Has This Been Tested?
This have been tested through trial and error, mostly with new unit tests but also some basic generation of release notes locally.
Screenshots (if appropriate):
Checklist: