Re: setting metadata (emblems) from console ?



On Wed, 2004-10-06 at 16:49 +0200, Alexander Larsson wrote:
> On Wed, 2004-10-06 at 15:51 +0200, Danny Milosavljevic wrote:
> > Hi,
> > 
> > Am Freitag, den 27.08.2004, 17:23 +0200 schrieb Alexander Larsson:
> > > On Fri, 2004-08-27 at 03:39, inez wrote:
> > > > I'm trying to set emblems on directories from outside nautilus,too.
> > > > But it seems impossible.
> > > > NautilusFile is private.
> > > > Anyone can help?
> > > 
> > > The Nautilus metadata API is not public at this time. Eventually we want
> > > to make the metadata system public (probably in gnome-vfs), but we
> > > haven't had time to do this yet.
> > 
> > If the metadata api doesnt change much, I'd like to do that. Tell me
> > where to hook it in and I'll try doing it ;)
> > 
> > gnome_vfs_get_file_info() -> containing metadata as name->value
> > hashtable ? Or something more sophisticated ? 
> 
> The problem is not to just expose the current API. We want to completely
> redo it so it doesn't depend on nautilus, gets good performance, is
> race-free, can be backed by EA filesystem support etc.
> 
> Basically, it requires a lot of thinking and designing.

The EA support is a bugbear.  Not every filesystem a user interacts with
supports EAs: SMB, NFS, FAT, etc....  Data like icons and emblems are
naturally EAs.  Our solution requires something like a filesystem/EA
agnostic repository.  Keeping it synced with a filesystem will be a
pain.

Would a metadata repository be standalone?  Could it be in E-D-S?

-- 

__C U R T I S  C.  H O V E Y____________________
sinzui cox net
Guilty of stealing everything I am.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]