On Tue, Nov 5, 2019 at 2:15 PM Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote: > > On Tue, Nov 05, 2019 at 01:08:23PM -0500, Neal Gompa wrote: > > I think I mentioned that it would be possible, as OpenPKG actually > > worked this way. > > > > The key for this would be improving the user-experience with > > interacting with source RPMs and spec files with DNF. We've optimized > > *heavily* for remote builds, but a good chunk of how Gentoo's > > mechanism works is built around supporting local permutations. We just > > don't have that fleshed out yet. > > Well, exactly. This is what I meant with my short "who is going to do that > work?" comment. Gentoo's solution is not a drop-in thing for Fedora and > would require changes to RPM, DNF, and the *significant* work of figuring > out what all this would mean in a binary-focused distribution. We'd > certainly need a whole *new* MBS equivalent, and there's surely a ton of > "unknown unknowns" lurking as well. > Yeah, the reason OpenPKG was able to do this is because their flavor of RPM had specific enhancements for it: * Macros used in the spec had their definitions embedded into the SRPM * Generated package names and provides were discoverable from the spec and SRPMs * The dependency resolver could "install" source packages, build them, install the artifacts, and keep going > And then all of that would get us to... sort of where we are now? Basically > the same thing as with Modularity's "virtual repositories" approach with > different tradeoffs? > I think we'd have an easier time if modularity was merely just virtual repositories. As it stands, it has a lot more, which has a lot of interesting consequences... -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx