Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535856 - repoman: figure out how it should work with mix-ins
Summary: repoman: figure out how it should work with mix-ins
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 523036
  Show dependency tree
 
Reported: 2015-01-06 23:25 UTC by Michał Górny
Modified: 2022-07-12 03:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-06 23:25:29 UTC
Before we seriously think about implementing mix-ins in profiles, we need to think how repoman should work with them. In particular, repoman checks deps with various profiles. With mix-ins in-place, the number of possible combinations grows pretty insane...
Comment 1 Zac Medico gentoo-dev 2015-01-10 07:25:06 UTC
It's not feasible for repoman to check all combinations. So, it seems like the the only practical option is to continue having repoman check a basic set of profiles defined in profiles.desc. The users of mixins will simply have to file bugs for any issues that they find. It's a fair trade-off for the flexibility that mixins provide.
Comment 2 Richard Freeman gentoo-dev 2016-02-27 15:49:04 UTC
Could we have a set of repoman profiles, which inherit the combinations of mix-ins that will be tested?  For example, we could have a repoman-default-amd64 profile that inherits everything you need to create something similar to the default profiles.

The repoman profiles could all be located in a directory or referenced in a file, and repoman would check just those profiles.

You could also have different categories of profiles that get more/less checking, similar to what is done today with dev/stable/etc archs.  But, that would be more generic.  So, maybe amd64-selinux is dev, but amd64-default is stable, or something like that.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2016-02-27 16:18:54 UTC
Yes, that is very doable.  In fact the repoman rewrite will move all data that can be moved, moved out of the code into separate files that can be downloaded and/or retrieved from the tree.

That will take the pressure off of needing to make new releases of repoman/portage whenever some minor change to the data it uses for the checks changes.

I am finished with the stage2 rewrite other than completing the docstrings.
Then I can start on the stage3 rewrite which will move the data out of the code to a central location.  From there it can be decided if this data is to be downloaded similar to the repositories.xml list and/or some of that data is supplied in the tree itself.  This would also make it possible for any other applications to make use of that data for running it's own checks.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:20 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.