You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will lead to this function returning https://https///github.com/foo/bar, which then is written like this in the header (and also used in multiple other places like git branch, git commit, etc.):
Let me know if you accept PRs at this stage of the project :)
The text was updated successfully, but these errors were encountered:
SimonMarquis
changed the title
HTTP git remotes are not correctly parsed, breaking header & jumbotron links
HTTP git remotes are not correctly parsed, breaking HTML links
Jul 1, 2024
I just fixed this (and wrote my first test for that part of the codebase!) 6c17f45
Great minds think alike!
It should be in the latest snapshot of 0.0.2-dev00-SNAPSHOT. Sorry about the long version names. Trying to start publish more, but trying to convey that it's very much a work in progress.
I'm closing this as it's "fixed". Let me know if you have any more issues and I can re-open.
@SimonMarquis I verified this morning that the fix worked on the repo I'm using with https!
Note: I have it linking to an exact commit now instead of a branch. I think that's more accurate, but it's debatable about user experience. I created #16 to capture discussion on that topic if you have any input. Thanks again!
This weirdly written function (looks like an automated translation from another language) does not correctly parse HTTP git remotes:
invert/invert-gradle-plugin/src/main/kotlin/com/squareup/invert/internal/GitDataCollector.kt
Lines 27 to 47 in 935a9aa
For instance,
will lead to this function returning
https://https///github.com/foo/bar
, which then is written like this in the header (and also used in multiple other places like git branch, git commit, etc.):Let me know if you accept PRs at this stage of the project :)
The text was updated successfully, but these errors were encountered: