[email protected] wrote:
On Thu, Jun 25, 2009 at 06:52:13PM -0700, [email protected] wrote:
On Tue, Jun 23, 2009 at 01:34:41PM -0700, [email protected] wrote:
Folks,
For a while, our transport system has not really been adequate to
address all of the goals for the pkg project. The python libraries that
we have been using are capabable for basic functionality, but fall flat
when we try to perform more complicated or performant network
operations.
The following webrev converts our transport from using the
urllib/httplib in python to PyCurl, which is based upon libcurl.
http://cr.opensolaris.org/~johansen/webrev-xport-1/
Comments welcome.
Thanks to all of you who have provided comments so far. I've
incorporated the feedback I've received. The webrev below contains the
changes requested in review, as well as a small feature that Shawn
requested.
http://cr.opensolaris.org/~johansen/webrev-xport-2/
I haven't had any further comments on this webrev. I just updated it to
include fixes to get distro-import to properly import SUNWpython-pycurl,
and to make sure the dependency is reflected in SUNWipkg. If no one has
anything else to add, I'll consider putting this back tomorrow.
I also encountered this failure in search today with the new transport
patch applied:
time python ./client.py search -s "http://pkg.opensolaris.org/contrib/"
"<python>"
PACKAGE
Traceback (most recent call last):
File "./client.py", line 2594, in ?
__ret = main_func()
File "./client.py", line 2545, in main_func
return search(mydir, pargs)
File "./client.py", line 1081, in search
return_type, pub)
File "./client.py", line 1000, in process_v_1_search
if pub is not None and "prefix" in pub:
TypeError: iterable argument required
pkg: This is an internal error. Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message. The version of pkg(5) is 'b6dc4f84900d+'.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss