[Soc-coordination] Seventh report: Debsources as a Platform

Clément Schreiner clement at mux.me
Mon Jul 27 16:58:40 UTC 2015


Hi,

this is the seventh weekly report on my Summer of Code project 'Debsources
as a Platform'.

(Previous report:
http://lists.alioth.debian.org/pipermail/soc-coordination/2015-July/002562.html)

Tasks done this week:

1. spent a lot of time on some issues with the testsuite. New tests
will have to be written for the async updater, since the current tests
are not "unit" tests and won't be useful until the updater rewrite is
completed.

2. Pass the debsources configuration to celery tasks. The tasks don't
have hard-coded configuration anymore, and as a bonus the settings are
not in global variables anymore.

3. Fixed a bug in the add-package task: the file_table object was
empty. This was due to the fact that fs_storage.walk_pkg_files uses
os.walk (which returns an empty list when the given path does not
exist), and that I set up the data path relative to the debsources
root. After a directory change, the list of files thus was empty.

4. Updated the debsources plugins (ctags, sloccount, metrics,
checksums) to run them as celery tasks.

Sorry for the late/forgotten report,


Clément



More information about the Soc-coordination mailing list