Skip to content

Feature/659 fix ip should not be matched as versions #661

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 5 commits into from
Oct 4, 2015
Merged

Feature/659 fix ip should not be matched as versions #661

merged 5 commits into from
Oct 4, 2015

Conversation

mkoertgen
Copy link
Contributor

Fixes #659

@gep13
Copy link
Member

gep13 commented Oct 4, 2015

I recently ran into this same issue on a repository at work, so I would be keen to get this merged in.

@JakeGinnivan what are your thoughts? The timeout issue that @mkoertgen mentioned here: #659 (comment) concerns me a little bit.

@JakeGinnivan
Copy link
Contributor

I've never seen it timeout, but the logs have timing info in them, so should be easy to spot what I'd taking the time.

Other than that, pr looks good.

Sent from my Windows Phone


From: Gary Ewan Parkmailto:[email protected]
Sent: ‎4/‎10/‎2015 11:36 PM
To: GitTools/GitVersionmailto:[email protected]
Cc: Jake Ginnivanmailto:[email protected]
Subject: Re: [GitVersion] Feature/659 fix ip should not be matched as versions (#661)

I recently ran into this same issue on a repository at work, so I would be keen to get this merged in.

@JakeGinnivanhttps://github.com/JakeGinnivan what are your thoughts? The timeout issue that @mkoertgenhttps://github.com/mkoertgen mentioned here: #659 (comment)#659 (comment) concerns me a little bit.


Reply to this email directly or view it on GitHubhttps://github.com//pull/661#issuecomment-145359028.

@gep13
Copy link
Member

gep13 commented Oct 4, 2015

@mkoertgen can you provide the logs for a GitVersion run where there is a timeout?

@mkoertgen
Copy link
Contributor Author

Sorry, i did not mean to mention a timeout, just timing infos with GitVersion /output buildserver.

In fact, i do not believe the adjusted RegExp to become a bottleneck. However, i have not much experience with timing in GitVersion.

For my issue #659 gitversion looked about 330 commits back for the ip message. And it took about 0.17 seconds. So right now performance seems to be quite good.

I did not check timing again with the fix included, though.

I think, the PR can be merged in. If someone gets a performance a hit i'll take care of it. word!

JakeGinnivan added a commit that referenced this pull request Oct 4, 2015
…t_be_matched_as_versions

Feature/659 fix ip should not be matched as versions
@JakeGinnivan JakeGinnivan merged commit 0d87102 into GitTools:master Oct 4, 2015
@JakeGinnivan
Copy link
Contributor

This will not be a performance bottleneck in comparison to other things. Negative lookbehinds can be slow, but the strings we have are small and compared to some of the git operations we do, it will be negligible.

@gep13
Copy link
Member

gep13 commented Oct 5, 2015

👍 I will try to give the new version a try this morning on the repo that was giving me problems, and will report back as well

@gep13
Copy link
Member

gep13 commented Oct 5, 2015

👍 this is now working on the internal repo that was exhibiting the same behaviour 😸

@mkoertgen mkoertgen deleted the feature/659_fix_ip_should_not_be_matched_as_versions branch October 6, 2015 13:57
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.

3 participants