> > 1.) The methods 'configuration' and 'writable_by_query_uri' in lib/ > gitorious/ssh/client.rb construct URI references to the site root > manually which do not apply when relative_url_root is set. For now, > I've gotten around this by hardcoding the subpath that I'm using into > the URI but I was wondering if there was a safer, more correct > solution that re-used the value from relative_url_root (root_url is > not available, but I suppose I could read from GitoriousConfig > directly...would that be advisable?) >
I think putting the URL in gitorious.yml would be the right thing to do. >From here we can set it to other relevant places. > 2.) The bigger issue, one that I haven't found a workaround for yet, > is that the new project action (/gitorious/projects/new in my case) > tries to redirect to /new instead of /gitorious/new. It appears that > it is not using the relative_url_root. I've looked at various > controllers including the project, application, and site controllers > but haven't found what might be causing this. It also wasn't clear to > me what in routes.rb might be causing the redirect. Note that when I > type in myhost.com/gitorious/new manually, I can successfully reach > the project creation view. I haven't found any other instances in > Gitorious where this is happening. > Hmm, did you check lib/route_filters/? I don't see any redirect from /projects/new to /new - does it only happen when you run it under a directory alias? Christian -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com