summaryrefslogtreecommitdiff
path: root/test/integration/test-parse-all-archs-into-cache
Commit message (Collapse)AuthorAgeFilesLines
* Fix the test suite againJulian Andres Klode2015-08-171-3/+3
| | | | Gbp-Dch: ignore
* parse packages from all architectures into the cacheDavid Kalnischkies2015-08-101-0/+91
Now that we can dynamically create dependencies and provides as needed rather than requiring to know with which architectures we will deal before running we can allow the listparser to parse all records rather than skipping records of "unknown" architectures. This can e.g. happen if a user has foreign architecture packages in his status file without dpkg knowing about this architecture (or apt configured in this way). A sideeffect is that now arch:all packages are (correctly) recorded as available from any Packages file, not just from the native one – which has its downsides for the resolver as mixed-arch source packages can appear in different architectures at different times, but that is the problem of the resolver and dealing with it in the parser is at best a hack (and also depends on a helpful repository). Another sideeffect is that his allows :none packages to appear in Packages files again as we don't do any kind of checks now, but given that they aren't really supported (anymore) by anyone we can live with that.