The solution of bug 350131 brought us a long way towards this, but it's far from complete. My plan so far:
- If you specify a source package with ubuntu-bug which isn't also a binary package, pick an arbitrary binary package from that source package for the "Package:" field, and merge dependencies of all binary packages into the "Dependencies:" field, and run all binary package hooks.
- If you specify a package name which is both a source and a binary package, the binary one will win, to maintain backwards compatibility, and also the notion of what a "package" generally is in the point of view of a user.
The solution of bug 350131 brought us a long way towards this, but it's far from complete. My plan so far:
- If you specify a source package with ubuntu-bug which isn't also a binary package, pick an arbitrary binary package from that source package for the "Package:" field, and merge dependencies of all binary packages into the "Dependencies:" field, and run all binary package hooks.
- If you specify a package name which is both a source and a binary package, the binary one will win, to maintain backwards compatibility, and also the notion of what a "package" generally is in the point of view of a user.