Summary: | Split User package request with portage depends | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Lagu <felipematas> |
Component: | Conceptual/Abstract Ideas | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Lagu
2016-12-21 21:22:34 UTC
I'm having trouble reading this request, but I'll forward it to the portage team nonetheless. Hi, sorry my poor english, can you say what parts don't are clear please? i'l try fix that explications. Maybe this is a duplicate of bug 405297? For example, if you create a file named /etc/portage/package.accept_keywords/zzzzz-autounmask then portage will write your "system" changes there, since it used the last file in sorted order. Hi, sadly the intentions are very differents, this issue can help in that but don't are the same, here the idea is split what packages we are requesting, and what packages portage request to can install the user request, and obvs change the behavior with this data because the meaning of why we are installing that packages are different. Zac, from what I can decipher, it is a variation of that other bug. He/She wants to keep track of the deps in a separate file for each pkg that emerge needs to satisfy the deps of the pkg he/she added to the /local file. local: <== manual entry foo-1.2.3 bar-1.1.0 foo: <== auto-entry baz-3.2.1 bazinga-4.5 bar: <== auto-entry pybar-7.8.0 pynacl-1.2.3 ... Lagu, there is already something similar done, but just not in separate files. It will add comments above the pkg entries stating the dependency chain needing the change(s). So, I think this would be a no, it is too similar to what is already in place, but more important, I think it would be too much work for so little gain. Hi, sorry if i'm not can explain correctly this, write that info in a separate file, folder, anything, is only a way to the change proposed here, the idea is change the behavior of emerge over that packages, in the actual way emerge detect all files in the folders to be compliments, but i think is the problem, we store basically 2 types of packages, what we need, and what need of what we need. So following that, emerge detect all this as request without distinction, while the only packages need to absolutely required is what user need, not the depends of that packages, so i think the behavior can be changed, check and construct the tree with the packages requested for the user, while the extra depends we could need we can see if are available in this new file/folder, with this the depends of what we want don't will affect directly the decision of emerge, and we can avoid up versions when we don't need it. mm, lets try other explanation... lets use as reference the actual propose, in system folder depends, and in the mainfolder the packages we want or need. For the packages in the mainfolder try keep the same behavior as now, all that versions, use, etc, must by satisfied by portage. For the packages in the system folder are packages to be optional to be used if portage requires it, so if no package need up to unstable version even if the package is listed here portage will not use it. I hope this can be more clear. Thx. Cya. I think what you are describing is very similar to bug 258371. The idea is that the config files would only contain user settings, and other settings that are needed just to satisfy dependencies would be managed automatically. Hi, i think have some parts in common, but the base of the issue i think are differents, there is proposed an auto-use when is needed, but here is proposed change the behavior in packages when the user don't exactly need, only in the depends, obvs that issue can be applied directly to the way proposed here, bat i think are differents. mmmm, lets try a practical example, similar i write above but more.., clear? this is the way i want propose (if the problem is fixed in other is fine too): i need the package foo, so i enable it: echo "foo" >> /etc/portage/package.accept_keywords/local but now portage says we need fuu package in a higher version too to can install it, so now we add it: echo "fuu" >> /etc/portage/package.accept_keywords/system/foo now we install, all fine, now lets suppose the next version of foo don't need a higher version of fuu, or any where the fuu package we don't need up his version, so, with the proposed way when we upgrade the system portage should downgrade fuu to their stable version, because even if is in the accept_keywords folder don't is really needed so avoid use the unstable version. Something like that, you know, split packages we want, and depends of packages we want... All the other issue to implement auto-use, auto-keywords and similar can be complemented with this. Thx. Cya. |