On Nov 21, 2007, at 2:02 PM, Phillip J. Eby wrote:
At 09:41 AM 11/21/2007 -0800, Heikki Toivonen wrote:
Morgen Sagen wrote:
> Under the hood it uses urllib, which we can configure to honor
whatever
> proxy settings the user has entered in Chandler. Heikki
mentioned a
> desire to use HTTPS which means we would need proxy support for
HTTPS as
> well.
>
> What do people think about using setuptools for new-version
detection?
In principle that sounds great; I am not keen on reinventing either.
Would this require putting something on cheeseshop for setuptools to
detect a new Chandler version, or can you tell setuptools where to
look?
The PackageIndex.find_links(url_list) method will give it specific
URLs; these can be any HTML web page, as long as they contain links
to directly-downloadable eggs or other easy_install-able
distribution formats. It can also be given a host mask to restrict
what hosts it will attempt to connect to (either to read HTML or
download other files).
This would be a good reason to have our own PyPI repository to act as
the primary for "official" upgrades and to act as a backup to the
normal one for plugins and the like.
That way the "check for upgrade" code can inform setuptools to look
first on our site for the upgrades.
--
bear
Build and Release Engineer
Open Source Applications Foundation (OSAF)
[EMAIL PROTECTED]
http://www.osafoundation.org
[EMAIL PROTECTED]
http://code-bear.com
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev