abhi11/tanglu-dak

Creates invalid data (components with the same ID present)

ximion opened this issue · 3 comments

Running against a copy of Tanglu bartholomea main, I get:

FATAL: Found two components with the same ID: flsudoku.desktop.
FATAL: Found two components with the same ID: flcheckers.desktop.
FATAL: Found two components with the same ID: flblocks.desktop.

when validating the resulting file.

This is related to #9 , but more important - there must never be two components with the same ID.

This is most likely caused by this function returning duplicated entries: https://github.com/abhi11/tanglu-dak/blob/master/dak/find_metainfo.py#L174 - likely the SQL needs improvements.

Fixed.