Re: Atom revision tracking extension
James Snell <jasnell@gmail.com> Tue, 09 November 2010 23:19 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 59A2B3A6A2F for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 9 Nov 2010 15:19:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.438
X-Spam-Level:
X-Spam-Status: No, score=-0.438 tagged_above=-999 required=5 tests=[AWL=-0.193, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, J_CHICKENPOX_27=0.6, J_CHICKENPOX_28=0.6, J_CHICKENPOX_47=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 VyrboDFlus+x for <ietfarch-atompub-archive@core3.amsl.com>; Tue, 9 Nov 2010 15:19:38 -0800 (PST)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 814CC3A6A2C for <atompub-archive@ietf.org>; Tue, 9 Nov 2010 15:19:38 -0800 (PST)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id oA9NESAb092435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Nov 2010 16:14:28 -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 oA9NESVC092434; Tue, 9 Nov 2010 16:14:28 -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-qy0-f171.google.com (mail-qy0-f171.google.com [209.85.216.171]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id oA9NEQO9092429 for <atom-syntax@imc.org>; Tue, 9 Nov 2010 16:14:27 -0700 (MST) (envelope-from jasnell@gmail.com)
Received: by qyk38 with SMTP id 38so2225686qyk.16 for <atom-syntax@imc.org>; Tue, 09 Nov 2010 15:14:26 -0800 (PST)
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=VUSwovjykZ1V5jrxdd6xyOQ8OmGku49z448FY2acIjg=; b=USifQopGtNQd3RCW9d5XTEUukk98+nXUUtIe7JS1U0ChfpFSFQQ4gGdZLzAWx1PdJf 1b8JqUGV3+el+q1lDZYeWg9X8Jb58BWK/6iBE8qcQXZAMFF4mUPiZkc00fZXoL7wId3a H6+x75K/oKzQOIBKSUzlFv90FCNg7GQY3LeU8=
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=HxxSep8LBIzXSBsA7RzujJCmVUYXryIzmyE0Ls+xw+jSuk4DqV78oKCYdHw8fJExL5 CHi9idXe+IZRbQeywj7n0M9uW327DVd90tlUsZj3StNB+EqCY5/B7aumogzRKmfoU89u jwlPiawqbCA6eZjRmcFAFJRqEJaR1jh9RXQT0=
MIME-Version: 1.0
Received: by 10.229.189.207 with SMTP id df15mr6890316qcb.299.1289344465269; Tue, 09 Nov 2010 15:14:25 -0800 (PST)
Received: by 10.229.5.20 with HTTP; Tue, 9 Nov 2010 15:14:25 -0800 (PST)
In-Reply-To: <20101104134314.GB4580@aliman-desktop>
References: <20101102111107.GA14216@skiathos> <4CD055FD.5080506@berkeley.edu> <4CD0819A.6080404@gmx.de> <AANLkTiki04nBRZWkdF8O13iKR7inHmgerq-wcKKmoBZj@mail.gmail.com> <20101104134314.GB4580@aliman-desktop>
Date: Tue, 09 Nov 2010 15:14:25 -0800
Message-ID: <AANLkTimBXFEYQzbmomNksiGYFjpFcxbfauRiPxEc_7R8@mail.gmail.com>
Subject: Re: Atom revision tracking extension
From: James Snell <jasnell@gmail.com>
To: Alistair Miles <alimanfoo@googlemail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Erik Wilde <dret@berkeley.edu>, atom-syntax@imc.org
Content-Type: multipart/alternative; boundary="0016361e7f40d873ff0494a6e606"
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>
Alistair, thank you very much for the detailed comments. I will spend some time updating and revitalizing the draft today. Once I post the updated version, we can pick up the discussion from there. On Thu, Nov 4, 2010 at 6:43 AM, Alistair Miles <alimanfoo@googlemail.com>wrote: > Hi James, > > On Tue, Nov 02, 2010 at 03:47:58PM -0700, James Snell wrote: > > 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 > > +1 > > > 2. Drop all of the link-relations in favor of those defined in RFC5829 > > I think this might need a bit of discussion. > > Two possible issues here... > > One simple issue, the mapping from link relations defined in your revision > tracking I-D to RFC5829 is incomplete... > > history -> version-history > diff -> ??? > initial-revision -> ??? > current-revision -> latest-version > this-revision -> ??? > prior-revision -> predecessor-version > next-revision -> successor-version > > We haven't actually implemented the diff relation, but we make heavy use of > "this-revision" - it's how a client navigates from a history feed (which > might contain an incomplete representation of each revision for efficiency > reasons) to a full representation of a specific revision. > > Another possible issue is that RFC5829 anticipates source-code style > versioning, > defining notions of "working copy" and "checkout". We don't have any need > for > these notions, and it might be easier to get consensus on a new atom > revision > tracking draft if we kept it simple and limited it to consider only > provision > of revision history where versioning is transparent to the client. > > > 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> > > +1 to add atomAuthor here > > Also I suggest making it clear that the atom:summary element within > ar:revision > is *the* place to put *the* revision comment for a specific revision. > > Are you proposing to drop the @number attribute? What about @initial, > @final, @significant? I could live without @significant (not sure how this > is determined anyway) but @initial and @final are useful. > > > 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? > > Doesn't matter to me either way. > > I think also the intended/expected usage of the ar:comment element needs a > bit of discussion too. > > Thanks, > > Alistair > > > > > 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.txtis > > >> 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? > > > > > > > > -- > Alistair Miles > Head of Epidemiological Informatics > Centre for Genomics and Global Health <http://cggh.org> > The Wellcome Trust Centre for Human Genetics > Roosevelt Drive > Oxford > OX3 7BN > United Kingdom > Web: http://purl.org/net/aliman > Email: alimanfoo@gmail.com > Tel: +44 (0)1865 287669 >
- Re: Atom revision tracking extension Alistair Miles
- Atom revision tracking extension Alistair Miles
- Re: Atom revision tracking extension Ed Summers
- Re: Atom revision tracking extension James Snell
- Re: Atom revision tracking extension Erik Wilde
- Re: Atom revision tracking extension Julian Reschke
- Re: Atom revision tracking extension James Snell
- Re: Atom revision tracking extension Alistair Miles
- Re: Atom revision tracking extension James Snell
- Re: Atom revision tracking extension Peter Saint-Andre
- Re: Atom revision tracking extension James Snell