Add git.get_tag() and svn.get_tag() - #4306
Conversation
jgsogo
left a comment
There was a problem hiding this comment.
Does it work with lightweight tags?
jgsogo
left a comment
There was a problem hiding this comment.
Just two typos, and... can we add a test that raises?
|
@danimtb, what about the test that raises from |
|
This PR is breaking previous behavior. Although I'm agree that that current one is the good one, I want to be sure that you are aware of it (ping @conan-io/barbarians): https://github.com/conan-io/conan/pull/4306/files#diff-4d836661d105934362de1c311c59ce8cR1882 |
|
Yes, it was not consistent with |
|
Thanks for the observation @jgsogo. I also agree it is better now. Fortunately, scm is still experimental because only the usage brings the knowledge. |
|
|
SCM is experimental, |
|
It is experimental, change the docs. |
Changelog: Feature: Added
get_tag()methods totools.Git()andtools.SVN()helpers.Changelog: Fix:
get_branch()method oftools.SVN()helper now returns only the branch name, not the tag when present.Docs: conan-io/docs#1020
@tags: svn, slow
developbranch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.