-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Is your feature request related to a problem? Please describe.
@andypols has suggested in #1110 that forcing the correct form of URL is cleaner than reusing the trimTrailingDotGit
helper.
I've removed the .replace('.git', '')in getRepoByUrl. I have a new PR that forces the correct form of URL so the problem should go away.
It's all a bit nasty having to use functions like trimTrailingDotGit to adjust the urls. The urls in the proxy actions are always the .git kind. We should be able to match on the actual url and remove trimTrailingDotGit. We can do this incrementally and keep the PRs small.
Describe the solution you'd like
Remove the usages of trimTrailingDotGit
while keeping functionality correct/intuitive
Describe alternatives you've considered
None, open to discussion
Additional context
Related PRs: #1109, #1110
Pinging @06kellyjac who contributed the helper file!