Shawn,

What were your thoughts about getting Cherrypi onto the system? I don't see a package for it currently in OpenSolaris. Would it just be bundled with pkg? A separate package? Merged with the python package? To support pkg on other platforms, we'll have to get Cherrypi there too, which means packaging it somehow.

Are you just setting PYTHONPATH to do the build?

Any thought of splitting pkg into client and server packages, since the server part is taking on this dependency?

In repository.py, I don't see where usage() is used.

Thanks.
Tom



Shawn Walker wrote:
The following webrev includes proposed fixes for the following bugs:

    1854 rework depot to use higher-level framework
    1154 pkg.depotd tracebacks when given bad options
    1237 pkg.depotd -p 80 -p 90  should return usage, but second option is taken
    1887 depot status page output is not valid HTML
    1888 memleaks test overwrites PYTHONPATH

webrev:
http://cr.opensolaris.org/~swalker/pkg-depot/

Notes:
* The tar streaming now has to write the file to a temporary file
first before streaming. This is an unfortunate side-effect of cherrypy
not providing a file object to write data directly back to the client.
Initially, I considered using a StringIO object, but that would have
bloated the server process quite a bit (memory usage).

* This is the most python I have ever written. Please excuse any
beginner's mistakes and be sure to watch out for them.

* This commit will cause cherrypy to be a *required* component for the
ips depot server.

* The tests take about 15-20 seconds longer to complete now.

* pylint was run and all reasonable warnings and errors were corrected
for files I changed.

* I have not yet done extensive performance testing, nor have I
checked for the threading issues that we previously had.

* You can cherrypy applications "behind apache" [1] -- and using a
reverse proxy is the recommended configuration to do so.

* Yes, cherrypy supports SSL, and if you run it behind Apache, let
Apache handle all the work [2].

* I'm expecting lots of feedback :-)

* Thanks to Danek for providing me the repository data that I needed
to do some of my own testing.

* Creating my own image, and then using the repo to do "pkg install
SUNWfirefox" was entertaining to say the least. It took six minutes
for the download portion, and one minute for install phase and
operation completion.

Cheers,

begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center/OpenInstaller Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to