feat(poly diff): multiple diff tag patterns - #131
Merged
Merged
Conversation
DavidVujic
force-pushed
the
diff-tag-patterns
branch
from
November 5, 2023 14:38
0a47213 to
d4705ab
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
DavidVujic
marked this pull request as ready for review
November 5, 2023 15:04
|
Wow that was quick. Thank you! |
Owner
Author
|
😄 There is a new version out: v1.12.0 Docs update: https://davidvujic.github.io/python-polylith-docs/configuration/ In the workspace.toml: [tool.polylith.tag.patterns]
stable = "stable-*"
release = "v[0-9]*"I hope this will help, and thank you for sharing your ideas about this! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.








Description
Add possibility to have more than one git tag pattern, such as
stableandrelease.fixes #130
TOML docs about Table structure: https://toml.io/en/v1.0.0#table
Clojure example: https://github.com/polyfy/polylith/blob/master/workspace.edn
Clojure docs: https://polylith.gitbook.io/poly/workflow/tagging
Motivation and Context
This will make it possible to calculate differences in a more fine-grained way.
Example:
the diff between a feature branch and the latest stable version (usually the main branch),
or the diff based on a release version.
usage:
# using the default "stable" in the new workspace.toml table, or the already existing "git_tag_pattern" poetry poly diff# calculate diff based on the latest release tag. The pattern is defined in workspace.toml poetry poly diff --since releaseHow Has This Been Tested?
Local install, tested on this repo + the python polylith example repo.
CI ✅
Types of changes
Checklist: