[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [GSoC] Prospective packages importer



Hi,

On Mon, Aug 24, 2015 at 8:17 PM, Andreas Tille <andreas@an3as.eu> wrote:
>
> > Also, as noted above python-imageio, python3-imageio are the only packages
> > that violate the primary key constraint. If these packages are removed,
> > then we'll not have any duplicates and because of the constraint there will
> > be no duplicates in future.
> >
> > So, should I modify the importer to again check for this constraint ? Or,
> > will it suffice to remove these packages and add constraint primary key
> > (package) to blends_prospectivepackages ?
>
> Checking might not harm to create a proper error message since it can
> happen again in the future.
>

I have sent a patch which checks for "IntegrityError" while inserting packages in table blends_prospectivepackages. Can you please test and confirm ?

Reply to: