aboutsummaryrefslogtreecommitdiff
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Don't recreate the ES-index by defaultMax Magorsch2020-02-121-0/+4
| | | | | | | | | | | By default the ES index will only be created now if it is not alredy present. In case it is already present it won't be recreated when using the kkuleomi:index:init task. To forcefully recreate the index, kkuleomi:index:recreate can be used. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add an ES index containing the git commitsMax Magorsch2019-09-061-0/+1
| | | | | | | | | | | | | | | | | So far, any history-related information has been fetched using git. That is, whenever a user requested any history-related information 'git log' was run and the output was parsed. That is time-consuming. Loading the page https://packages.gentoo.org/packages/keyworded takes around 120 seconds this way. Instead of doing so, any git commits are now added to an ES index and retrieved using ES. This way, the same page as mentioned before, loads in under 3 seconds. The commits for populating the index are fetched incrementally. This way, the first run may take some time, but afterwards, updates are fast. Signed-off-by: Max Magorsch <max@magorsch.de>
* Initial commit w/currently running codeAlex Legler2016-07-202-0/+53