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.

Reply via email to