[Soc-coordination] Debsources as a platform weekly report #4

Orestis Ioannou orestis at oioannou.com
Sun Jun 21 11:16:42 UTC 2015


This is my #4 weekly report on my Summer of Code project 'Debsources as
a platform'
You can view commits on alioth [1] or pull requests on github [2].
Kanban board with my per week tasks is available on trello [3].

Previous report:


This week i completed the work for the file-by-file api, introduced the
documentation for the batch api (many files at once), worked on some
bugs and improvements for the previous work and implemented the batch API.
There was also some advancement in the views for the file-by-file search
and the DB schema for the copyright files.

API file-by-file

PR#10 [4] with the work for supporting the file-by-file api got merged.
This means that the api now supports searching a file by checksum and
with a package/version/path. (More info on the implementation is
available on report #3)

Checksum - filename/package view

The work is currently under review at the PR#11 [5]. There are some
performance concerns I'll mainly test this week.

API batch

The documentation for the batch API is completed and available in a
relevant file in the repo [6]. I have also pull-requested [7] its
implementation which is currently under review.

Bugs - Improvements

We discovered a bug in the fancy license rendering view. When a
d/copyright file was missing a license field in a files paragraph (which
is required) the rendering was failing. I reported this bug [8] for
python-debian and worked a solution for now in Debsources.

Instead of __only__ parsing a d/copyright file to determine whether it
is machine readable I added another heuristic to search whether there
are some keywords in it presumably required. (Such as Format or Files).

These were merged with the PR#15 [9]

Next week

Main goal for the next week is merging the open PRs, complete the work
for the file-by-file views, finish the DB schema for the copyright files
and work on the plugin that will mine the licenses at update time.

Thanks for reading,


[1] https://anonscm.debian.org/cgit/qa/debsources.git
[2] https://github.com/Debian/debsources/pulls
[3] https://trello.com/b/LG8eUfPS/debsources
[4] https://github.com/Debian/debsources/pull/10
[5] https://github.com/Debian/debsources/pull/11
[7] https://github.com/Debian/debsources/pull/18
[8] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788864
[9] https://github.com/Debian/debsources/pull/19

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/soc-coordination/attachments/20150621/90df8c6c/attachment.sig>

More information about the Soc-coordination mailing list