Closed rubenandre closed 6 days ago
Appreciate the issue and the PR. Looks like I am messing up with the support of the many source kinds. Especially I don't use half of them in my day-to-day work.
I need to recollect myself and sit down to focus, quickfixes just generate more issues. That said, please allow me a few days to evaluate your PR.
We have a similar issue with github as well, there https://github.com/{OWNER}/{REPO_NAME}.git/commit/{COMMIT_HASH} doesnt work, but https://github.com/{OWNER}/{REPO_NAME}/commit/{COMMIT_HASH} works. So it should strip the .git
if it has either with SSH or HTTP(S)
@laszlocph any idea when this PR would be merged and fixed, and also roll out a new version?
In first place thanks by this amazing project.
I found some inconsistencies on "Sync" section. Since the source spec that comes from the API already includes https:// including it on
Kustomization.jsx:143
generates an invalid URL (https://https//gitlab.com) when clicking the link.I did a local modification on the line 143 to remove the prefix https://, but it also fails (in my case) because the git repository URL ends on a .git.
I'll open a PR to fix this specific case, but this might need an extra evaluation and string manipulation logic to handle this in another way because I foresee that this will also break for the following scenarios:
Kustomization.jsx:107
)The PR will target
Kustomization.jsx:107
because targetingKustomization.jsx:143
would break it for ssh type git repository source