Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 1/6] glep-0078: Replace "basename" with non-ambiguous explanation
Date: Wed, 21 Sep 2022 18:17:25
Message-Id: 20220921181651.39370-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/6] glep-0078: Clarifications by "Michał Górny"
1 It has been pointed out that the "basename" term may be ambiguous
2 in the context. Explain explicitly that it is the filename with
3 .gpkg.tar suffix stripped.
4
5 Signed-off-by: Michał Górny <mgorny@g.o>
6 ---
7 glep-0078.rst | 14 ++++++++------
8 1 file changed, 8 insertions(+), 6 deletions(-)
9
10 diff --git a/glep-0078.rst b/glep-0078.rst
11 index 05ceba9..24c5c9d 100644
12 --- a/glep-0078.rst
13 +++ b/glep-0078.rst
14 @@ -7,8 +7,9 @@ Type: Standards Track
15 Status: Accepted
16 Version: 1
17 Created: 2018-11-15
18 -Last-Modified: 2022-08-14
19 -Post-History: 2018-11-17, 2019-07-08, 2021-09-13, 2021-09-22, 2022-05-28
20 +Last-Modified: 2022-09-21
21 +Post-History: 2018-11-17, 2019-07-08, 2021-09-13, 2021-09-22, 2022-05-28,
22 + 2022-09-21
23 Content-Type: text/x-rst
24 ---
25
26 @@ -193,10 +194,11 @@ The gpkg package container is an uncompressed .tar achive whose filename
27 should use ``.gpkg.tar`` suffix.
28
29 The archive contains a number of files. All package-related files
30 -should be stored in a single directory whose name matches the basename
31 -of the package file. However, the implementation must be able to
32 -process an archive where the directory name is mismatched. There should
33 -be no explicit archive member entry for the directory.
34 +should be stored in a single directory whose name matches the package
35 +filaname after stripping the ``.gpkg.tar`` suffix. However,
36 +the implementation must be able to process an archive where
37 +the directory name is mismatched. There should be no explicit archive
38 +member entry for the directory.
39
40 The package directory contains the following members, in order:
41
42 --
43 2.37.3

Replies