On Thu, Nov 21, 2019 at 10:11 AM sebb <seb...@gmail.com> wrote:
>
> That still causes issues for bundler.
> Turns out this is caused by the line
>       - $HOME:/root
> which causes bundler to use the wrong path.
> I think it's unnecessary now anyway.

That was an oversight, I meant to delete it.  But if we were to
symlink the home directory, I suspect that would have been useful to
you as I gather you had symlinks in your /srv directory (presumably to
locations within your home directory)?

> If I remove the line, SVN does now find the CA
> I can interactively update SVN, however I am prompted for the password.
> This means that  'rake svn:update' fails when logged in to the container
> interactively.
> And of course it does not work from the host as part of 'rake docker:update'

Presuming that the subversion file system versions are compatible, you
can do the svn:update and git:pull steps from the host.

> Somehow we need to get the password across to the container.

Maybe not.  Except for the few places where the whimsysvn user is used
to enable access from non ASF-members, the password provided in the
HTTP authentication is used.

> Note: it's probably not necessary to mount the whole of HOME
> One could mount just .subversion,.git and .ssh:
>       - $HOME/.subversion:$HOME/.subversion
>       - $HOME/.gitconfig:$HOME/.gitconfig
>       - $HOME/.ssh:$HOME/.ssh
>
> Maybe then replace the corresponding /root mounts with links.

Done.

- Sam Ruby

> On Thu, 21 Nov 2019 at 13:49, Sam Ruby <ru...@intertwingly.net> wrote:
>
> > On Thu, Nov 21, 2019 at 8:01 AM sebb <seb...@gmail.com> wrote:
> > >
> > > Might work better if the home directory was mounted directly as well?
> >
> > Give it a try
> > https://github.com/apache/whimsy/commit/b4c7bc2f10a21078e44d0c8e528eab00da296ab2
> >
> > - Sam Ruby
> >

Reply via email to