frederik.gladhorn at gmx.de
Sat Dec 8 18:11:52 PST 2007
thanks for the info and access to the server!
I will try to get started on it soon.
Just a quick status update from my side:
I implemented keeping track of installed files now (revision 746452).
This should work for archives as well. Unless the app moves the stuff around
(which it should not) the files can be uninstalled.
Actually apps should use one the provided ways of setting the destination
paths before the install.
The other good thing about that is that one can use KNS::Entry::List entries =
engine.downloadDialogModal(this); or similiar and get a list of installed
files by using Entry->installedFiles().
So if the app decides to handle files internally that will be much easier now,
instead of using the install command which can be set in the knsrc file.
El Saturday 08 December 2007, Josef Spillner escribió:
> Am Cumartesi 08 Aralık 2007 19:02:31 schrieb Frederik Gladhorn:
> > I know, I'm working with Jeremy.
> Yeah, but the rest of the list didn't know it yet :)
> And there are 17 dozen people subscribed at the moment (including Jeremy, I
> just checked for making sure).
> > Now I'll add a QStringList to the entry class to have the files handy.
> > What I do not like about that is that I have a few extra tags in the
> > registry xml wich does not correspond to the dtd for entries, but I don't
> > see a better way to do it. Suggestions are welcome. But I think this way
> > is ok.
> We should finally deprecate the DTDs and make the XSDs authorative. They're
> much more expressive and let us more easily check the correctness, which is
> important for data uploads.
Sure, is there a default automated way of checking other than using one of the
web tools? I'm not very up to date with that, and you can probably save me
some hours of research again ;)
> However, the specification only covers what is written over the wire. What
> applications or frameworks do is distinct from that. I suggest to come up
> with a second XSD, where we can easily derive the data structure from Entry
> and add some fields to gain a KDE-specific InstalledEntry.
Done. Added one tag in the registry, but still needs a xsd update.
> Did you check with Ruphy already? He covered the local installation layout
> in another class somewhere within his Plasmagik library. Apparently the
> idea was to split along the logical "separation of concerns" to let the
> current knewstuff classes not worry about the payload's contents.
Sounds like a workaround to me, why should every app worry about moving files
Thanks a lot, seems like we'll get it into shape slowly.
Jeremy is working on the search bar right now, so we'll probably have the
important visible things together.
Now I'm looking forward to see upload and the other features working :)
Parley - The Vocabulary Trainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/ghns/attachments/20071209/f242e0c6/attachment.pgp
More information about the ghns