-
Notifications
You must be signed in to change notification settings - Fork 663
Support C# format strings in config #4605
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3a0e312
Support C# format strings in config
9swampy c5559a8
Address PR comments.
9swampy e4ec0dd
Address PR comments II. Apply SOLI>>D<< to ValueFormatter.
9swampy 8872f2b
Draft documentation proposal.
9swampy dfd7ec0
Add ZeroFormatting tests to cover zero-suppression syntax
9swampy 16ff852
Align tests with moved InputSanitizer.cs and StringFormatWithExtensio…
9swampy 133d788
Renames and updates PascalCase extension method
arturcic 89eab8a
Fix table alignment and remove trailing whitespaces
arturcic 887b468
Moves formatting tests to correct namespace
arturcic 54d73c0
address PR comments
arturcic e4c2d14
Remove questionable documentation
9swampy daf63ff
Update src/GitVersion.Core.Tests/Formatting/NumericFormatterTests.cs
9swampy 27ef709
ensures consistent date parsing
arturcic 5f509d8
fix sonarcloud
arturcic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Align tests with moved InputSanitizer.cs and StringFormatWithExtensio…
…n.cs
- Loading branch information
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/GitVersion.Core.Tests/Extensions/StringFormatWithExtensionTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rsion.Core.Tests/Helpers/EdgeCaseTests.cs → ...on.Core.Tests/Formatting/EdgeCaseTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Core.Tests/Helpers/InputSanitizerTests.cs → ...e.Tests/Formatting/InputSanitizerTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....Tests/Helpers/SanitizeEnvVarNameTests.cs → ...sts/Formatting/SanitizeEnvVarNameTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....Tests/Helpers/SanitizeMemberNameTests.cs → ...sts/Formatting/SanitizeMemberNameTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...itVersion.Core/Helpers/IInputSanitizer.cs → ...ersion.Core/Formatting/IInputSanitizer.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| namespace GitVersion.Helpers | ||
| namespace GitVersion.Formatting | ||
| { | ||
| internal interface IInputSanitizer | ||
| { | ||
|
|
||
20 changes: 1 addition & 19 deletions
20
...GitVersion.Core/Helpers/InputSanitizer.cs → ...Version.Core/Formatting/InputSanitizer.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.