From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F7C5158095 for ; Mon, 12 Sep 2022 06:21:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68079E0931; Mon, 12 Sep 2022 06:21:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 445DCE0931 for ; Mon, 12 Sep 2022 06:21:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0B34340E0D for ; Mon, 12 Sep 2022 06:20:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 213685D5 for ; Mon, 12 Sep 2022 06:20:58 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1662635675.75a16a8fdc2600dd22e456a29202a3e8fad4ad6f.mgorny@gentoo> Subject: [gentoo-commits] data/glep:master commit in: / X-VCS-Repository: data/glep X-VCS-Files: glep-0074.rst X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 75a16a8fdc2600dd22e456a29202a3e8fad4ad6f X-VCS-Branch: master Date: Mon, 12 Sep 2022 06:20:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d20d817f-cac6-4073-91dd-449e8c82d484 X-Archives-Hash: 21f47ce36cff1131d806d7727423435b commit: 75a16a8fdc2600dd22e456a29202a3e8fad4ad6f Author: Michał Górny gentoo org> AuthorDate: Thu Sep 8 08:29:30 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 8 11:14:35 2022 +0000 URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=75a16a8f glep-0074: Specify newline convention Signed-off-by: Michał Górny gentoo.org> glep-0074.rst | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/glep-0074.rst b/glep-0074.rst index 677bf35..182a871 100644 --- a/glep-0074.rst +++ b/glep-0074.rst @@ -6,7 +6,7 @@ Author: Michał Górny , Ulrich Müller Type: Standards Track Status: Final -Version: 1.1 +Version: 1.2 Created: 2017-10-21 Last-Modified: 2022-09-08 Post-History: 2017-10-26, 2017-11-16, 2018-02-08, 2022-09-08 @@ -79,7 +79,10 @@ are relative to the directory containing the Manifest file. The paths must not reference the parent directory (``..``). Forward slash (``/``) is used as path component separator. -The Manifest files use UTF-8 encoding. +The Manifest files use UTF-8 encoding. Line feed (``U+000A``) is used +to separate lines. For best compatibility, empty lines and any +additional whitespace, including the carriage return character +(``U+000D``) should be ignored by the implementation. Manifest file locations and nesting @@ -516,6 +519,17 @@ information to perform the verification following all the rules specific to the Gentoo repository. +Newline convention +------------------ + +Prior to version 1.2, the specification did not indicate the encoding +to be used for newlines. Since the format is primarily used on Gentoo +Linux systems, this has been changed to follow the Unix convention +of using the line feed character. However, for best interoperability +the implementation should be prepared to treat superfluous carriage +return characters as whitespace and ignore them. + + Tree design -----------