Re: [calsify] review of draft-ietf-calext-eventpub-extensions-00

Michael Douglass <mikeadouglass@gmail.com> Wed, 19 October 2016 19:15 UTC

Return-Path: <mikeadouglass@gmail.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 C50841295A3 for <calsify@ietfa.amsl.com>; Wed, 19 Oct 2016 12:15:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2nWySHOc3eS for <calsify@ietfa.amsl.com>; Wed, 19 Oct 2016 12:15:27 -0700 (PDT)
Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (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 B8539126D73 for <calsify@ietf.org>; Wed, 19 Oct 2016 12:15:27 -0700 (PDT)
Received: by mail-qt0-x232.google.com with SMTP id s49so32853295qta.0 for <calsify@ietf.org>; Wed, 19 Oct 2016 12:15:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=n5M2uLvWJSAsbZiCgRJqkj4Vw1zxACTvKt9+lDaQQIM=; b=OelmFqmYh4KLBua/KqTv05Hmac7WMb5ml076Ovga73xKjeR8Cbf47lzOCXPQukFQfa bwIsKj0M47eree3mIr1B2H0F5NEf5Ze5DivS9zLzp+DZNN/8aiKvqfVzkFLGtV47UZQJ m8/5BrnzyKRvloY5TJVXlpc7o00zxetfydmDXM5sEKer8HMawFwcs9u0LrWsc7x4G4zM s/lPQP30ViZsDOiu4L7F9mzMaq5o3+0IzWAcsb5Iy5G/8i8l/1SPHpWFi1V/3DhQodf9 PD5s7OfuCjrb34MWICHix6WYKpCGivnayLQ9aC2UVMgdvnegPx87Z2uMg+wgNtKEpvlx ALVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=n5M2uLvWJSAsbZiCgRJqkj4Vw1zxACTvKt9+lDaQQIM=; b=bbUTtNNRkAqon+r/tqNtQJpM8UUFA7R+CXXzuFY6nkzFGSbvU7aTlx21/kePAY+lBR bLxTZmqnqIhVTEe5L6ZgjDRdnXQUegfR+/FviKYl3WZ5WD6ETBVn3CAP27NSDhnDRA7F A546tk+Nyu+bmeyqxDTrOLGQhvnLcfOFbEUE5yVT9oEsr8s6dYd/tfMkiccH+7IDNXcC HQ9g5M4xYa9qc6lhvQpfXYsck+Ie8wwgYd7o9EyxYef5ojefnSoVbwQEMDttHEYS+LTZ Vmpaa2kWyeHrXjbcpSMxJmiixbV+UzVaN6Y1KQzdUgtxVXjtYjruzK9RkrB8MMQ8I3xL 4wSA==
X-Gm-Message-State: AA6/9RlK7fSuG9JS8zMp9vdoBlOglpSZyaMkJ1HM+UkyeZyzVf+ryIazzV7pS1YST0ycwQ==
X-Received: by 10.200.41.33 with SMTP id y30mr8037109qty.66.1476904526628; Wed, 19 Oct 2016 12:15:26 -0700 (PDT)
Received: from Michaels-MacBook-Pro.local (cpe-67-252-53-251.nycap.res.rr.com. [67.252.53.251]) by smtp.googlemail.com with ESMTPSA id 65sm20452409qth.0.2016.10.19.12.15.25 for <calsify@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Oct 2016 12:15:25 -0700 (PDT)
To: calsify@ietf.org
References: <CADZyTknz=cYREHPZunxmQHcT5+b=FfeWV3PQFxqoyzBv19rYUw@mail.gmail.com> <a2e1f1bb-91c1-f8f1-a843-8ecf69a2938f@gmail.com> <4700015a-bb03-f5c8-564f-690adb93aff8@andrew.cmu.edu>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <33aceebe-624b-dc74-c23b-3bbbc4968a95@gmail.com>
Date: Wed, 19 Oct 2016 15:15:23 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <4700015a-bb03-f5c8-564f-690adb93aff8@andrew.cmu.edu>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/TK6EnAcZ1fMWoSZvzATM5cFuS2Q>
Subject: Re: [calsify] review of draft-ietf-calext-eventpub-extensions-00
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 19 Oct 2016 19:15:31 -0000


On 10/19/16 12:29, Ken Murchison wrote:
> Hi Mike,
>
>
> On 10/19/2016 11:16 AM, Michael Douglass wrote:
>> Thanks for the comments - and sorry for the delay.
>>
>> I've added my responses to your comments below.
>>
>> I'll post a new draft in a short while: there are 2 issues at least
>> I'd like to address:
>>
>> 1. Should the ASSOCIATE property really be a component?
>> Other extensions to the iCalendar data model are requiring us to
>> handle deeper nesting of components and in any case a component more
>> closely matches XML and JSON representations
>
> I'm not opposed to making ASSOCIATE a component, but what other
> meta-data would be needed for an ASSOCIATE beyond what is currently
> specified to warrant the change?  Do you have an example in mind that
> you could flesh out?

So this is from https://tools.ietf.org/html/draft-apthorp-ical-tasks-01


3.4.2. Relating comments to status

    The GROUP parameter is used with the STATUS or ATTENDEE properties to
    relate an associated COMMENT property. The COMMENT property can then
    be used to include additional human readable information about why
    the associated STATUS or ATTENDEE property changed.

       STATUS;REASON="http://example.com/reason/delivery-failed";SUBSTATE
        =ERROR;MODIFIED=20130212T120000Z;GROUP=G1:FAILED
       COMMENT;MODIFIED=20130226T110451Z;GROUP=G1:Breakdown

       ATTENDEE;PARTSTAT=FAILED;MODIFIED=20130226T1104510Z;GROUP=G2:
        REASON="http://example.com/reason/van-break-down":mailto:
        xxx@example.com
       COMMENT;MODIFIED=20130226T110451Z;GROUP=G2:Puncture

(An aside - I think the example is faulty - a ":" wheer there should eb 
a ";")

The problem we had to address here is that we wanted a bunch of 
properties to be related to a specific attendee - so we used the GROUP 
parameter.

Significantly more readable and probably easier to manipulate is the 
approach of putting all that inside a component

Inventing one...

BEGIN VATTENDEE
ATTENDEE:PARTSTAT=FAILED;MODIFIED=20130226T1104510Z:xxx@example.com
REASON="http://example.com/reason/van-break-down"
COMMENT;MODIFIED=20130226T110451Z:Puncture
END VATTENDEE


In fact any attendee attributes could be stored there. I think in vpoll 
we ended up adopting tha approach for the voter - which could also be an 
associate if we made it a component