1 |
On Mon, 2018-11-12 at 17:51 +0100, Fabian Groffen wrote: |
2 |
> On 11-11-2018 21:53:33 +0100, Michał Górny wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > Ok, here's the second version integrating the feedback received. |
6 |
> > The format is much simpler, based on nested tarballs inspired by Debian. |
7 |
> > |
8 |
> > The outer tarball is uncompressed and uses '.gpkg.tar' suffix. It |
9 |
> > contains (preferably in order but PM should also handle packages with |
10 |
> > mismatched order): |
11 |
> > |
12 |
> > 1. Optional (but recommended) "gpkg: ${PF}" package label that can be |
13 |
> > used to quickly distinguish Gentoo binpkgs from regular tarballs |
14 |
> > (for file(1)). |
15 |
> > |
16 |
> > 2. "metadata.tar${comp}" tarball containing binary package metadata |
17 |
> > as files. |
18 |
> > |
19 |
> > 3. Optional "metadata.tar${comp}.sig" containing detached signature |
20 |
> > for the metadata archive. |
21 |
> > |
22 |
> > 4. "contents.tar${comp}" tarball containing files to be installed. |
23 |
> > |
24 |
> > 5. Optional "contents.tar${comp}.sig" containing detached signature for |
25 |
> > the contents archive. |
26 |
> > |
27 |
> > Notes: |
28 |
> > |
29 |
> > a. ${comp} can be any compression format supported by binary packages. |
30 |
> > Technically, metadata and content archives may use different |
31 |
> > compression. Either or both may be uncompressed as well. |
32 |
> |
33 |
> I'm wondering here, how much sense does it make to compress 2., 3. |
34 |
> and/or 4. if you compress the whole gpkg? I have the impression |
35 |
> compression on compression isn't beneficial here. Shouldn't just |
36 |
> compressing of the gpkg tar be sufficient? |
37 |
> |
38 |
|
39 |
Please read the spec again. It explicitly says it's not compressed. |
40 |
|
41 |
-- |
42 |
Best regards, |
43 |
Michał Górny |