[Zope3-Users] Re: KGS Site Updated
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris McDonough wrote: On Nov 18, 2007, at 7:52 PM, Stephan Richter wrote: On Sunday 18 November 2007, Chris McDonough wrote: 4. A new minimal/ folder now contains an index just of the controlled packages. This minimal index can be used by compoze as one contributing index. (I have not tested this yet, can anyone try this and report how it can be done?) Very cool, thank you! I'll try this. Great. I would love to get a little write-up on how to use it, so I can put it on the intro page. Compoze is not ready for prime time yet, I'm afraid. You can use it to download all source packages from a working set and create an index from these. But currently I think only Tres knows how to make it do it. ;-) One you have a tested set of packages installed (findable on sys.path, actually), compoze can download the corresponding distributiongs and make a package index via: $ bin/compoze fetch --fetch-site-packages --path=/tmp/kgs \ index --path=/tmp/kgs Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQabm+gerLs4ltQ4RAtHMAJ4m5DAaFKtixNOrj6qpKdq9ZJ0epwCeJpLP KuyeNNUXSnoQchE801QTQs4= =2pSC -END PGP SIGNATURE- ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: KGS Site Updated
On Nov 19, 2007, at 9:54 AM, Tres Seaver wrote: It's a limitation of buildout, perhaps. It is possible to use setuptools with multiple indexes: 'compoze' allows spelling multiple '-index-url' items on the command line. E.g.:: I'm curious what API you're using. buildout uses setuptools.package_index.PackageIndex. This only accepts a single index URL. Of course, I could create multiple index instances, use each one and merge the results. Is that what you're doing? Jim -- Jim Fulton Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: KGS Site Updated
On Nov 19, 2007, at 2:52 PM, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: On Nov 19, 2007, at 9:54 AM, Tres Seaver wrote: It's a limitation of buildout, perhaps. It is possible to use setuptools with multiple indexes: 'compoze' allows spelling multiple '-index-url' items on the command line. E.g.:: I'm curious what API you're using. buildout uses setuptools.package_index.PackageIndex. This only accepts a single index URL. Of course, I could create multiple index instances, use each one and merge the results. Is that what you're doing? Yes. Hm, OK. Does this let you search multiple indexes for the same package? I assume so. I consider this to me moving beyond setuptools. I'm not saying that this is necessarily bad. I imagine it would be pretty simple to add a per-package override to buildout.cfg which caused a separate index to be used to fetch a given distribution. You can already do this with the egg recipe: http://pypi.python.org/pypi/zc.recipe.egg#detailed-documentation This still only lets you search a single index when looking for a distributions to use to satisfy a set of requirements. buildout could be expanded to search multiple indexes, using the technique you seem to be using in compoze. This makes me uneasy as it seem to be moving far beyond easy_install, if not setuptools. It is my goal that buildout be compatible with easy install, in some sense. -- Jim Fulton Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: KGS Site Updated
On Sun, 18 Nov 2007 23:17:53 -0800, Stephan Richter [EMAIL PROTECTED] wrote: So if you go to http://download.zope.org/zope3.4/intro.html into the sub-section Version 3.4.0b2 you see a bunch of links. Just a minor observation, nowhere on that page is it explained what KGS means. :) -- Alexander Limi ยท http://limi.net ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: KGS Site Updated
Stephan Richter wrote: I just updated the Zope 3.4 KGS with some new features. 1. You only need to upload the controlled-packages.cfg file now; all other files are generated. 2. The controlled-packages.cfg file now supports a name and version option. Thus, all generated files are versioned now. The unversioned version of the files refers to the latest one. 3. A new links.html file now lists all packages in one URL, so that it is suitable for the find-links option. (I have not tested this yet, anyone?) That's quite useful when combining multiple KGSs 4. A new minimal/ folder now contains an index just of the controlled packages. This minimal index can be used by compoze as one contributing index. (I have not tested this yet, can anyone try this and report how it can be done?) 5. There is now an introduction page called intro.html that lists all versions and files. It also explains how to use the files. See: http://download.zope.org/zope3.4/intro.html You have a typo there. The buildout option is called extends, not extend. 6. The KGS now supports extensions, meaning one KGS can build on another. You simply specify the extend option in the [KGS] section of the controlled packages configuration file. This should allow frameworks built on top of Zoep 3, like grok, to build their own KGS without much effort. That said, I would really like for people to test all the features and see whether they work for them. But most importantly, I would like for people to contribute to the Usage section of the introduction page! ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: KGS Site Updated
On Sunday 18 November 2007, Philipp von Weitershausen wrote: 5. There is now an introduction page called intro.html that lists all versions and files. It also explains how to use the files. See: http://download.zope.org/zope3.4/intro.html You have a typo there. The buildout option is called extends, not extend. Hi Phillip, I was actually hoping that you could provide me with a little blurb on how to best use the KGS with zopeproject. Actually, I think it would be really cool, if you could just have a command-line option specifying the KGS, like:: --kgs=zope3.4 Of course, less specific choices would include something like this:: --index=http://download.zope.org/zope3.4 On the other hand, I wonder whether Zope and zopeproject releases should be somewhat synced, so that a particular line of zopeproject releases uses a particular KGS by default Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users