Re: [whimsy] branch master updated: Notes on container layout

2019-11-25 Thread Sam Ruby
On Sun, Nov 24, 2019 at 7:35 PM sebb wrote: > > There are lots of places where the code assumes that the root is /srv. > AFAICT, that assumption only fails in the docker case, and is only needed > when setting up the container. You may want to run "rake svn:update" periodically. But, be that as

Re: [whimsy] branch master updated: Notes on container layout

2019-11-25 Thread Matt Sicker
How about an environment variable override with a default location matching the old behavior? Then the Docker image can be run with that environment variable set to the Docker-specific area. On Sun, 24 Nov 2019 at 18:35, sebb wrote: > > On Sun, 24 Nov 2019 at 20:13, Sam Ruby wrote: > > > On Sun,

Re: [whimsy] branch master updated: Notes on container layout

2019-11-24 Thread sebb
On Sun, 24 Nov 2019 at 20:13, Sam Ruby wrote: > On Sun, Nov 24, 2019 at 2:43 PM sebb wrote: > > > > My local Whimsy server installation (not via Docker) no longer works > > properly, because Config finds the wrong root. > > > > Whimsy is installed under my home directory; the server runs as a >

Re: [whimsy] branch master updated: Notes on container layout

2019-11-24 Thread Sam Ruby
On Sun, Nov 24, 2019 at 2:43 PM sebb wrote: > > My local Whimsy server installation (not via Docker) no longer works > properly, because Config finds the wrong root. > > Whimsy is installed under my home directory; the server runs as a different > user, so has a different home directory. > So when

Re: [whimsy] branch master updated: Notes on container layout

2019-11-24 Thread sebb
On Sat, 23 Nov 2019 at 13:37, sebb wrote: > On Fri, 22 Nov 2019 at 19:50, Sam Ruby wrote: > >> On Fri, Nov 22, 2019 at 10:39 AM sebb wrote: >> > >> > On Fri, 22 Nov 2019 at 14:26, Sam Ruby wrote: >> > >> > > On Fri, Nov 22, 2019 at 5:47 AM sebb wrote: >> > > > >> > > > On Thu, 21 Nov 2019 at

Re: [whimsy] branch master updated: Notes on container layout

2019-11-23 Thread sebb
On Fri, 22 Nov 2019 at 19:50, Sam Ruby wrote: > On Fri, Nov 22, 2019 at 10:39 AM sebb wrote: > > > > On Fri, 22 Nov 2019 at 14:26, Sam Ruby wrote: > > > > > On Fri, Nov 22, 2019 at 5:47 AM sebb wrote: > > > > > > > > On Thu, 21 Nov 2019 at 17:00, Sam Ruby > wrote: > > > > > > > > > On Thu, No

Re: [whimsy] branch master updated: Notes on container layout

2019-11-22 Thread Sam Ruby
On Fri, Nov 22, 2019 at 10:39 AM sebb wrote: > > On Fri, 22 Nov 2019 at 14:26, Sam Ruby wrote: > > > On Fri, Nov 22, 2019 at 5:47 AM sebb wrote: > > > > > > On Thu, 21 Nov 2019 at 17:00, Sam Ruby wrote: > > > > > > > On Thu, Nov 21, 2019 at 10:11 AM sebb wrote: > > > > > > > > > > That still c

Re: [whimsy] branch master updated: Notes on container layout

2019-11-22 Thread sebb
On Fri, 22 Nov 2019 at 14:26, Sam Ruby wrote: > On Fri, Nov 22, 2019 at 5:47 AM sebb wrote: > > > > On Thu, 21 Nov 2019 at 17:00, Sam Ruby wrote: > > > > > On Thu, Nov 21, 2019 at 10:11 AM sebb wrote: > > > > > > > > That still causes issues for bundler. > > > > Turns out this is caused by the

Re: [whimsy] branch master updated: Notes on container layout

2019-11-22 Thread Sam Ruby
On Fri, Nov 22, 2019 at 5:47 AM sebb wrote: > > On Thu, 21 Nov 2019 at 17:00, Sam Ruby wrote: > > > On Thu, Nov 21, 2019 at 10:11 AM sebb wrote: > > > > > > That still causes issues for bundler. > > > Turns out this is caused by the line > > > - $HOME:/root > > > which causes bundler to us

Re: [whimsy] branch master updated: Notes on container layout

2019-11-22 Thread sebb
On Thu, 21 Nov 2019 at 17:00, Sam Ruby wrote: > On Thu, Nov 21, 2019 at 10:11 AM sebb 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. > >

Re: [whimsy] branch master updated: Notes on container layout

2019-11-21 Thread Sam Ruby
On Thu, Nov 21, 2019 at 10:11 AM sebb 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

Re: [whimsy] branch master updated: Notes on container layout

2019-11-21 Thread sebb
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. If I remove the line, SVN does now find the CA I can interactively update SVN, however I am prompted for the password. Thi

Re: [whimsy] branch master updated: Notes on container layout

2019-11-21 Thread Sam Ruby
On Thu, Nov 21, 2019 at 8:01 AM sebb 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

Re: [whimsy] branch master updated: Notes on container layout

2019-11-21 Thread sebb
On Wed, 20 Nov 2019 at 17:25, Sam Ruby wrote: > On Wed, Nov 20, 2019 at 4:21 AM wrote: > > > > +If any of the configuration files under .subversion etc contain > absolute references to > > +files (such as CA certificates), these will need to be fixed somehow > (e.g. create links on > > +the cont

Re: [whimsy] branch master updated: Notes on container layout

2019-11-20 Thread Sam Ruby
On Wed, Nov 20, 2019 at 4:21 AM wrote: > > +If any of the configuration files under .subversion etc contain absolute > references to > +files (such as CA certificates), these will need to be fixed somehow (e.g. > create links on > +the container) > + > Known not to work (ToDos) > -