← Back to team overview

lubuntu-desktop team mailing list archive

Re: Use a database in lsc

 

Hi Stefano,

Something like GDBM hashes or sqlite SQL backend should be ok I
presume, however making hard dep to some RDBMS (even mysql) is an
overkill as per my opinion.

Cheers,
Ruslan

2011/9/5 Stefano <eco.stefi@xxxxxxxxxxxxx>:
> i was thinking about the use of a database, re-builded every time the
> cache update or upgrade, this because parse the contents of a
> directory(/usr/share/app-install/desktop) is very slow, so we can build
> the database parsing the directory only the first time, then parse the
> database to get the packages faster. we can also add an option in the
> edit menu, to re-build the database, called "Force packages list
> upgrade" or something similar.
>
> let me know what you think.
>
> Stephen Smally
>
> _______________________________________________
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to     : lubuntu-desktop@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Looking forward to reading yours.
     Ruslan N. Marchenko


References