W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > July to September 2001

RE: auto-checkout and auto-checkin

From: Clemm, Geoff <gclemm@rational.com>
Date: Sun, 15 Jul 2001 22:34:42 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B103A3864E@SUS-MA1IT01>
To: "'DeltaV'" <ietf-dav-versioning@w3.org>
Here is the text I would propose for the DAV:auto-version property:

3.2.2	DAV:auto-version

If the DAV:auto-version value is DAV:checkout-checkin, when a
modification request (such as PUT/PROPPATCH) is applied to a
checked-in version-controlled resource, the request is automatically
preceded by a checkout and followed by a checkin operation.

If the DAV:auto-version value is DAV:checkout-unlocked-checkin, when a
modification request is applied to a checked-in version-controlled
resource, the request is automatically preceded by a checkout
operation.  If the resource is not write-locked, the request is
automatically followed by a checkin operation.

If the DAV:auto-version value is DAV:checkout, when a modification
request is applied to a checked-in version-controlled resource, the
request is automatically preceded by a checkout operation.

If the DAV:auto-version value is DAV:locked-checkout, when a
modification request is applied to a write-locked checked-in
version-controlled resource, the request is automatically preceded by
a checkout operation.

If a write-locked resource was automatically checked out, when the
write lock is removed (such as from an UNLOCK or lock timeout), if the
resource has not yet been checked in, the removal of the write lock is
automatically preceded by a checkin operation.

A server MAY refuse to allow the value of the DAV:auto-checkout
property to be modified.

<!ELEMENT auto-checkout
 (checkout-checkin | checkout-unlocked-checkin | checkout | locked-checkout)
>
<!ELEMENT checkout-checkin EMPTY>
<!ELEMENT checkout-unlocked-checkin EMPTY>
<!ELEMENT checkout EMPTY>
<!ELEMENT locked-checkout EMPTY>


-----Original Message-----
From: Clemm, Geoff [mailto:gclemm@Rational.Com]
Sent: Friday, July 13, 2001 7:11 PM
To: 'DeltaV'
Subject: RE: auto-checkout and auto-checkin


Clearly there is significant support for going back to
DAV:auto-version (as opposed to DAV:auto-checkout,DAV:auto-checkin).
If nobody objects to going back to DAV:auto-version , I'm willing to
do so (I believe I was the most enthusiastic supporter of the original
switch to auto-checkout and auto-checkin).

The values for DAV:auto-version would be:

DAV:always-checkout-always-checkin
DAV:always-checkout-unlocked-checkin
DAV:always-checkout
DAV:locked-checkout

Note: an auto-checkout of a locked resource is always
checked in when the lock is removed, unless it has already
been automatically checked in or explicitly checked in 
or unchecked out.

Cheers,
Geoff
Received on Sunday, 15 July 2001 22:35:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:42 GMT