1 |
On 07/13/2018 07:50 PM, Ulrich Mueller wrote: |
2 |
>>>>>> On Fri, 13 Jul 2018, Brian Dolbec wrote: |
3 |
> |
4 |
|
5 |
.. |
6 |
|
7 |
> For both /var/lib and /var/cache the FHS requires a <package> |
8 |
> subdirectory. Unless we want this to be "portage", we could use |
9 |
> "package-manager" (since virtual/package-manager is a package), |
10 |
> or pretend that "pm" is an alias for it. This would lead us to the |
11 |
> following paths, respectively: |
12 |
> |
13 |
> /var/lib/{package-manager,pm}/gentoo |
14 |
> /var/cache/{package-manager,pm}/distfiles |
15 |
> /var/cache/{package-manager,pm}/packages |
16 |
|
17 |
I don't really like the cache variant here as that data should be able |
18 |
to be reconstructed by the application, which a distfile etc necessarily |
19 |
isn't (e.g for fetch restricted packages it might get lost), but |
20 |
/var/lib/package-manager/{repos,distfiles,packages} works well for me |
21 |
|
22 |
> |
23 |
> Alternatively, we could place either the gentoo tree, or all three of |
24 |
> the above under /var/db (which doesn't follow the FHS, so no subdir |
25 |
> requirement): |
26 |
> |
27 |
> /var/db/repos/gentoo |
28 |
> /var/db/distfiles |
29 |
> /var/db/packages |
30 |
> |
31 |
>> - snapshot name |
32 |
> |
33 |
> Simply gentoo-20180712.tar.xz instead of portage-20180712.tar.xz? |
34 |
> Or is that not specific enough? |
35 |
|
36 |
Can it cause confusion to thinking it is an installer etc? Gentoo is |
37 |
more than just the ebuild repository, so maybe something like |
38 |
gentoo-ebuild{s,-repository} ? |
39 |
|
40 |
-- |
41 |
Kristian Fiskerstrand |
42 |
OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net |
43 |
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 |