Shawn Walker wrote:
feed.py, line 33:
Wouldn't the publisher be a later package assembler?

Not sure, you'd have to ask Stephen.
Never mind.  I reread it and it makes sense to me now.
feed.py:
I don't see a method for customizing the values for feed_authority and
feed_author_*.  This is essential for repositories that are not serving up
OpenSolaris content.

I agree, but that sort of falls under bug 2239.

I could add that to this wad, though I'm not certain yet how I'll implement it.
How about "pkg.depotd set-property" and so forth. I know where you can get some set-property code :-) It might not be acceptable to have a single program that can act either as a daemon or a command.

I agree that there is overlap here with 2239.
feed.py, various lines that use cherrypy.url():
What happens when the pkg.depotd server is behind a front-end reverse proxy
web server?  Will the web server rewrite the Atom feed to replace the
absolute URLs generated by cherrypy.url()?

I don't believe it will rewrite the URLs.

As I understand it, I need a full, absolute URL to the feed:
http://tools.ietf.org/html/rfc4287#section-4.2.6

Uncertain what to do with this.
I'm not sure either. I thought the Host header came into play here, but that doesn't solve everything. This might have to be done with rewriting rules in the proxy.

feed.py, line 125:
Would it be worth it to try to distinguish between a new package being added
to the catalog vs. an update to a package that was already in the catalog?

Unfortunately, modules/updatelog.py only provides history for adding packages.
I was thinking that when feed.py is processing an "add", it would look for and earlier version of the package in the catalog, and if there is one, then treat the add as an update. The information for an update could also include the change log, etc.

Thanks.
Tom


begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center 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