[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Delete Database in a Conduit?
On Sun, Jul 22, 2001 at 05:46:39AM -0400, Andrew Arensburger wrote:
> On Sun, Jul 22, 2001 at 11:30:05AM +0200, Ingo Oeser wrote:
> > is there any possibility to delete a database in a conduit?
>
> Yes, but you'll need to do this in a Sync conduit. Plus,
> ColdSync/SPC.pm doesn't have a function for the DlpDeleteDB command,
> so you'll need to add that yourself.
Wouldn't it be more clean to add a new flavor "delete", which
deletes a database on the palm, once we return the "Ok"
equivalent for coldsync conduits?
Rationale:
- For some databases you will always force a "Desktop replaces
Palm Copy" or even delete if, once the desktop decides that
the Palm does not need it anymore[1].
- Sync-Conduit is not possible, because the database might not
exist on the palm, yet.
- Delete is the logical counterpart of install conduits here,
which is missing for symmetry ;-)
If you are not really happy about a new conduit flavor (which is
completly understandable, because it involves MANY changes), an
argument equivalent to "-I -z" for the generic (install) conduit
would suffice for MY needs, but not all.
I just don't like to have it on the command line, because I would
like to use the hotplugging stuff and don't want this behavior
for ALL conduits.
If it annoys me enough, I'm going to implement one of these
method. I just like to know, for which patches would be more
welcome ;-)
Regards
Ingo Oeser
[1] News outdated after x weeks. Offer expired after x weeks. etc.
--
Use ReiserFS to get a faster fsck and Ext2 to fsck slowly and gently.
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.