1 |
On 11/28/2010 10:15 AM, Arfrever Frehtes Taifersar Arahesis wrote: |
2 |
> 2010-11-19 16:51:03 Zac Medico napisaĆ(a): |
3 |
>> On 10/25/2010 06:24 AM, Arfrever Frehtes Taifersar Arahesis wrote: |
4 |
>>> use.unsatisfiable and package.use.unsatisfiable files would cause that `repoman` would treat |
5 |
>>> given USE flags in the same way as masked USE flags. These files wouldn't affect behavior of |
6 |
>>> `emerge`: |
7 |
>>> - If user has enabled given USE flag specified in use.unsatisfiable or package.use.unsatisfiable |
8 |
>>> and if optional dependencies controlled by this USE flag are already installed or satisfiable, |
9 |
>>> then `emerge` will allow to install given package. |
10 |
>>> - If user has enabled given USE flag specified in use.unsatisfiable or package.use.unsatisfiable |
11 |
>>> and if optional dependencies controlled by this USE flag cannot be satisfied (with current |
12 |
>>> settings of ACCEPT_KEYWORDS, /etc/portage/package.keywords etc.), then `emerge` will print |
13 |
>>> informative error message telling e.g. about a dependency masked by ~${ARCH} keyword. |
14 |
>> |
15 |
>> Can't we print a "masked by ~${ARCH} keyword" message as you suggest, |
16 |
>> even without the use.unsatisfiable data? If so, then isn't |
17 |
>> use.unsatisfiable redundant? Your patch [1] seems to behave exactly like |
18 |
>> use.mask, so I don't see any value added. |
19 |
> |
20 |
> repoman sometimes needs to allow stable packages to have optional dependencies on unstable |
21 |
> packages (usually until these packages are stabilized). My patch implements this functionality |
22 |
> for repoman. |
23 |
|
24 |
It seems like you're trying to bypass an important function of repoman |
25 |
though. The idea is that repoman is supposed to protect users from |
26 |
experiencing unsatisfiable dependencies of this sort, and use.mask |
27 |
accomplishes that. With your use.unsatisfiable patch, it makes repoman |
28 |
quiet, while leaving users unprotected from unsatisfied dependencies. |
29 |
-- |
30 |
Thanks, |
31 |
Zac |