Re: [Extra] BCP 178/X- convention (was AD Review of draft-ietf-extra-imap4rev2)

Barry Leiba <barryleiba@computer.org> Mon, 04 January 2021 18:55 UTC

Return-Path: <barryleiba@gmail.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 884993A0FC4 for <extra@ietfa.amsl.com>; Mon, 4 Jan 2021 10:55:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.498
X-Spam-Level:
X-Spam-Status: No, score=0.498 tagged_above=-999 required=5 tests=[FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B-r96thp90DQ for <extra@ietfa.amsl.com>; Mon, 4 Jan 2021 10:55:02 -0800 (PST)
Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C49E3A0FC3 for <extra@ietf.org>; Mon, 4 Jan 2021 10:55:02 -0800 (PST)
Received: by mail-lf1-f48.google.com with SMTP id o13so66864860lfr.3 for <extra@ietf.org>; Mon, 04 Jan 2021 10:55:01 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dQjnuUr0AU9pjgPhuS6xeKPw/ovoTJPOZbuvueMmKSU=; b=KRK+EmY6ybGcjb0ndLIRF7i5HGe86tmK41lbUxQLQ66wM1can8qHzxm5btIWYIOqbz VhR9xIQQeVbVuEq86P4wSkbYM2vZ03ceZMxnHWSQy10hWMNiReOYBLqAWwk7IF7SA2AJ +13EDEoqRP8942OEyk0rJVcStYn/6GcJDA49IRzOO8hW2lNX6yGc+kfigQkYJLrTD46g G/L7si0RZDEnJtnRC5IJ1MyBcOdqWz3NB+WvjaPtX/IROnsKmricJqgs3lhiSkB+R/+t kGEI+YlMURDY8oJUGCd+7wzCT6+3SGN2Er3CFsDDEkYSIFvdzz4+JvUWiwMXBgAfIFZc LFdw==
X-Gm-Message-State: AOAM530UaAYX0HNfhLRUcvlkuxO7wzfs1C2eQ7ztlVN03n2vqidM93Cg 07ekzawobbWaFIOnxg2JKki9jL3S4VZConpWoxQ=
X-Google-Smtp-Source: ABdhPJwpY+GWRG1PoBuZWABY6PzZnBgouydn+k2EMc9+EH6XDOluxcID1bYAGB9vZQjyus604g1GdXAF/vJiow7dHVk=
X-Received: by 2002:a05:651c:316:: with SMTP id a22mr34344367ljp.473.1609786499891; Mon, 04 Jan 2021 10:54:59 -0800 (PST)
MIME-Version: 1.0
References: <CAL0qLwaLa+PuGWRrKTbpmDa_SWKT9ZQUEQ9dsPgXfUmTzcYAYw@mail.gmail.com> <82bda3f6-4629-42ea-bfa5-94551b7a721f@isode.com>
In-Reply-To: <82bda3f6-4629-42ea-bfa5-94551b7a721f@isode.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Mon, 4 Jan 2021 13:54:48 -0500
Message-ID: <CALaySJ+pZNBfc9D3Auh+Z2XF6T7p5JzBfNtUTH45YBCNQrE5rg@mail.gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: "Murray S. Kucherawy" <superuser@gmail.com>, extra@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/b1hrTwK7u6rSYPtxnxTlm9BeTho>
Subject: Re: [Extra] BCP 178/X- convention (was AD Review of draft-ietf-extra-imap4rev2)
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Jan 2021 18:55:04 -0000

For what it's worth, I don't think that BCP 178 means to say that you
should never use things that start with "X".  It says that you should
not specifically use "X"-prefixed stuff to make a distinction between
registered and unregistered things when you lay out registries.

Therefore, I think it's fine to use examples that start with "X".
They're only examples.

For the other cases, such as these:

   Capability names MUST either begin with "X" or be informational,
   experimental or standards-track IMAP4rev2 extensions, revisions, or
   amendments registered with IANA.

   A server SHOULD NOT offer
   unregistered or non-standard capability names, unless such names are
   prefixed with an "X".

...well, they clearly fall under BCP 178 and we should fix those.

Barry

On Mon, Jan 4, 2021 at 1:26 PM Alexey Melnikov
<alexey.melnikov@isode.com> wrote:
>
> Hi Murray/Barry,
>
> I've extracted all of your comments related to BCP 178 ("X- convention considered harmful):
>
> On 04/01/2021 08:18, Murray S. Kucherawy wrote:
>
> Section 6.1.1
>
>
> Is the stuff about XBLURDYBLOOP still appropriate given BCP 178?
>
> I deleted this text, as it really belongs to future revision of RFC 4422 (SASL), if at all.
>
> Section 6.3.1
>
>
> There’s another “X” reference here (BCP 178).
>
>
> This is section defines the ENABLE command. The example is using X-GOOD-IDEA as an example of a fictitious capability that can be enabled. Use of X-GOOD-IDEA in the example is not critical, but it makes it more explicit that this is not registered. I can change the example.
>
>   In this example, a server supports 2 Personal Namespaces.  …
>
>
> There’s a reference to X-PARAM in here that probably needs updating in light of BCP 178.
>
> Here, I think we need to use an unregistered parameter. It doesn't have to be X-PARAM, but X-PARAM seems a bit more obvious due to old usage, even if it is considered wrong these days.
>
>
> Section 6.5
>
> Is this appropriate in light of BCP 178?
>
> So this section is titled "Client Commands - Experimental/Expansion" and talks in general terms about implementation specific commands (that were required to start with "X" in RFC 3501) and some generic requirements on clients/servers in regards to extensions. I can extract useful text about the latter and drop the former.
>
>
> Section 7.2.2
>
>
> The stuff about capability names starting with “X” should be reviewed in light of BCP 178.
>
> This section is titled "CAPABILITY Response". Below is the offending text:
>
>    Capability names MUST either begin with "X" or be informational,
>    experimental or standards-track IMAP4rev2 extensions, revisions, or
>    amendments registered with IANA.
>
> Dropping "X" from the above list would be fine with me. But this raises a related question: should this document allow Experimental RFCs outside of IETF stream in order to encourage people to document their private extensions?
>
>    A server SHOULD NOT offer
>    unregistered or non-standard capability names, unless such names are
>    prefixed with an "X".
>
> This probably should be dropped.
>
> Best Regards,
>
> Alexey
>
>