Re: [calsify] Getting started with the calendar persistence format

Ronald Tse <tse@ribose.com> Tue, 20 October 2020 02:19 UTC

Return-Path: <tse@ribose.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B31153A0EA7 for <calsify@ietfa.amsl.com>; Mon, 19 Oct 2020 19:19:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ribose.com
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 N-j5BQT02qOu for <calsify@ietfa.amsl.com>; Mon, 19 Oct 2020 19:19:50 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-eopbgr1320051.outbound.protection.outlook.com [40.107.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4E183A0EDF for <calsify@ietf.org>; Mon, 19 Oct 2020 19:19:48 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dRtHew8xUf2vlX1jGLYCHaVbTOjKvrtdgdc0nc4UMuGGDwdcFUAsicxZCVR1tV+LK4rh5Ds/oJ7Y4tyWOzF5ziLH15pBDkwudusKmlwr++L4uLLwkGfGnbjFT6yFtBaafN7cuDrS1MVpIgKmrb2rNBcY8Doop0HQrsJpfNM34AB8geMVMiS+NjKnDb7TK3oNGBKMKpsaRMVDFVcrnltGxgSQJ/7Ka40HzxKPIlPDvW3y+iiMNmt71js+Io1El9EVUaBQjpGnYh0y5U331L+x9z/FwShwU0zXCR4yXVEi2edWCNjqQJ2jLU4TZedC4PhQ2BH39/0iJH5yvoAxZCUfNQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tS/WR6uN5ltv7pfpJf4zE+Yw/mhqs5oR70/0OUjcnYM=; b=JhAjMG/3K+oCc5bnMXkDVT9oMmn10xrfVNB1AyCjmGaclF/N93GDOEtHw88umYBLzkyfFT9tM4srvQP2R+bnqcqm8F5rdnKfQVkV64X67zB57d00r7O9aoDI5+yk3PngBLccPVA7w28QWbA9EFFqJdR1JZCOozFQN0HzB0asmACd4MxNkhTyiHl9h8XfGNV6tDhuUMolzTmri1VpszsYyM0068+SE4o1PUq3AGTMQVP+19zSopnPNkOMM++h4RBhEznprMwHAa2+VOoh7FhEASsk+v2qaYGQDe8xkpZh65mir29vVwoyHOGQfEHFRMwyVySl6sju3IpFBwo8ziIudA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ribose.com; dmarc=pass action=none header.from=ribose.com; dkim=pass header.d=ribose.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ribose.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tS/WR6uN5ltv7pfpJf4zE+Yw/mhqs5oR70/0OUjcnYM=; b=PrTMF9lBIs3ZPJOx22IutriP9m1x6CyfIiYsQ7PzLgMK3xxoc9f2qE5mIQrGz/A6nyC8OzlPvkoX03oFFI6/lJbAj26BEvCKaWrZZn4h6nF4PnRGCWD2oPcTHEbapH9HfYf5bqNg9uhckCke0kFOz/s6KP9oEKJCkzPnGA8QF68=
Received: from HK0PR01MB2900.apcprd01.prod.exchangelabs.com (2603:1096:203:98::14) by HKAPR01MB3731.apcprd01.prod.exchangelabs.com (2603:1096:203:db::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Tue, 20 Oct 2020 02:19:44 +0000
Received: from HK0PR01MB2900.apcprd01.prod.exchangelabs.com ([fe80::b8:4b19:ebf4:7724]) by HK0PR01MB2900.apcprd01.prod.exchangelabs.com ([fe80::b8:4b19:ebf4:7724%5]) with mapi id 15.20.3477.028; Tue, 20 Oct 2020 02:19:44 +0000
From: Ronald Tse <tse@ribose.com>
To: Ujjwal Sharma <ryzokuken@igalia.com>
CC: "calsify@ietf.org" <calsify@ietf.org>
Thread-Topic: [calsify] Getting started with the calendar persistence format
Thread-Index: AQHWo0GwGjTIredru0qplU+nj0MZpqmZX5UAgAA/4QCABeLugIAAFsUAgAAgQgCAAA8DgA==
Date: Tue, 20 Oct 2020 02:19:43 +0000
Message-ID: <2D392BD8-0D78-414F-A1FF-33F27E03E6B6@ribose.com>
References: <668b5100-aab0-4353-bc11-132ed1f3785a@dogfood.fastmail.com> <F5EE6657-7355-417E-9BE7-E082138C6275@RIBOSE.COM> <c4213d07-d8fa-80f6-8741-e9f6e48ae382@igalia.com> <55B0F7E9-114C-4830-87E5-523CC56D3528@ribose.com> <8150222c-8e80-58fa-3b77-e5b9faba572a@igalia.com>
In-Reply-To: <8150222c-8e80-58fa-3b77-e5b9faba572a@igalia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3608.120.23.2.1)
authentication-results: igalia.com; dkim=none (message not signed) header.d=none;igalia.com; dmarc=none action=none header.from=ribose.com;
x-originating-ip: [118.140.121.70]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e0eb6d71-9214-411b-8c14-08d8749e9bd1
x-ms-traffictypediagnostic: HKAPR01MB3731:
x-microsoft-antispam-prvs: <HKAPR01MB37313AABF5422B8F2929570DD71F0@HKAPR01MB3731.apcprd01.prod.exchangelabs.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 5DSBEzi3B+mZ8i/jtOS51zaF643g9Qa2FZuM24ZINDX9mWFY5OdQAzmiOAmZbMqZgiMjvhMCI2t4a2xo9TM9X5PUfn0VBlViClmRZ7JQhZUg8uzT1RyH6Wwz7DGwU4rV9oizfQnsL9XiKhX38YO8OFOU/m5Pq4EZiWH11rk79EbngVnsowlYIFd8RlUmlyMYiYQYSZw6wW+TgOPqc67MQE88Y0zxmzPWBPETCdXNCuIbIfNmidHzDR1WeiTXJ0LYgDCNwEoHB47eojtP9yqsTPdHviYwpW9lzCIYkkO08vCaiSOlmoDVuqGk6yhNm5cMj+Zb8Xr9iZW4FHIfzIJRb0VvhGL/8N25vBNgDT8aMRIwcmFmu1qNTQZSQ/ev2OcEciS5dxM585tLf1zn5CHpDg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HK0PR01MB2900.apcprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(39830400003)(376002)(396003)(366004)(346002)(136003)(166002)(2906002)(8676002)(8936002)(33656002)(36756003)(6512007)(83380400001)(26005)(6486002)(71200400001)(2616005)(4326008)(316002)(76116006)(6506007)(53546011)(66946007)(5660300002)(66476007)(91956017)(966005)(478600001)(6916009)(86362001)(186003)(64756008)(66556008)(66446008); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: FBweKUjuvYPGuAWgJCkzJRhMOpLtP9RiiNA9iivv9t120euOxX+DPvqYGb7wDgOnTevg7/7AAp4yxkdEmjWpy5UlDm2p+bSsrPXHcBdEysWI5QKYUXwviZMx3YEnnf75XLI+UfSuZEyyY3NGyZQ3TW96sch5D7SNKqBDRZt0TuqFfnhbWDXTlJ9Y4bkKx/smBVA8D7rerI4jNWHyLq37k3Xw5L9wBT/D0eeOGPtcSfAcfBvjQlOBwFwcumV5leCtaOwJHfb+2+zqZtDLaIdf4G17xmIFi8v18mKzSi1WgsvePU8TUrdWSx+65y9HBj6jn5u+RTbq3Hvn1LZOYK5G8icKNdXBLLN9wO4P8y2FgIExLoaTQK2wuHEbSSRPuQ3W/jV2c76MzSCTjegQmWwPOwpxmDj5cLHbsY+dcdPjGa/PDXXDSjIOB75VnnNOHnFUJeY1qS2EIWRuH0TtJWIwir7hiCWe7doOkyEf0zyy1yekqAr6H6UK5Zu1qVzcGOpwkKMRDSPAbqJBeXb2sswJcDScqpX8fJjYA3N+todHZDEcfoXxwJSd1TGDdvLUi4SRz5en0CVb4BNJEre1ctuItPPnVk3uFHgdtDfiYMuHj+wsEQnz2mlmvuRIdhDpvOswsHiKEhwfSZnhqwYLKAfPrQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_2D392BD80D78414FA1FF33F27E03E6B6ribosecom_"
MIME-Version: 1.0
X-OriginatorOrg: ribose.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HK0PR01MB2900.apcprd01.prod.exchangelabs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e0eb6d71-9214-411b-8c14-08d8749e9bd1
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Oct 2020 02:19:43.9002 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: d98a04ff-ef98-489b-b33c-13c23a2e091a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: xSGj1KLFgqlxp5tUAMbG/HE3X7cy8iJjuO5znmNBXTqwK+Ayr/B3NhIvIxAS7+eU
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKAPR01MB3731
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/bW3X8r23DMekcGUYbu4hZeYG_EU>
Subject: Re: [calsify] Getting started with the calendar persistence format
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Oct 2020 02:19:55 -0000

Hi Ujjwal,

So sorry about the docs! Apparently they haven’t been updated to the new version — IETF a few months ago switched to XML RFC v3 and the command line options for IETF have been updated. We have a blog post about the changes but we didn’t actually update the docs.

A PR would be much appreciated!

Re: RFC 3339, will send you the asciidoc version in 20 mins...

Ron

_____________________________________

Ronald Tse
Ribose Inc.

On Oct 20, 2020, at 9:26 AM, Ujjwal Sharma <ryzokuken@igalia.com<mailto:ryzokuken@igalia.com>> wrote:

Hey Ronald!

I managed to get it running. The document I was using was the same that
you linked to, and it seems that while the file works quite well with
just `metanorma`, the command on the docs website (`metanorma --type
{rfc2 or rfc3} -x xmlrfc {my-document-filename.adoc}`) needs to be
fixed. `--type` is `ietf` and `--extensions` is... well, not `xmlrfc`. I
would try to make a PR to the website later if this all sounds good.

One last thing I need to get started for real: where can I find the
source for RFC 3339 (since I was supposed to use that as a starting
point)? Is there a source at all? If that source is not in asciidoc
format (I'd imagine not), is copying manually from the text file the
best I can do?

Cheers,
Ujjwal

On 10/20/20 5:00 AM, Ronald Tse wrote:
Hi Ujjwal,

Would you be able to point me to the draft to see what the problem is?

Here’s a sample document that works:
https://raw.githubusercontent.com/metanorma/mn-samples-ietf/master/sources/antioch/document.adoc

(https://github.com/metanorma/mn-samples-ietf provides working examples)

If you have these two lines in your adoc file header (under the title
but before the content, which is separated with a blank line):

"
:mn-document-class: ietf
:mn-output-extensions: rfc,xml,txt,html,rxl
“

Then you should be able to just run this:
metanorma draft-ryzokuken-timestamp-information.adoc

Ron

_____________________________________

Ronald Tse
Ribose Inc.

On Oct 20, 2020, at 6:09 AM, Ujjwal Sharma <ryzokuken@igalia.com
<mailto:ryzokuken@igalia.com>> wrote:

Hi Ronald!

Thanks for the suggestion. Write once, publish anywhere (although
perhaps with minimal changes) is indeed a priority, especially given our
time constraints. I tried setting up metanorma today, but for some
reason, it fails for me locally.

My input:

metanorma --type rfc3 draft-ryzokuken-timestamp-information.adoc

Error:

Error: loading gem `metanorma-rfc3` failed. Exiting.

This works with or without `-x xmlrfc`. What seems to be wrong here? Am
I missing a gem? A simple web search doesn't return anything useful, and
no gem named `metanorma-rfc3` can be found.

I thought there was something wrong with my setup, but I tried multiple
times, ran `metanorma setup` properly, tried the docker version, but no
luck. The same error each time. Could you help me figure out what I
missed?

Best,
Ujjwal

On 10/16/20 9:45 AM, Ronald Tse wrote:
Hi Ujjwal,

(Thanks Bron for the plug!)

Metanorma is one of the officially listed processors for IETF documents
(alongside mmark and kramdown-rfc2629).

CalConnect uses Metanorma to publish standards, and a number of SDOs do
so as well (ITU, OGC, BIPM, who also work with date/time).

If there is any intention to cross-publish into CalConnect or ISO, the
ability to "write once, publish anywhere” becomes important.

Given that we’re the folks behind it, I’m happy to serve as your
personal support if you run into any Metanorma problems :-)

Kind regards,
Ron
_____________________________________

Ronald Tse
Ribose Inc.

On Oct 16, 2020, at 8:27 AM, Bron Gondwana <brong@fastmailteam.com
<mailto:brong@fastmailteam.com>
<mailto:brong@fastmailteam.com>> wrote:


Hi Ujjwal,

There's a variety of options for writing drafts.  I personally use a
workflow based on mmark, for example:

https://github.com/brong/draft-gondwana-effective-terminology

There's also metanorma, which allows you to create a variety of
outputs.  There's documentation here:

https://www.metanorma.com/author/ietf/

Or you can use tools like:

https://github.com/cabo/kramdown-rfc2629

Basically, they're all toolchains that generate RFC XML format
documents.

In order to publish to the IETF, you need a datatracker account, and
you'll need to upload there:

https://datatracker.ietf.org/submit/tool-instructions/

Cheers,

Bron.

On Fri, Oct 16, 2020, at 09:21, Ujjwal Sharma wrote:
Hello everyone!

Thanks for the amazing discussions and help yesterday. Given our
constrained timeline, I suppose I should start working on the drafts
immediately.

On the IETF side of things, I suppose I'd need to start by creating an
I-D? Is there a set of resources you could point me to in order to get
up and running quickly?

Also, what should I do to get the ball rolling on the CalConnect/ISO
side of things?

Best,
Ujjwal

--
Ujjwal "Ryzokuken" Sharma (he/him)

Compilers Hacker, Node.js Core Collaborator and Speaker


_______________________________________________
calsify mailing list
calsify@ietf.org <mailto:calsify@ietf.org> <mailto:calsify@ietf.org>
https://www.ietf.org/mailman/listinfo/calsify


*Attachments:*

 * signature.asc


--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  brong@fastmailteam.com
<mailto:brong@fastmailteam.com> <mailto:brong@fastmailteam.com>


_______________________________________________
calsify mailing list
calsify@ietf.org <mailto:calsify@ietf.org> <mailto:calsify@ietf.org>
https://www.ietf.org/mailman/listinfo/calsify

--
Ujjwal "Ryzokuken" Sharma (he/him)

Compilers Hacker, Node.js Core Collaborator and Speaker


--
Ujjwal "Ryzokuken" Sharma (he/him)

Compilers Hacker, Node.js Core Collaborator and Speaker