[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Akregator on SQLite =?UTF-8?B?4oiS?= who wants to test ?
From:       Pierre <pinaraf () pinaraf ! info>
Date:       2018-05-08 9:43:10
Message-ID: 4557096.INlEjMJgRe () peanuts2
[Download RAW message or body]


Hi

As I said in a previous email, I've got now a fully working Akregator on 
SQLite, and I would like to know if anybody here would want to give it a try. 
I use Akregator quite a lot, but I'm sure I don't use every feature, and 
considering the changes there may be some regressions.
There is still from my point of view a lot to do (the models/views 
implementation is completely sub-optimal and fetches every article from the 
current feed, making it a huge bottleneck and memory-hog for big feeds), but 
the memory usage has been divided by 2 to 5 by removing the article 'caching' 
and allowing fetching a feed without loading every article. And I am not sure 
it would be wise to throw in a huge model/view refactoring, the changes are 
already quite extensive.

So, if you want to test, here's how. You will need QtSql and the SQLite driver 
of course.

git clone 
git://anongit.kde.org/clones/akregator/ducroquet/akregator.git
cd akregator
git checkout sqlstorage
mkdir build
cd build
cmake ..
make -j 8

If you don't want to do a full install, do that copy manually :
cp ../plugins/sqlstorage/akregator_sqlstorage_plugin.desktop ~/.local/share/
kservices5/akregator_sqlstorage_plugin.desktop

You will then have in the bin folder an akregatorstoragemigrator binary. You 
can launch it if you want to keep your current archives.
/bin/akregatorstoragemigrator metakit SQL
This will take some time (~3 minutes for 750000 articles)
Then you can alter manually your archive configuration
$EDITOR ~/.config/akregatorrc
Add the following

[Advanced]
Archive Backend=SQL

(Do not use the configuration dialog for that so far, it's completely 
unusable)

And now you can launch akregator
/bin/akregator


Feel free to report any bug or suggestion!

 Pierre
["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic