Re: collective packages on pypi
Maurits van Rees <m.van.rees-1kr/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Organization | Zest Software |
| Message-ID | <[email protected]> |
Op 26-08-13 21:31, Alex Clark schreef: > Maurits van Rees <m.van.rees@...> writes: > > >> Package uploading via 'python setup.py sdist mupload' (well, fullrelease >> from zest.releaser of course) at least works. I got an error doing this >> last week on a package I recently got upload rights to, tried it again >> and it worked. > > > We should check to see if blob content is being created. If so then it's > probably OK to serve the content directly from Plone. I don't know if they get saved as blobs, but dist.plone.org/packages is handled by cloudflare with an expiry date of a few years, so Plone can probably handle the burden of serving that file once: $ curl -I http://dist.plone.org/packages/Products.Poi-2.2.5.zip HTTP/1.1 200 OK Server: cloudflare-nginx Date: Tue, 27 Aug 2013 09:31:56 GMT Content-Type: application/octet-stream Content-Length: 364984 Connection: keep-alive Set-Cookie: __cfduid=dcc3a971dcf914d168c87bfdaeca945551377595916199; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.plone.org Last-Modified: Thu, 22 Aug 2013 14:41:14 GMT X-Frame-Options: SAMEORIGIN Accept-Ranges: bytes CF-RAY: a47c06c31b102d9 >> I think I am not really using the uploaded packages, as buildout gets >> them from PyPI, but uploading at least still works for me. I keep >> uploading because then the products with their latest info can be found >> on plone.org. > > > That's the only reason this feature was ever useful IMHO, because it automated > the creation of a lot of PSC content. That, and having another place where these packages can be downloaded in case of problems with pypi.python.org, but that seems unneeded now that pypi is behind a content delivery network. >> In other news, updating plone.org to Plone 4.3 has broken Poi, giving a >> validation error when creating a new issue, and only one person has >> complained to me so far, which tells something about how much Poi is >> being used on plone.org. Probably more people have seen it and have >> simply gone to issue trackers on github. The error was fixed a few >> months before, but the Poi version on plone.org is old. I created a >> pull request for plone.org here, in case someone wants to have a go at >> that: https://github.com/plone/Products.PloneOrg/pull/11 > > > Deployed. Thanks! It's working now. -- Maurits van Rees: http://maurits.vanrees.org/ Zest Software: http://zestsoftware.nl ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk