-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitlab Client: Parse owner and repository in a url safe way #698
base: master
Are you sure you want to change the base?
Conversation
a002b6e
to
f3845a1
Compare
Thanks for the PR. I need some time to review it. I'll do it this weekend. |
Hi 👋 |
@StingRayZA I cannot merge the PR right now because it will break other parts of the tool chain. They expect the URLs as they are now. Would you mind to rebase your PR to master and improve the commit message. It is described in the contributing rules. I won't merge it but I will set it as a hacktober contribution. |
Sure, no problem I'll rebase and reformat the commit message. |
This allows us to retain the '/' separation of URL pieces in any gitlab urls that have been stored in the object. This change also lays the groundwork for a fix in the -elk repository to allow multiple nested gitlab group layers in gitlab URLs. See also: chaoss/grimoirelab-elk#946 Signed-off-by: Raimund Hook <[email protected]>
f3845a1
to
5fa96f1
Compare
@sduenas Rebased on master with a reformatted message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As I said, I'll merge it when we fix the related problems in ELK.
Instead of stitching the 'owner' and 'repository' together with a
%2F
- rather join them with a/
and let python make them conformant.This way, if we have any
/
characters embedded in either value, they too will be correctly translated