[KPhotoAlbum] Breaking changes in file layout

Robert Krawitz rlk at alum.mit.edu
Mon Apr 6 21:06:06 BST 2020


On Mon, 06 Apr 2020 16:30:26 +0200, Tobias Leupold wrote:
> Am Montag, 6. April 2020, 15:57:03 CEST schrieb Robert Krawitz:
>> There's no perfect solution to the fact that slashes can't be filename
>> components, but I don't think this really has to be absolutely
>> perfect.
>
> What about one of the two middle way solutions I proposed?

If you're going to include both the hash and the path, why include the
hash at all?

>> > This one could actually be hidden by a leading dot imo, like
>> > "DBDIR/.CategoryImages/"
>>
>> Or moved to XDG_CACHE_DIR/kphotoalbum/<db>/CategoryImages?
>
> I think Johannes considers the CategoryImages an integral part of the database
> (which is probably correct), so it should reside where index.xml is.

Should it be part of the index.xml file proper?
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list