Magik Packaging

Aaron J. Seigo aseigo at kde.org
Tue Jul 22 12:40:28 CEST 2008


On Tuesday 22 July 2008, Joe Burns wrote:
> Any code, usability review and/or suggestions would be greatly appreciated.

playing around with it a bit more, here is some more feedback:

* minor issue: the application doesn't quit when the Cancel button is clicked. 
perhaps it would be better as a Close button (or left out altogether if it is 
in a top-level window?). in any case, it should actually quit =)

* the workflow seems a bit backwards in places. it asks for what to do at the 
end (upload, create..) at the beginning. this should probably be moved to the 
end; the details must be filled in first before moving on to adding files, and 
for some reason this also feels backwards. i'd suggest a workflow of:

	* pick the type of package you want to create
	* add the files (or load from a directory?)
	* add the details (and remember the last ones i entered? =)
	* choose to create or upload

* the Content Type will need to rely on the package type. the options there 
right now are not actually useful to plasma, even for applets. so .. we need a 
way to discover which kinds of packages can be made that use a 
Plasma::Package. for plasma plugins that would mean querying 
KServiceTypeTrader for ScriptEngines which do not have a defined 
PackageStructure plugin (or else makes PackageStructure plugins writable as 
well as readable). this leaves the areas of wallpapers, themes, etc. open 
which should probably be covered easily enough by a combination of hardcoding 
some options in (such as wallpapers) and the "provide a path to the package 
structure definition" feature.

* i wonder if it should be possible to start plasmagik without any arguments 
and let the user choose the package type on the first page, including a package 
structure file. (the package structure command line option would supercede 
this, of course)

* required version ... required version of what? =)

i'm sure more will occur as i use it more ..

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080722/b165d98c/attachment.pgp 


More information about the Plasma-devel mailing list