Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Github uri formats can vary #669

Merged
merged 4 commits into from
Feb 2, 2019

Conversation

AnthonySteele
Copy link
Member

@AnthonySteele AnthonySteele commented Feb 1, 2019

Github uri formats can vary. not just .git on the end but also trailing slash.
This issue that prevented a fork being used due to presence/absence of trailing slash and therefor string mismatch.

Extracted the code that normalises them into GithubHelpers. Call it in 1 more place where the format can vary.
Use Uri not string a bit more.
More details in the message when it does not match. The original message doesn't say which of the 2 possible reasons it failed for, not pushable, or not matching. it just said
User 'anthony-steele' fork of 'helper-lib' exists but is unsuitable.

Anthony Steele added 3 commits February 1, 2019 11:03
Github uri formats can vary
Fix issue that prevented a fork being used due to presence/absence of trailing slash
@AnthonySteele
Copy link
Member Author

This issue was probably introduced at #637

@AnthonySteele
Copy link
Member Author

Needs test with variations on urls in GitHubForkFinderTests

@AnthonySteele AnthonySteele merged commit b239e15 into NuKeeperDotNet:master Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant