Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

FIX: Escape asterisk in git describe call on Windows#262

Merged
effigies merged 3 commits intopython-versioneer:masterpython-versioneer/python-versioneer:masterfrom
DancingQuanta:win_tag_match_fixCopy head branch name to clipboard
Oct 11, 2021
Merged

FIX: Escape asterisk in git describe call on Windows#262
effigies merged 3 commits intopython-versioneer:masterpython-versioneer/python-versioneer:masterfrom
DancingQuanta:win_tag_match_fixCopy head branch name to clipboard

Conversation

@DancingQuanta
Copy link
Contributor

I have created a fix for #122.

This fix makes use of an existing check for win32 to modifies the argument to --match accordingly so that the * is escaped for Windows users.

Copy link
Contributor

@effigies effigies left a comment

Choose a reason for hiding this comment

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

Overall looks reasonable. I opened #263 to enable tests on Windows. Since it seems you have a Windows box, is there any chance you could go through and fix the tests up?

src/git/from_vcs.py Outdated Show resolved Hide resolved
@DancingQuanta
Copy link
Contributor Author

DancingQuanta commented Aug 25, 2021 via email

src/git/from_vcs.py Outdated Show resolved Hide resolved
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
@effigies effigies changed the title A fix for tag prefix match on Windows FIX: Escape asterisk in git describe call on Windows Oct 11, 2021
@effigies effigies merged commit 5db9623 into python-versioneer:master Oct 11, 2021
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.