WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
135556
[jhbuild] Make jhbuild modules use https protocol instead of git
https://bugs.webkit.org/show_bug.cgi?id=135556
Summary
[jhbuild] Make jhbuild modules use https protocol instead of git
Vivek Galatage
Reported
2014-08-03 22:59:38 PDT
Some corporate firewalls block the usage of git protocol. Making the git repository URLs using "https" protocol instead of "git" fixes the issue.
Attachments
Patch
(2.43 KB, patch)
2014-08-03 23:03 PDT
,
Vivek Galatage
mrobinson
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Vivek Galatage
Comment 1
2014-08-03 23:03:38 PDT
Created
attachment 235964
[details]
Patch
Philippe Normand
Comment 2
2014-08-05 00:37:14 PDT
Have you asked your network admins about this? Perhaps there's a less invasive way to use http instead of git by locally configuring your jhbuild setup? If possible I'd like to keep using git protocol by default because it's more efficient, see also
http://git-scm.com/book/en/Git-on-the-Server-The-Protocols
Vivek Galatage
Comment 3
2014-08-05 05:23:15 PDT
(In reply to
comment #2
)
> Have you asked your network admins about this? >
Yes and the IT dept is saying it will not be enabled for git as such.
> Perhaps there's a less invasive way to use http instead of git by locally configuring your jhbuild setup?
Any pointers on how to do it? Also is there a way to specifiy multiple URLs (fallback ones) in jhbuild.modules? This way we could always keep the first one to be git one and then https one based on priority and availability.
Philippe Normand
Comment 4
2014-08-05 05:31:39 PDT
Have you tried this approach?
http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/
Vivek Galatage
Comment 5
2014-08-05 08:45:23 PDT
(In reply to
comment #4
)
> Have you tried this approach? > >
http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/
Sure, I will try this tomorrow once in office. Thank you.
Vivek Galatage
Comment 6
2014-08-07 00:34:20 PDT
(In reply to
comment #5
)
> (In reply to
comment #4
) > > Have you tried this approach? > > > >
http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/
> > Sure, I will try this tomorrow once in office. Thank you.
I found a past relevant dicussion here [1]. Unfortunately, the socat method outlined in the above URL didn't work inside the office environment. Looks like the base requirement of port 9418 being open by proxy is not met. Its not a really hard to patch this locally and get the source repos using https. But ideally, if jhbuild could support multiple repo URLs (for fallback), this wouldn't repeat time and time again. [1]
https://lists.webkit.org/pipermail/webkit-gtk/2013-October/001599.html
Martin Robinson
Comment 7
2016-03-09 12:28:49 PST
Comment on
attachment 235964
[details]
Patch I think we are going to pass on this for the moment, given Philippe's comments about efficiency.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug