[ 
https://issues.apache.org/jira/browse/SVN-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Foad updated SVN-2354:
-----------------------------
    Description: 
The current implementations of libsvn_client's property functions currently
offer only the following feedback mechanisms:
* a single error code (which doesn't offer per-item feedback on recursive 
operations)
* a massive hash of paths and properties (which is very un-streamy, memory 
wasteful, etc.)

-The property setting functions should learn to use the client notification-
-function and baton to report per-item status of operations ("i did set that-
-property on path FOO", "i ran into an error setting that property on path 
BAR",-
-etc.).- (See SVN-783)

The property getting functions should grow custom callbacks for
reporting property findings on a per-item basis, something like:
* propget:  path -> (err, propval)
* proplist:  path -> (err, { propname : propval, propname : propval ... })

And then, the command-line client should learn to use the now-streamy APIs.


  was:
The current implementations of libsvn_client's property functions currently
offer only the following feedback mechanisms:
* a single error code (which doesn't offer per-item feedback on recursive
     operations)
* a massive hash of paths and properties (which is very un-streamy, memory
     wasteful, etc.)

-The property setting functions should learn to use the client notification-
-function and baton to report per-item status of operations ("i did set that-
-property on path FOO", "i ran into an error setting that property on path 
BAR",-
-etc.).-

{noformat:nopanel=true}
The property getting functions should grow custom callbacks for
reporting property findings on a per-item basis, something like:
   propget:  path -> (err, propval)
   proplist:  path -> (err, { propname : propval, propname : propval ... })

And then, the command-line client should learn to use the now-streamy APIs.
{noformat}


> Make svn_client_propset/get/list/del APIs use streamy notification.
> -------------------------------------------------------------------
>
>                 Key: SVN-2354
>                 URL: https://issues.apache.org/jira/browse/SVN-2354
>             Project: Subversion
>          Issue Type: Improvement
>          Components: libsvn_client
>    Affects Versions: 1.2.x
>            Reporter: C. Michael Pilato
>             Fix For: unscheduled
>
>
> The current implementations of libsvn_client's property functions currently
> offer only the following feedback mechanisms:
> * a single error code (which doesn't offer per-item feedback on recursive 
> operations)
> * a massive hash of paths and properties (which is very un-streamy, memory 
> wasteful, etc.)
> -The property setting functions should learn to use the client notification-
> -function and baton to report per-item status of operations ("i did set that-
> -property on path FOO", "i ran into an error setting that property on path 
> BAR",-
> -etc.).- (See SVN-783)
> The property getting functions should grow custom callbacks for
> reporting property findings on a per-item basis, something like:
> * propget:  path -> (err, propval)
> * proplist:  path -> (err, { propname : propval, propname : propval ... })
> And then, the command-line client should learn to use the now-streamy APIs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to