summaryrefslogtreecommitdiff
path: root/multiarchanalyze.sql
AgeCommit message (Collapse)Author
2017-03-04multiarchanalyze: detect some form wrong M-A:foreignHelmut Grohne
When an arch:any package ships a .so file in a public library search path (e.g. a symlink as many lib*-dev packages do) it most likely shouldn't be M-A:foreign. A common exception is plugins loaded into programs, so exclude that case. Many thanks to Johannes Schauer and Guillem Jover for helping discover this pattern of Multi-Arch: foreign abuse.
2016-06-12multiarchanalyze: speed up on sqlite3 3.8.7.1Helmut Grohne
Since all users of archdepcandidate run the results through "exists()" or "group by", "union" vs "union all" does not make any difference to the results. On the performance side however, it avoids a b-tree merge getting the maforeign_candidate query down from hours to seconds.
2016-06-10add a separate tool for generating hints on Multi-Arch headersHelmut Grohne
It builds on the core functionality of dedup, but uses a different database schema. Unlike dedup, it aborts downloading Arch:all packages early and consumes any other architecture in its entirety instead.