public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [pre-GLEP r2] Gentoo binary package container format
Date: Wed, 21 Nov 2018 14:10:00 +0100	[thread overview]
Message-ID: <20181121131000.GC28829@gentoo.org> (raw)
In-Reply-To: <1542745997.18030.3.camel@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

On 20-11-2018 21:33:17 +0100, Michał Górny wrote:
> The volume label
> ----------------
> 
> The volume label provides an easy way for users to identify the binary
> package without dedicated tooling or specific format knowledge.
> 
> The implementations should include a volume label consisting of fixed
> string ``gpkg:``, followed by a single space, followed by full package
> identifier.  However, the implementations must not rely on the volume
> label being present or attempt to parse its value when it is.
> 
> Furthermore, since the volume label is included in the .tar archive
> as the first member, it provides a magic string at a fixed location
> that can be used by tools such as file(1) to easily distinguish Gentoo
> binary packages from regular .tar archives.

Just for clarity on this point.
Are you proposing that we patch file(1) to print the Volume Header here?
file-5.35 seems to not say much but "tar archive" or "POSIX tar archive"
for tar-files containing a Volume Header as shown by tar -tv.

> Container and archive formats
> -----------------------------
> 
> During the debate, the actual archive formats to use were considered.
> The .tar format seemed an obvious choice for the image archive since
> it is the only widely deployed archive format that stores all kinds
> of file metadata on POSIX systems.  However, multiple options for
> the outer format has been debated.

You mention POSIX, which triggered me.  I think it would be good to
specify which tar format to use.

POSIX.1-2001/pax format doesn't have a 100/256 char filename length
restriction, which is good but it is not (yet) used by default by GNU
tar.  busybox tar can read pax tars, it seems.

Thanks,
Fabian

-- 
Fabian Groffen
Gentoo on a different level

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-11-21 13:10 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17 11:21 [gentoo-dev] [pre-GLEP] Gentoo binary package container format Michał Górny
2018-11-17 14:05 ` Roy Bamford
2018-11-17 14:17   ` Rich Freeman
2018-11-17 21:53   ` Michał Górny
2018-11-18  9:16 ` Fabian Groffen
2018-11-18  9:38   ` Michał Górny
2018-11-18 11:00     ` Fabian Groffen
2018-11-19 20:46       ` Kent Fredric
2018-11-21  9:33       ` Michał Górny
2018-11-21 10:45         ` Fabian Groffen
2018-11-21 11:20           ` Michał Górny
2018-11-26 21:13           ` Andrey Utkin
2018-11-27  8:32             ` Fabian Groffen
2018-11-18 11:04     ` Roy Bamford
2018-11-19 18:35 ` [gentoo-dev] [pre-GLEP r1] " Michał Górny
2018-11-19 19:21   ` Roy Bamford
2018-11-19 19:33     ` Rich Freeman
2018-11-19 19:40       ` Zac Medico
2018-11-19 19:51         ` Rich Freeman
2018-11-19 20:48       ` Roy Bamford
2018-11-20 20:34     ` Michał Górny
2018-11-20 20:33 ` [gentoo-dev] [pre-GLEP r2] " Michał Górny
2018-11-21 13:10   ` Fabian Groffen [this message]
2018-11-21 14:21     ` Michał Górny
2018-11-26 18:58 ` [gentoo-dev] [pre-GLEP r3] " Michał Górny
2018-11-26 19:17   ` Ulrich Mueller
2018-11-26 19:51     ` Michał Górny
2018-11-26 21:43   ` Roy Bamford
2018-11-30 17:06     ` Michał Górny
2018-11-30 21:23       ` Roy Bamford
2018-11-30 17:09 ` [gentoo-dev] [pre-GLEP r4] " Michał Górny
2018-12-01 10:25   ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181121131000.GC28829@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox