Review Request 119805: Use "svn export" to fetch KDE identities if possible, and cache them
Alex Merry
alex.merry at kde.org
Sun Aug 17 10:10:20 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119805/
-----------------------------------------------------------
(Updated Aug. 17, 2014, 10:10 a.m.)
Review request for KDE Frameworks and Aurélien Gâteau.
Changes
-------
Up the caching time to a day.
Repository: kapidox
Description (updated)
-------
WebSVN is not set up to deal with a large number of hits - it is
intended for casual browsing. "svn export" is much more efficient, and
the anonsvn servers are meant to take this load.
Given that we would like developers to be generating documentation to
check their doxygen markup, we should use a method that scales.
This uses "svn export" (either through libsvn python bindings or the
command-line utility) if it can. It also caches the result for a day,
since account information does not change that often (and being
up-to-date is not that important for developers generating the dox).
Diffs (updated)
-----
src/kapidox/generator.py 201179534234d472b461a14ca50980e7faef4e99
Diff: https://git.reviewboard.kde.org/r/119805/diff/
Testing
-------
Extracted download_kde_identities() function (and its dependent functions) to another script, and tested with python2 (with libsvn bindings), python3 (without) and python3 (with the svn command line altered so that it would fall back to websvn) - both with and without a cache file/cache directory present.
Also ran kgenframeworksapidox (python2), and checked that David Faure was correctly listed as the maintainer of KArchive, with an email address.
Thanks,
Alex Merry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140817/fde35673/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list