Re: [GSoC] Prospective packages importer
Hi,
On Fri, Aug 07, 2015 at 04:38:10PM +0530, Akshita Jha wrote:
> > I think you could continue with the prospective packages importer.
> >
>
> I will start working on this right away. But, how do I begin ? What should
> I keep in mind ? Can you please give me a few details/guidelines on how to
> proceed.
I think you previously cloned
ssh://git.debian.org/git/collab-qa/udd.git
(I'm not sure whether you have commit permissions).
I think you should have a strong look into
udd/blends_metadata_gatherer.py
This script is just parsing information from the tasks files and puts it
into the according tables. It might be the most sensible thing to do to
use this script and just keep on parsing those data that are ignored
currently and add these to an additional table. May be we even use the
table blends_prospectivepackages - but some fields like vcs_* simply can
not be filled. The lack of these fields could be taken as flag for
tasks_udd.py that these packages belong to the group of packages that
are not even in VCS.
However, we need to make sure that the table is sensibly cleaned up.
UDD philosophy is to empty a table first and than add data from scratch.
You need to care for the fact that either only those packages are
cleaned where vcs_* fields are NULL (or some other way to ensure that
both kinds of packages can reside peacefully in one table.
Alternatively you could create a new table without these fields (and
find a better name for this table : -)).
Does this explanation make sense to you?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: