1 |
>>>>> On Fri, 13 Jul 2018, Kristian Fiskerstrand wrote: |
2 |
|
3 |
>> /var/lib/{package-manager,pm}/gentoo |
4 |
>> /var/cache/{package-manager,pm}/distfiles |
5 |
>> /var/cache/{package-manager,pm}/packages |
6 |
|
7 |
> I don't really like the cache variant here as that data should be |
8 |
> able to be reconstructed by the application, which a distfile etc |
9 |
> necessarily isn't (e.g for fetch restricted packages it might get |
10 |
> lost), |
11 |
|
12 |
If users keep precious distfiles in a separate dir (which can be |
13 |
specified with PORTAGE_RO_DISTDIRS) then the distdir is pretty much a |
14 |
cache. |
15 |
|
16 |
> but /var/lib/package-manager/{repos,distfiles,packages} works well |
17 |
> for me |
18 |
|
19 |
That would work too, except that the top level of the gentoo repo |
20 |
would be at /var/lib/package-manager/repos/gentoo, which is awkward to |
21 |
type (especially if you compare it to /usr/portage) and has already |
22 |
_five_ path components. |
23 |
|
24 |
Ulrich |