Re: Atom revision tracking extension

James Snell <jasnell@gmail.com> Tue, 02 November 2010 22:53 UTC

Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@core3.amsl.com
Delivered-To: ietfarch-atompub-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5B4023A68D5 for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 2 Nov 2010 15:53:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.816
X-Spam-Level:
X-Spam-Status: No, score=-0.816 tagged_above=-999 required=5 tests=[AWL=0.630, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, J_CHICKENPOX_28=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id giEqGgbfZ-p7 for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 2 Nov 2010 15:53:32 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 6B3E33A6A33 for <atompub-archive@ietf.org>; Tue, 2 Nov 2010 15:53:29 -0700 (PDT)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id oA2Mm08q001912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Nov 2010 15:48:00 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by hoffman.proper.com (8.14.4/8.13.5/Submit) id oA2Mm0Tx001911; Tue, 2 Nov 2010 15:48:00 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: hoffman.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from mail-yw0-f43.google.com (mail-yw0-f43.google.com [209.85.213.43]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id oA2MlxeC001906 for <atom-syntax@imc.org>; Tue, 2 Nov 2010 15:47:59 -0700 (MST) (envelope-from jasnell@gmail.com)
Received: by ywi6 with SMTP id 6so4273703ywi.16 for <atom-syntax@imc.org>; Tue, 02 Nov 2010 15:47:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/TDf7p3J2hrexLRQwpukgQmbLgkC/exuZbKCnXQZlc8=; b=EBYdVYkwUAEezaUXed344QvN2Wvi+Bh9NNoFITc++BxWmsrEajuEqZQSP2rQxq9UhX VhDP2ME3FyZYQB50NemZHv6S0vIf8bxdErmOqjG7XXjnyf6R7mY5S2lHtL6xqYZ8EE6Q e2pn9nNpLUHXdR/87kDcg+q75mxf+OZ5PqPv8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LWrd2QkPZYTwqzmh/XFpLrpQ9bFipec+wQWiSl3pEo9QsjHjzDuWeqcYUKon2KpJSm PenSaSneh5Cwdak9fkrOFmwHHni0WvyvuN6U60x3u2tD6GcF0aFCTAxTG24Htx+8RsH5 c4a0O5Q9K9hAWes+DvEdVcaNzq9tbxzXQ0row=
MIME-Version: 1.0
Received: by 10.229.97.68 with SMTP id k4mr16950329qcn.261.1288738078383; Tue, 02 Nov 2010 15:47:58 -0700 (PDT)
Received: by 10.229.54.202 with HTTP; Tue, 2 Nov 2010 15:47:58 -0700 (PDT)
In-Reply-To: <4CD0819A.6080404@gmx.de>
References: <20101102111107.GA14216@skiathos> <4CD055FD.5080506@berkeley.edu> <4CD0819A.6080404@gmx.de>
Date: Tue, 02 Nov 2010 15:47:58 -0700
Message-ID: <AANLkTiki04nBRZWkdF8O13iKR7inHmgerq-wcKKmoBZj@mail.gmail.com>
Subject: Re: Atom revision tracking extension
From: James Snell <jasnell@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Erik Wilde <dret@berkeley.edu>, atom-syntax@imc.org
Content-Type: multipart/alternative; boundary="0016367f99825edd76049419b74b"
Sender: owner-atom-syntax@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/atom-syntax/mail-archive/>
List-Unsubscribe: <mailto:atom-syntax-request@imc.org?body=unsubscribe>
List-ID: <atom-syntax.imc.org>

Ok, I was just looking over the old revision draft. I can definitely see a
number of key changes that can be made...

1. Drop the deleted-entry element in favor of the Atom Tombstones Draft
2. Drop all of the link-relations in favor of those defined in RFC5829
3. Refine the definition of ar:revision to:

     revision = element ar:revision {
       atomCommonAttributes,
       attribute label { text },
       attribute scheme { atomIRI }?,
       (atomAuthor?,
        atomUpdated?,
        atomSummary?,
        undefinedContent)
     }

    This gives us the simplest example:

     <ar:revision label="01" scheme="http://example.org/foo" />

    If we want to indicate who made the revision, when, and provide a
revision comment, we would do:

    <ar:revision label="01" scheme="http://example.org/foo">
      <author><name>James</name></author>
      <updated>2010-12-12T12:12:12Z</updated>
      <summary>Removed some stuff</summary>
    </ar:revision>


  4. I'd like to drop the ar: namespace and define the revision, comment and
host elements within the Atom namespace.

      e.g.:
      <entry>
        ...
          <revision label="01" scheme="http://example.org/foo" />
        ...
      </entry>

Thoughts?

On Tue, Nov 2, 2010 at 2:24 PM, Julian Reschke <julian.reschke@gmx.de>wrote:

>
> On 02.11.2010 19:18, Erik Wilde wrote:
>
>>
>> hello alistair.
>>
>> On 2010-11-02 4:11, Alistair Miles wrote:
>>
>>> This is just a short note to say that we've done an implementation of
>>> James
>>> Snell's 2006 I-D on a revision tracking extension [1], see the
>>> documentation
>>> at [2].
>>> [1] http://tools.ietf.org/html/draft-snell-atompub-revision-00
>>> [2] http://code.google.com/p/atombeat/wiki/TutorialVersioning
>>>
>>
>> http://tools.ietf.org/id/draft-brown-versioning-link-relations-07.txt is
>> something that is more recent and seems to cover similar use cases, even
>> though it's using only link relations instead of a mix of elements and
>> link relations. the latest version of that is also expired (but not
>> nearly as old as draft-snell-atompub-revision), but now that RFC 5988 is
>> published, maybe a new version will be published soon?
>>
>
> It has been published as RFC; why are you expecting a new version?
>
>