On Jun 19, 2013, at 4:50 PM, "Jason R. Coombs" <jar...@jaraco.com> wrote:
> Donald, > What’s the next step to support this bootstrap script? Do we > need a ticket for PyPI to support this mechanism? How will PyPI resolve the > ‘latest’ virtual link when there are multiple non-hidden versions (as with > setuptools 0.7.4 and 0.6c11), or does the uploader make that determination? > > From: Donald Stufft [mailto:don...@stufft.io] > Sent: Monday, 10 June, 2013 14:15 > To: Jason R. Coombs > Cc: Tres Seaver; Distutils-Sig@Python.Org > Subject: Re: [Distutils] Setuptools 0.7.2 and Distribute 0.7 (compatibility > wrapper) on PyPI > > > On Jun 10, 2013, at 2:55 PM, "Jason R. Coombs" <jar...@jaraco.com> wrote: > > > There seems to be a dominant opinion that the file should be on PyPI, and I > don't disagree. > > One issue is that the file must be mutable. It necessarily contains a > reference to the preferred version to be downloaded. That version changes > over time. It's typically incremented, but sometimes decremented. > > It's possible the script could be updated to otherwise discover the most > appropriate version. As it's currently implemented however, the file must be > expected to change over time. > > Because the file must change during each release, the system needs to be able > to accept an updated version. This is why the Bitbucket Link was referenced, > because it can include that version information. > > I'm open to suggestions on how we can create a perma link to a file that > changes over time on PyPI. > > Put a version in the filename/path, and have a "latest" tag that just 301 > redirects to whatever is latest. > > /bootstrap/setuptools/latest/ez_setup.py -> 301 Redirect to > /bootstrap/setuptools/0.7.2/ez_setup.py > > > > For now, the most authoritative place I could think of for that file was the > bit bucket downloads. Let's identify a mechanism to do the same on PyPI and > get that into set of tools for the next release. > > Sent from my comm > > ----------------- > Donald Stufft > PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA I think we're going to make a small one off web app for uploading it. I'll see if I can whip something up. If it supports: * Uploading files * Versioned Urls * "Latest" url which redirects to the latest version Will that be enough for your uses? ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig