Bug 308716 - Allow to select the protocol used by 'git clone' in kdesettings.bat
Summary: Allow to select the protocol used by 'git clone' in kdesettings.bat
Status: RESOLVED FIXED
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-20 15:45 UTC by Bogdan Cristea
Modified: 2013-04-30 15:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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