2008/11/14 Aaron J. Seigo <[EMAIL PROTECTED]> > On Friday 14 November 2008, Richard Dale wrote: > > I think 'examples' is a better place than 'test', and that we are better > > off dividing them into 'applets' and 'dataengine' directories like the > ruby > > ones. > > agreed ... it also follows other places in kde better. > > > I prefer the python names like 'pyclock' or 'rbclock' to 'python_clock' > or > > 'ruby_clock'. > > > > Do we need to include 'plasma_applet' or 'plasma_dataengine' in all the > > names? > > > > Should the names contain hyphens or underscores instead? > > it depends on which names. =) > > * in the file system: ruby/examples/applets/clock should be clear?
> > * installation dir: python_<appletname>, ruby_<appletname> > > * .desktop file: pasma-applet-python-<appletname>.desktop OK, just tried that. I have my engine in dataengines/time, the name in the metadata.desktop file is 'ruby-time', and I install with this command: plasmapkg --install time --type dataengine I get: /home/rdale/.kde/share/apps/plasma/dataengines/ruby-time /home/rdale/.kde/share/kde4/services/plasma-dataengine-ruby-time.desktop So it looks like plasmapkg goes on the name inside the metadata.desktop file for the destination directory, and so dataengines/ruby-time has a hyphen in it, rather than an underscore. > > > this just follows the conventions we already have in place and follow for > the > c++ side of life. > > the rational for all of it is to make it easy to use traditional command > line > tools to sort through things, e.g.: > > ls ~/.kde/share/kde4/services/plasma-applet* Yes, I certainly agree with that - this is an example of 'Convention over Configuration' as long as we can establish the conventions before we have too many applets. -- Richard
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel