Hi,

On Tue, Jan 19, 2010 at 9:00 PM, Kent Barber <[email protected]> wrote:
> ...I still have no idea what the curl command would be to checkin a new 
> version. By
> checkin I mean it then locks down version 1 and any time I go to upload a new 
> asset it
> will be at version 2. There must be some parameter that I could use in a Curl 
> command
> to do this somehow I would assume?...

No, versioning is not supported by the SlingPostServlet at the moment.

The documentation for that is at
http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html

This was discussed several times in the past, but we didn't reach a
consensus or have a big enough need yet to implement this. It would be
good to have it though.

What you can currently do is write a Sling servlet or script, or
extend the SlingPostServlet (as explained at the above URL) to handle
your versioning operations.

List of previous versioning-related discussions that I know of
(includes some versioning examples):
http://markmail.org/message/yb7ouj6amlp5lrzq
http://markmail.org/message/vp6qjx6zamkatusf

-Bertrand

Reply via email to