[gobolinux-users] Solution for situation when more programs provide same file

Carlo Calica carlo at calica.com
Fri Jun 29 22:28:13 UTC 2007


On 6/29/07, Isaac Dupree <isaacdupree at charter.net> wrote:
> mpb wrote:
> > On 6/29/07, Isaac Dupree <isaacdupree at charter.net> wrote:
> >
> >> Either way, it might be desirable to preserve the file's names, or at
> >> least their extensions, so programs dealing with them don't get confused.
> >
> > I don't see sufficient value in preserving extensions.  As I see it,
> > any program reading the Conflicts directory will be aware of whatever
> > naming convention is used.  Am I wrong?
>
> Sure, Konqueror (or some program that actually depends on file
> name/extension, I don't know. I think atool does.) will interpret it
> differently if you try to look at / do something to it.
>

Is that an actual use case?  I view this as metadata for our package tools.

> I don't think we can _split off_ the extension from the rest of the
> filename, since some filenames have multiple dots in them and we
> wouldn't know which one marks the beginning of the "real extensions".
>

It is problematic.  Basically boils down to prefix or postfix the
filename to the other fields.  Maintain sort order or extension
correctness.  Arguably, there is value in sorting on ProgramA too.

-- 
Carlo J. Calica


More information about the gobolinux-users mailing list