Re: [Tools-discuss] Advice on DT schema changes

Michael Richardson <mcr@sandelman.ca> Sun, 17 November 2019 14:43 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFDB512010C for <tools-discuss@ietfa.amsl.com>; Sun, 17 Nov 2019 06:43:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.436
X-Spam-Level: *
X-Spam-Status: No, score=1.436 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, 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 HT433z-Yvshb for <tools-discuss@ietfa.amsl.com>; Sun, 17 Nov 2019 06:43:28 -0800 (PST)
Received: from relay.sandelman.ca (relay.cooperix.net [IPv6:2a01:7e00::f03c:91ff:feae:de77]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29A0612006D for <tools-discuss@ietf.org>; Sun, 17 Nov 2019 06:43:27 -0800 (PST)
Received: from dooku.sandelman.ca (bb121-6-216-1.singnet.com.sg [121.6.216.1]) by relay.sandelman.ca (Postfix) with ESMTPS id 56FE01F450; Sun, 17 Nov 2019 14:43:26 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id 69152132C; Sun, 17 Nov 2019 22:43:23 +0800 (CST)
From: Michael Richardson <mcr@sandelman.ca>
To: "Salz, Rich" <rsalz@akamai.com>
cc: Tools Team Discussion <tools-discuss@ietf.org>
In-reply-to: <310B3662-BF5A-4943-9107-198A725EEEA3@akamai.com>
References: <310B3662-BF5A-4943-9107-198A725EEEA3@akamai.com>
Comments: In-reply-to "Salz, Rich" <rsalz@akamai.com> message dated "Sun, 17 Nov 2019 07:35:21 +0000."
X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 17 Nov 2019 22:43:23 +0800
Message-ID: <7326.1574001803@dooku.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/5Rf2eIKVcXqefIrfNbDuT1ym470>
Subject: Re: [Tools-discuss] Advice on DT schema changes
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Nov 2019 14:43:30 -0000

Salz, Rich <rsalz@akamai.com> wrote:
    > I want to add a uniform and extensible way of attaching “external
    > references” to DT objects: groups, people, documents. For example, I’d
    > like us to be able to say “this is the GitHub repository for this
    > draft,” “my GitLab username is rsalz,” and “the homepage for this WG is
    > https:…..”

The SQL seems fine.
I didn't quite understand your migration python code.
I got the general gist of it, and it seems right, but it's certainly not in
migration style.  I guess you are initializing things from ref_names: value
side with a unique id saved into cache, but I didn't see where you used that.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [