[Cbor] Diagnostic notation file extension

Anders Rundgren <anders.rundgren.net@gmail.com> Wed, 19 April 2023 06:41 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E3B2C1522D7 for <cbor@ietfa.amsl.com>; Tue, 18 Apr 2023 23:41:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xC57pW8FKYqw for <cbor@ietfa.amsl.com>; Tue, 18 Apr 2023 23:41:06 -0700 (PDT)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09477C14F726 for <cbor@ietf.org>; Tue, 18 Apr 2023 23:41:06 -0700 (PDT)
Received: by mail-wm1-x329.google.com with SMTP id q5so16536649wmo.4 for <cbor@ietf.org>; Tue, 18 Apr 2023 23:41:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681886464; x=1684478464; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=rTDAJsxXc1ZDy6kFntu76CCJbty5UOjhRfFsVMLYe0I=; b=opdBgv7+g+JhkOdManEcTQb+ABDoLKvxrYhs1cFWzYQ7i0izN326anjTwkrBbBcQOq h7BzmamCUK3MTXyaHUDJ5FfuFYIGgzuCsL5TKhUTbs0VgWpUo8Buq+lOgk+vk2bzDgTC LEaQB56r+c2OtBU+5ryCa9+4mONhQNmByFyIEiUHtD0k+f6A9DzJZZ16f1UhCeNow/su uvJULhs5tE5YooKKYgTSkPx10TCNWeS2cL5xwMOIIswpy1hL2lq5cM2I9cYFLSB22cZ9 ZTgibIUYJYlLmB+HorMraM1hQGmmjRAUu7/PoYswCGoNT9akzzpD2QJaBaxQBwl9r/m3 pg+w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681886464; x=1684478464; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=rTDAJsxXc1ZDy6kFntu76CCJbty5UOjhRfFsVMLYe0I=; b=XZtI+EhBYxl+KGIvFJTXXtC0p+fXjdNbuv+UgUM6NB4pB7em9KjApP7qRdE0mdfvsy AgNxtcSVaJdrQ/kzi1nMYZm2PC9wny7X4pJwngz7Fj/fGQphZFWWj465NVQ1JFEUvHCy WgV9/KnvVm2A9EA8oENUyeqQ4IvvJ/LIzQxNhQxA0qdNdAfilFkRnd+9434lUEZCpHJ+ uyTTcl6YSW3HNtOMcnFMhzhXFAH3LzmjQmVBUeCKWmALIxjM3UQpgONDDa/GfyoGxNzn wJp6qEnWgWGaxCJkBhk5K2AUHezRxFYeLmKKWxpsmxxUEqQorzDAJAyn6hTFMexf6u+F j5vA==
X-Gm-Message-State: AAQBX9dKKpnb+PgXeJ9h4/Xs863mZ6cQvXR7QmECYFOimYZh3kEtA7V5 0H4GQxScIOzwvv2FzTdGGl8YIoAfHoQ=
X-Google-Smtp-Source: AKy350ZD/dSbk4/sD4KliL7/xoRM6BrntAFP60c7ASV67EPABwlwjt4ajDO5vJCbeerEAdak93x++w==
X-Received: by 2002:a7b:ca42:0:b0:3ef:7594:48cc with SMTP id m2-20020a7bca42000000b003ef759448ccmr14817832wml.23.1681886464084; Tue, 18 Apr 2023 23:41:04 -0700 (PDT)
Received: from ?IPV6:2a01:e34:ec4e:5670:2143:ff7b:5d6f:d97c? ([2a01:e34:ec4e:5670:2143:ff7b:5d6f:d97c]) by smtp.googlemail.com with ESMTPSA id g11-20020a05600c310b00b003f0aefcc457sm1082055wmo.45.2023.04.18.23.41.03 for <cbor@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Apr 2023 23:41:03 -0700 (PDT)
Message-ID: <dcf56d68-b56f-a74f-6065-f6a0e084c112@gmail.com>
Date: Wed, 19 Apr 2023 08:41:02 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Content-Language: en-US
To: cbor@ietf.org
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/IFr1OjtbMadlmnfe9hLmUt9274c>
Subject: [Cbor] Diagnostic notation file extension
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Apr 2023 06:41:08 -0000

Hi CBOR enthusiasts,
Since CBOR diagnostic notation seems bound to become an important solution for configuration and test files, I wonder if an appropriate file extension has been defined.  If not, I would consider '.cbor-dn'.

Regarding to-the-end-of-the line comments, I haven't found any normative solution.  I'm currently using '#' because it is used in Linux and in Git. Using  '//' is imaginable but (IMO) blends rather poorly with the the existing '/' comment scheme but if this is the preferred solution, I will (of course) adopt it.

Thanx,
Anders