On Fri, Jul 17, 2020 at 8:32 PM Craig Russell <apache....@gmail.com> wrote: > > tl;dr secretary workbench now works on whimsy.local > > I have verified that _a also accepts target: "_self" for normal operation and > "_blank" to open the link in a separate window which is what we (actually, I) > want to do for :emeritusReady status. And maybe for :emeritusPending status. > Discuss else thread. > > But if I process a document, what happens? Does it actually change the real > remote repositories? I'm still unclear on how the repositories work in both > whimsyvm6 in production and my whimsy.local. Is there a HOWITWORKS.md > explaining it?
tl;dr: yes, it changes real remote repositories. Each of the machines you mentioned may have local, checked out, working copies of various repositories. When you call a whimsy library method like svn_ or svnmucc_, that routine may chose to create a temporary directory, do yet another checkout of one or more repositories (typically with --depth empty), make changes in that temporary directory, and then commit those changes. Or, in the case of svnmucc, the temporary directory itself may not be necessary - if you call svnmucc to move a file from one URL to another, that will be done directly - all on the server. No, there isn't a HOWITWORKS.md that says "if you call svnmucc mv src dest", where the URLs are of the form https://svn.apache.org/repos/private/xxx, then result will be to change real remote repositories. Nor is there one that says that if you call "svn commit", to a local checkout of an ASF repository, then changes made in your local checkout workspace will be sent to a real, remote repository. The node.js implementation has code to intercept these calls and either redirect these calls to local repositories (in the case of development) or with mocked implementations in memory (in the case of test). This logic is not present in the Ruby implementation. This way development, test, and production environments are intended to work in the node.js implementation is covered here: https://github.com/rubys/whimsy-board-agenda-nodejs/blob/master/docs/overview/environments.md > Thanks, > Craig - Sam Ruby