Hi Sebb,

This looks great.

Could you update the example usage to include what the commands would look like 
with no explicit path names or urls, but just using ASF::SVN references for the 
paths? 

Else-thread we are discussing how the tooling should be updated to remove 
explicit path references and instead use the ASF::SVN paths.

And it is not clear to me how you return both the replacement text for 
members.txt and also the svn directory to commit.

Thanks,
Craig

> On Jun 2, 2020, at 9:43 AM, sebb <seb...@gmail.com> wrote:
> 
> I have changed the name to multiUpdate
> 
> svnmucc is now the low-level interface to svnmucc, which is used by
> multiUpdate and can be used directly, e.g. for emeritus rescinded
> which does not need to update a file
> 
> On Tue, 2 Jun 2020 at 13:47, sebb <seb...@gmail.com> wrote:
>> 
>> Examples of how to handle emeritus requests:
>> 
>> Emeritus granted
>> =============
>> ASF::SVN.svnmucc('/path/members.txt',msg,env,_) do |text|
>>  text = '...' # move from main section to emeritus
>>  extra = ['mv https://.../emeritus-received/availid.pdf
>> https://.../emeritus/availid.pdf']
>> end
>> 
>> Emeritus rejoined
>> =============
>> ASF::SVN.svnmucc('/path/members.txt',msg,env,_) do |text|
>>  text = '...' # move from emeritus to main section
>>  extra = ['mv https://.../emeritus/availid.pdf
>> https://.../emeritus-rejoined/availid.pdf']
>> # the above can be expanded to create a holding directory if the
>> target already exists
>> end
>> 
>> Emeritus rescinded
>> ===============
>> Can use svn to rename the file from emeritus-received/ to emeritus-rescinded.
>> However if there has been a previous rescinding from the same person,
>> it might make sense
>> to use svnmucc to group the commands into a single commit if that is
>> thought necessary.

Craig L Russell
c...@apache.org

Reply via email to