Bug 308716

Summary: Allow to select the protocol used by 'git clone' in kdesettings.bat
Product: kde-windows Reporter: Bogdan Cristea <cristeab>
Component: buildsystemAssignee: KDE-Windows <kde-windows>
Status: RESOLVED FIXED    
Severity: normal CC: ps_ml
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Bogdan Cristea 2012-10-20 15:45:59 UTC
git clone uses the default internal protocol. However, public hotspots often block all ports except http port, thus 'git clone' as used by emerge does not work. One needs to separately clone with git using http protocol in the default location (%kderoor%/git), then to restart emerge and everything runs smoothly. Instead of this additional step, it might be useful to explicitly select the protocol used by 'git clone' in kdesettings.bat file. Same for svn. 

Reproducible: Always

Steps to Reproduce:
1.Ensure that you are on public network allowing only connections to http port
2.emerge qt
Actual Results:  
On public network allowing only connections to http port cloning qt repository fails

Expected Results:  
One should be able to select in kdesettings.bat file the protocol used by gi clone. Thus selecting http protocol step 2 should succeed.

Cloning repositories using svn or git should be configurable in order to use a specific protocol: http or git/svn (if multiple protocols are available).
Similarly, when downloading files, http or ftp protocols should be possible to use if both are available.
Comment 1 Patrick Spendrin 2013-04-30 15:14:28 UTC
You can use the emergehosts.conf for that:
http://techbase.kde.org/Getting_Started/Build/Windows/emerge#.5BOptional.2C_Advanced.5D_emergehosts.conf