[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-14 Thread yuppie
Dieter Maurer wrote: Rocky Burt wrote at 2006-7-9 10:11 -0230: ... If we're changing how the keys look, why not simply use full package names in front with relative paths after the first slash (although I might prefer a colon or something in place of the first slash). So the new keys would be:

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-14 Thread Dieter Maurer
yuppie wrote at 2006-7-14 11:30 +0200: ... We have a Zope version where package resources (such as skins) can come together with the package from a zip archive (this is a function similar to the newer egg Python function). We identify such resources via pypackage urls which have the form

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-13 Thread Rocky Burt
Hi Yuppie, Just checking in to see if you got any of this put in place yet. Also hoping you can identify anything I need to do to ensure I can use skins with productless products :) - Rocky On Sun, 2006-09-07 at 21:59 +0200, yuppie wrote: Hi Rocky! Rocky Burt wrote: On Sun,

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-13 Thread yuppie
Hi Rocky! Rocky Burt wrote: Just checking in to see if you got any of this put in place yet. Also hoping you can identify anything I need to do to ensure I can use skins with productless products :) I'm done with my part: http://svn.zope.org/?view=revrev=69063 AFAICS this needs to be

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-09 Thread yuppie
Hi Rocky! Rocky Burt wrote: Perhaps a patch from my side would more adequately explain what it is I'm trying to accomplish. I've attached the patch to this message. The only thing that is missing (for me) is tests at this point. +1 for fixing this, but may I suggest another approach?

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-09 Thread Rocky Burt
Hi Yuppie! On Sun, 2006-09-07 at 13:46 +0200, yuppie wrote: +1 for fixing this, but may I suggest another approach? 'minimal_fp' is a registry key created by 'utils.minimalpath'. Right now 'DirectoryView._dirpath' contains this registry key and I'd prefer to keep it like that. This is

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-09 Thread yuppie
Hi Rocky! Rocky Burt wrote: On Sun, 2006-09-07 at 13:46 +0200, yuppie wrote: The keys generated by 'utils.minimalpath' currently look like this: MyProduct/skins/my_skin full/path/to/MyPackage/skins/my_skin But we could change 'utils.minimalpath' to generate keys like these:

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rocky Burt wrote: I'm currently investigating registering DirectoryView's from regular python packages with GenericSetup+skins.xml. After debugging through this somewhat I have discovered that minimal paths described in skins.xml are made

[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

2006-07-08 Thread Rocky Burt
On Sat, 2006-08-07 at 15:30 -0400, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rocky Burt wrote: I'm currently investigating registering DirectoryView's from regular python packages with GenericSetup+skins.xml. After debugging through this somewhat I have