Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread holger krekel
On Tue, May 28, 2013 at 07:42 +0100, Paul Moore wrote: > On 28 May 2013 02:53, Donald Stufft wrote: > > > Figured it out. > > > > Use HTTPS. > > > > Can I suggest that if the new CDN means that there are additional > restrictions on what is supported (I've used the XMLRPC API without https > in

Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread Paul Moore
On 28 May 2013 02:53, Donald Stufft wrote: > Figured it out. > > Use HTTPS. > Can I suggest that if the new CDN means that there are additional restrictions on what is supported (I've used the XMLRPC API without https in one-off scripts in the past) then the officially supported API should be pr

Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 9:33 PM, Donald Stufft wrote: > > On May 27, 2013, at 6:02 PM, Ralf Schmitt wrote: > >> Noah Kantrowitz writes: >> the xmlrpc api is broken when using http 1.0. the second call to curl uses http/1.0 and returns an empty response: $ cat >b

Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 6:02 PM, Ralf Schmitt wrote: > Noah Kantrowitz writes: > >>> >>> >>> the xmlrpc api is broken when using http 1.0. the second call to curl >>> uses http/1.0 and returns an empty response: >>> >>> $ cat >body.txt <>> >>> >>> package_releases >>> >>> >>> e >>> >>> >>

Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread Ralf Schmitt
Noah Kantrowitz writes: >> >> >> the xmlrpc api is broken when using http 1.0. the second call to curl >> uses http/1.0 and returns an empty response: >> >> $ cat >body.txt <> >> >> package_releases >> >> >> e >> >> >> >> EOF >> $ curl -X POST -d @body.txt http://pypi.python.org/pypi --

Re: [Distutils] Draft PEP for JSON based metadata published

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 10:44 AM, Ronald Oussoren wrote: > > On 27 May, 2013, at 13:36, Nick Coghlan wrote: > >> After preliminary reviews by Donald and Daniel, I have now pushed the >> first complete draft of the JSON-based metadata 2.0 proposal to >> python.org >> >> PEP 426 (metadata 2.0): ht

Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread Noah Kantrowitz
On May 27, 2013, at 2:21 PM, Ralf Schmitt wrote: > Noah Kantrowitz writes: > >> >> >> but seriously, at long last today it was my honor to throw the DNS >> switch to move PyPI to the Fastly caching CDN. I would like to thank >> Donald Stufft for doing much of the heavy lifting on the PyPI si

Re: [Distutils] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread Ralf Schmitt
Noah Kantrowitz writes: > > > but seriously, at long last today it was my honor to throw the DNS > switch to move PyPI to the Fastly caching CDN. I would like to thank > Donald Stufft for doing much of the heavy lifting on the PyPI side, > and to Fastly for graciously offering to host us. What d

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 4:34 PM, Noah Kantrowitz wrote: > > On May 27, 2013, at 1:20 PM, holger krekel wrote: > >> On Mon, May 27, 2013 at 12:58 -0700, Noah Kantrowitz wrote: >>> On May 27, 2013, at 12:18 PM, holger krekel wrote: >>> On Mon, May 27, 2013 at 14:59 -0400, Donald Stufft wrote:

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread Noah Kantrowitz
On May 27, 2013, at 1:20 PM, holger krekel wrote: > On Mon, May 27, 2013 at 12:58 -0700, Noah Kantrowitz wrote: >> On May 27, 2013, at 12:18 PM, holger krekel wrote: >> >>> On Mon, May 27, 2013 at 14:59 -0400, Donald Stufft wrote: On May 27, 2013, at 2:54 PM, holger krekel wrote: >>>

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread holger krekel
On Mon, May 27, 2013 at 12:58 -0700, Noah Kantrowitz wrote: > On May 27, 2013, at 12:18 PM, holger krekel wrote: > > > On Mon, May 27, 2013 at 14:59 -0400, Donald Stufft wrote: > >> On May 27, 2013, at 2:54 PM, holger krekel wrote: > >> > >>> On Mon, May 27, 2013 at 13:50 -0400, Donald Stufft wr

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread Noah Kantrowitz
On May 27, 2013, at 12:18 PM, holger krekel wrote: > On Mon, May 27, 2013 at 14:59 -0400, Donald Stufft wrote: >> On May 27, 2013, at 2:54 PM, holger krekel wrote: >> >>> On Mon, May 27, 2013 at 13:50 -0400, Donald Stufft wrote: On May 27, 2013, at 12:39 PM, Donald Stufft wrote: >>>

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread holger krekel
On Mon, May 27, 2013 at 14:59 -0400, Donald Stufft wrote: > On May 27, 2013, at 2:54 PM, holger krekel wrote: > > > On Mon, May 27, 2013 at 13:50 -0400, Donald Stufft wrote: > >> On May 27, 2013, at 12:39 PM, Donald Stufft wrote: > >> > >>> > >>> On May 27, 2013, at 8:08 AM, holger krekel wro

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 2:54 PM, holger krekel wrote: > On Mon, May 27, 2013 at 13:50 -0400, Donald Stufft wrote: >> On May 27, 2013, at 12:39 PM, Donald Stufft wrote: >> >>> >>> On May 27, 2013, at 8:08 AM, holger krekel wrote: >>> Hi Noah, Donald, (CC also Richard, Christian),

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread holger krekel
On Mon, May 27, 2013 at 13:50 -0400, Donald Stufft wrote: > On May 27, 2013, at 12:39 PM, Donald Stufft wrote: > > > > > On May 27, 2013, at 8:08 AM, holger krekel wrote: > > > >> Hi Noah, Donald, (CC also Richard, Christian), > >> > >> i just checked with a test package and think we might ha

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 12:39 PM, Donald Stufft wrote: > > On May 27, 2013, at 8:08 AM, holger krekel wrote: > >> Hi Noah, Donald, (CC also Richard, Christian), >> >> i just checked with a test package and think we might have a cache >> consistency / changelog API problem. It took me a while bu

Re: [Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread Donald Stufft
On May 27, 2013, at 8:08 AM, holger krekel wrote: > Hi Noah, Donald, (CC also Richard, Christian), > > i just checked with a test package and think we might have a cache > consistency / changelog API problem. It took me a while but here is > the basic thing: I uploaded a test package, changel

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread holger krekel
Hi Florian, On Mon, May 27, 2013 at 10:36 +0200, Florian Friesdorf wrote: > Hi Holger, > > holger krekel writes: > > On Mon, May 27, 2013 at 17:41 +1000, Nick Coghlan wrote: > >> On Mon, May 27, 2013 at 5:27 PM, holger krekel wrote: > >> > Not having download counts maybe lets us think harder a

Re: [Distutils] Draft PEP for JSON based metadata published

2013-05-27 Thread Ronald Oussoren
On 27 May, 2013, at 13:36, Nick Coghlan wrote: > After preliminary reviews by Donald and Daniel, I have now pushed the > first complete draft of the JSON-based metadata 2.0 proposal to > python.org > > PEP 426 (metadata 2.0): http://www.python.org/dev/peps/pep-0426/ Could platform_release be a

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread holger krekel
On Mon, May 27, 2013 at 13:39 +0200, Lennart Regebro wrote: > On Mon, May 27, 2013 at 9:59 AM, holger krekel wrote: > > Another more practical data point would be "does this package even > > install on win32/linux/osx py26/py27/py33" and even better, do its automated > > tests pass? > > Those are

Re: [Distutils] [Infrastructure] Good news everyone, PyPI is behind a CDN

2013-05-27 Thread holger krekel
On Sun, May 26, 2013 at 13:39 -0400, Donald Stufft wrote: > On May 26, 2013, at 1:34 PM, Noah Kantrowitz wrote: > > > > > > > but seriously, at long last today it was my honor to throw the DNS switch > > to move PyPI to the Fastly caching CDN. I would like to thank Donald Stufft > > for doing

[Distutils] changelog / CDN inconsistency (was: Re: Good news everyone, PyPI is behind a CDN)

2013-05-27 Thread holger krekel
Hi Noah, Donald, (CC also Richard, Christian), i just checked with a test package and think we might have a cache consistency / changelog API problem. It took me a while but here is the basic thing: I uploaded a test package, changelog API reports it has changed, then i go to its simple page, an

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread Lennart Regebro
On Mon, May 27, 2013 at 9:59 AM, holger krekel wrote: > Another more practical data point would be "does this package even > install on win32/linux/osx py26/py27/py33" and even better, do its automated > tests pass? Those are interesting metrics, but doesn't indicate the packages popularity at al

[Distutils] Draft PEP for JSON based metadata published

2013-05-27 Thread Nick Coghlan
After preliminary reviews by Donald and Daniel, I have now pushed the first complete draft of the JSON-based metadata 2.0 proposal to python.org PEP 426 (metadata 2.0): http://www.python.org/dev/peps/pep-0426/ PEP 440 (versioning): http://www.python.org/dev/peps/pep-0440/ With the rationale and c

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread Noah Kantrowitz
On May 27, 2013, at 12:27 AM, holger krekel wrote: > Hi Donald, > > On Sun, May 26, 2013 at 20:08 -0400, Donald Stufft wrote: >> Hello! >> >> As you have have noticed the download counts on PyPI are no longer updating. >> Originally this was due to an issue with the script that processes these

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread Florian Friesdorf
Hi Holger, holger krekel writes: > On Mon, May 27, 2013 at 17:41 +1000, Nick Coghlan wrote: >> On Mon, May 27, 2013 at 5:27 PM, holger krekel wrote: >> > Not having download counts maybe lets us think harder about >> > better metrics. The number of projects using a package as a dep >> > might

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread holger krekel
On Mon, May 27, 2013 at 17:41 +1000, Nick Coghlan wrote: > On Mon, May 27, 2013 at 5:27 PM, holger krekel wrote: > > Not having download counts maybe lets us think harder about > > better metrics. The number of projects using a package as a dep > > might be one. > > With the current downside bei

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread Nick Coghlan
On Mon, May 27, 2013 at 5:27 PM, holger krekel wrote: > Not having download counts maybe lets us think harder about > better metrics. The number of projects using a package as a dep > might be one. With the current downside being that it's hard for PyPI to figure out that number, too :) Agreed

Re: [Distutils] PyPI Download Counts

2013-05-27 Thread holger krekel
Hi Donald, On Sun, May 26, 2013 at 20:08 -0400, Donald Stufft wrote: > Hello! > > As you have have noticed the download counts on PyPI are no longer updating. > Originally this was due to an issue with the script that processes these > download counts. However I have now removed the download co

Re: [Distutils] pypi protocol

2013-05-27 Thread holger krekel
Hi Jonas, On Sun, May 26, 2013 at 22:08 +0200, Jonas Geiregat wrote: > Hello, > > I'm fairly interested in the internals of pypi. > > Ultimately pypi is a HTTP interface to a package database. > I went looking for a document, blog post or anything describing the > communication between pypi cl