Bug 305411 - wish: Use http_proxy environment variable.
Summary: wish: Use http_proxy environment variable.
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: Git
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-18 23:31 UTC by Michael Pyne
Modified: 2024-05-10 09:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.16
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pyne 2012-08-18 23:31:35 UTC
kdesrc-build uses libwww-perl (LWP) for downloading some files from the Internet. LWP supports using a fairly-standard 'http_proxy' environment variable to allow for proxy support, but kdesrc-build needs to take extra action to enable this to actually work. This should be done for networks where git protocol is locked down.
Comment 1 Michael Pyne 2012-08-19 23:24:15 UTC
Git commit da098bebfd5da903f49ead490a5e1178df5f6954 by Michael Pyne.
Committed on 19/08/2012 at 23:56.
Pushed by mpyne into branch 'master'.

Allow setting http-proxy settings.

Right now this will be utilized for anything needing libwww-perl
(kde_projects.xml download, tarball snapshots), and will be propagated
to subprocesses via http_proxy environment variable, unless that
variable is already set.

Tested by using a simple HTTP proxy utilizing HTTP::Proxy from CPAN.

Implements wish 305411.
FIXED-IN:1.16

M  +18   -0    doc/index.docbook
M  +22   -5    kdesrc-build

http://commits.kde.org/kdesrc-build/da098bebfd5da903f49ead490a5e1178df5f6954
Comment 2 Michael Pyne 2024-05-10 09:16:02 UTC
Git commit 808c836b4a3d051c42415f9c2c3d638259fc0a21 by Michael Pyne.
Committed on 19/08/2012 at 21:56.
Pushed by ashark into branch 'docbook_historied_per_file'.

Allow setting http-proxy settings.

Right now this will be utilized for anything needing libwww-perl
(kde_projects.xml download, tarball snapshots), and will be propagated
to subprocesses via http_proxy environment variable, unless that
variable is already set.

Tested by using a simple HTTP proxy utilizing HTTP::Proxy from CPAN.

Implements wish 305411.
FIXED-IN:1.16

Original commit: da098beb
https://invent.kde.org/sdk/kdesrc-build/-/commit/da098bebfd5da903f49ead490a5e1178df5f6954

M  +18   -0    doc/kdesrc-buildrc/conf-options-table.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/808c836b4a3d051c42415f9c2c3d638259fc0a21