Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57030 Details for
Bug 90147
Added HTTP,FTP,RSYNC proxy support to GLIInstallProfile and the Dialog frontend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add proxy support GLIInstallProfile.
GLIInstallProfile.patch (text/plain), 2.98 KB, created by
Christopher Hotchkiss
on 2005-04-23 11:36:25 UTC
(
hide
)
Description:
Patch to add proxy support GLIInstallProfile.
Filename:
MIME Type:
Creator:
Christopher Hotchkiss
Created:
2005-04-23 11:36:25 UTC
Size:
2.98 KB
patch
obsolete
>diff -a -u -r1.43 GLIInstallProfile.py >--- GLIInstallProfile.py 14 Apr 2005 18:35:38 -0000 1.43 >+++ GLIInstallProfile.py 23 Apr 2005 18:31:33 -0000 >@@ -44,6 +44,9 @@ > parser.addHandler('gli-profile/portage-snapshot', self.set_portage_tree_snapshot_uri) > parser.addHandler('gli-profile/time-zone', self.set_time_zone) > parser.addHandler('gli-profile/boot-loader_mbr', self.set_boot_loader_mbr) >+ parser.addHandler('gli-profile/http-proxy', self.set_http_proxy) >+ parser.addHandler('gli-profile/ftp-proxy', self.set_ftp_proxy) >+ parser.addHandler('gli-profile/rsync-proxy', self.set_rsync_proxy) > parser.addHandler('gli-profile/nisdomainname', self.set_nisdomainname) > parser.addHandler('gli-profile/install-stage', self.set_install_stage) > parser.addHandler('gli-profile/boot-loader', self.set_boot_loader_pkg) >@@ -624,6 +627,67 @@ > > ## > # Brief description of function >+ def get_http_proxy(self): >+ "returns http proxy" >+ return self._http_proxy >+ >+ ## >+ # Brief description of function >+ # @param xml_path Used internally by the XML parser. Should be None when calling directly >+ # @param http_proxy Parameter description >+ # @param xml_attr Parameter description >+ def set_http_proxy(self, xml_path, http_proxy, xml_attr): >+ "http_proxy is a uri containing a proxy if needed for http traffic. (ie. 'http://myhost.mydomain:myport')" >+ >+ # Check type >+ if not GLIUtility.is_uri(http_proxy): >+ raise GLIException("HTTPProxyError", 'fatal', 'set_http_proxy', "Must be a uri!") >+ >+ self._http_proxy = http_proxy >+ >+ >+ ## >+ # Brief description of function >+ def get_ftp_proxy(self): >+ "returns ftp proxy" >+ return self._ftp_proxy >+ >+ ## >+ # Brief description of function >+ # @param xml_path Used internally by the XML parser. Should be None when calling directly >+ # @param ftp_proxy Parameter description >+ # @param xml_attr Parameter description >+ def set_ftp_proxy(self, xml_path, ftp_proxy, xml_attr): >+ "ftp_proxy is a uri containing a proxy if needed for ftp traffic. (ie. 'ftp://myhost.mydomain:myport')" >+ >+ # Check type >+ if not GLIUtility.is_uri(ftp_proxy): >+ raise GLIException("FTPProxyError", 'fatal', 'set_ftp_proxy', "Must be a uri!") >+ >+ self._ftp_proxy = ftp_proxy >+ >+ ## >+ # Brief description of function >+ def get_rsync_proxy(self): >+ "returns rsync proxy" >+ return self._rsync_proxy >+ >+ ## >+ # Brief description of function >+ # @param xml_path Used internally by the XML parser. Should be None when calling directly >+ # @param rsync_proxy Parameter description >+ # @param xml_attr Parameter description >+ def set_rsync_proxy(self, xml_path, rsync_proxy, xml_attr): >+ "rsync_proxy is a uri containing a proxy if needed for rsync traffic. (ie. 'rsync://myhost.mydomain:myport')" >+ >+ # Check type >+ if not GLIUtility.is_uri(rsync_proxy): >+ raise GLIException("RSYNCProxyError", 'fatal', 'set_rsync_proxy', "Must be a uri!") >+ >+ self._rsync_proxy = rsync_proxy >+ >+ ## >+ # Brief description of function > def get_nisdomainname(self): > "returns nisdomainname" > return self._nisdomainname
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 90147
: 57030 |
57031
|
57038