SanderRonde / VSCode-Gerrit

Gerrit plugin for VSCode
https://marketplace.visualstudio.com/items?itemName=SanderRonde.vscode--gerrit
MIT License
31 stars 17 forks source link

Repositories break with mandatory "a/" path for authenticated URLs #59

Closed Mattadore closed 7 months ago

Mattadore commented 7 months ago
SanderRonde commented 7 months ago

Hey can you expand a bit on why this is needed? How does this break repositories and how is it that they don't need the a/? I thought it was mandatory for all authenticated API calls

Mattadore commented 7 months ago

I am not sure about the official gerrit specification, but it does not work without this change with Android gerrit repositories. Might be something weird with the way google does the authentication.

SanderRonde commented 7 months ago

Ah yeah you're right. I think they are indeed doing something strange (looks like a fork of gerrit). I do think that the AOSP is a big enough project that this is a valid thing to have as a setting. Two things still:

If we can't really find any other variations (so no /b/-like) then I think the current approach is fine :)

Mattadore commented 7 months ago

I'll update the PR.

SanderRonde commented 7 months ago

Awesome, sounds good

SanderRonde commented 7 months ago

Both changes should be live in version 1.1.31 now, thanks for the help