Re: [Tools-arch] Recommendation 10: One-stop shop tool

Martin Thomson <mt@lowentropy.net> Mon, 19 April 2021 01:36 UTC

Return-Path: <mt@lowentropy.net>
X-Original-To: tools-arch@ietfa.amsl.com
Delivered-To: tools-arch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C051A3A177A for <tools-arch@ietfa.amsl.com>; Sun, 18 Apr 2021 18:36:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.22
X-Spam-Level:
X-Spam-Status: No, score=-0.22 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=3Me4x1q6; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=DI2ZEtZ/
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 rDipHX34vhHG for <tools-arch@ietfa.amsl.com>; Sun, 18 Apr 2021 18:36:49 -0700 (PDT)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E50123A177B for <tools-arch@ietf.org>; Sun, 18 Apr 2021 18:36:49 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 466FB1EB7 for <tools-arch@ietf.org>; Sun, 18 Apr 2021 21:36:47 -0400 (EDT)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Sun, 18 Apr 2021 21:36:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=FR9NAFXxo0+rZUL04UOPpTfp1ANOAc1 cQ+04J1U5za8=; b=3Me4x1q6Vk5BLMHegEjQto5PrNkQHvTCjbeweC3UNVmYTFh 3j+eqE4/TOwiQg2TIk3OWmiau1Gv0JacwLME48f8mFLVbJikFVSKPFI+Kdxr5VTT d3Pa9EDm1GEHNqImXEYFRneq8W47A3xwCVYLoLOCINA/zVwvjQ3JWvNkgHfucnhd sUuNNk8B/h6P1psyfqcI1k+1ULr9R77Cn5Vhq67El8SWvgvhZZSk3YrxiuxroA74 h3/SNS/mvAoCAjOVKvMbSDML1e96NNZnW38mp8PO6T82KXyjMxbQCCWX14ppiAnu XpP7gfGalst5OL9aogDZTGjQDW4TLQYkjhmzr0Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=FR9NAF Xxo0+rZUL04UOPpTfp1ANOAc1cQ+04J1U5za8=; b=DI2ZEtZ/oDBgupn85ham4X r7ORWMkDHtwCNItY6TkChzLaXHGxT+FLkk+un+b43u/55RAMeMelfx8mKHhHHSdk VgA5GSP6uEptAkTbGGdEDnkMXLeeSDUwWhidmHbq5sepghxc5KxHGuqjRPh9CL8w hM7oAbIxLlRMQf9nEDndFy4dYWk0qEQqDI8NHDZkQVLxhsq3Oq//HyMqI3nhSde6 DruMdTD8LJnIucexBAmpYQM5Ub+5IbmSPb1x0m8acCHNTKAGBWlH2iptaMjzArMf P6FgIl2+jdn1h6h+Wa0XVvg0nX+Bhtib4XHsynnpJkqKVhBo/80+6XOD5c7TnDgA ==
X-ME-Sender: <xms:rt58YMJD447PcfmI0Bi5xl3qKvGiXx61nbOQrS3Fb6EoKBmeOWcxng> <xme:rt58YMJBcgA8dcQAE4vhjPH1yxi-HNFXcYo6cgYbJW26eykwP4ex_i0pWsKlRyvnR orHXt7aH9jctmui0Xs>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtvddgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpefghedvtedvvdevhfefke eiieehjeffvdfgkedvudfgleetkeejgeehffekleejkeenucffohhmrghinhepphihphhi rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:rt58YMuj8qlV7VZj78PO_Yq_EOzalWSwjSbnNYwVaSf_LXOlgwjFSQ> <xmx:rt58YJaLf6mLWGlcsQ8RzJ_TBR3_ZZF78TjFQRn_IR7VwaT_szqurg> <xmx:rt58YDb3QsE7fAJLZol-1z4RGy-DmKYst7QztcVC-Z9CCDDK5NMzQA> <xmx:rt58YMmku2fp8GykrT8SkeSUFlg-nQ4AOR9QG-VQsFCNJ_aUVeQotA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 532944E00DF; Sun, 18 Apr 2021 21:36:46 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249
Mime-Version: 1.0
Message-Id: <5108838f-b22f-41fc-a8ab-54bf7a34f3f0@www.fastmail.com>
In-Reply-To: <19445DF8-707C-4A27-81FC-8672EA8BBE90@ietf.org>
References: <99513940-7253-49B3-B06D-8B53E127ABF1@mnot.net> <19445DF8-707C-4A27-81FC-8672EA8BBE90@ietf.org>
Date: Mon, 19 Apr 2021 11:36:21 +1000
From: Martin Thomson <mt@lowentropy.net>
To: tools-arch@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-arch/r2w9OX-3Rw5j0XdgzLiQeoJMIAU>
Subject: Re: [Tools-arch] Recommendation 10: One-stop shop tool
X-BeenThere: tools-arch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Tools Architecture and Strategy Team <tools-arch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-arch>, <mailto:tools-arch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-arch/>
List-Post: <mailto:tools-arch@ietf.org>
List-Help: <mailto:tools-arch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-arch>, <mailto:tools-arch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Apr 2021 01:36:55 -0000

On Fri, Apr 9, 2021, at 16:50, Jay Daley wrote:
> Imagine we were to give people everything they wanted:
> - ability to use XML or Markdown or ?? end to end
> - a single one-stop-shop tool and all the tools as separate command 
> line tools, as separate web interfaces, as separate plugins to their 
> favourite editor, as separate automatable services 
> - ability to integrate with GitHub, GitLab, Bitbucket, etc

My experience with these integrations is that they rot too fast to be useful long-term.  At various times in my career I have used numerous integrated chains, but they all ultimately break down pretty quickly.  For an enterprise, there is value in standardizing on a single integrated solution, but that requires deliberate, sustained effort.  With <40 developers at one shop, the Eclipse integration we had was a huge productivity boost.  But that was largely because the tool already provided such immense generic value for Java development that the incremental effort really paid off.

We have two countervailing forces at work here: 

1. The community that can't even decide what Markdown variant to use.  Most even seem to prefer XML.  I can't pretend to understand why.  They certainly can't be expected to agree on an editor.
2. The value an integrated tool might provide is at best minimal.  That is, the functions we might rely on are either generic to all text editors, or entirely bespoke (and therefore unlikely to be well-integrated).

So it's all about cost-benefit.  My sense is that integration work is unlikely to produce significant productivity gains.

I tend to think that the sorts of tool that Mark has produced here in https://pypi.org/project/sf-rfc-validate/ is exactly the sort of thing we need more of.  That is, something that takes a well-defined format and produces a succinct report.  Linting tools like that are an area we could improve (with yang validation being another example; idnits is almost a counter-example as it aims to be all-encompassing and integrated, to its own detriment).  Having more linters wouldn't be so bad.

Speaking of which, we need a way to filter documents for sourcecode; we shouldn't need to build that functionality multiple times.  There's a nice tool/library idea.

There are also other unexplored areas, if we want to speculate.  I've recently realized that a ctags-like tool might be worth building as well, which would lead to a lightweight, targeted integration for editors.