How do you configure this thing? It's all over the place. For instance, in htdocs there's a "conf" folder.. ok, that makes sense. And in there, there's a file called db.php. Great, this is where I set up my MySQL DSN (though mysql://groogle:groogle@localhost/groogle is a poor example.. how are we to know where to put the user & password? a better example would be mysql://user:pass@server/dbname).
I digress. So I wonder, where do I configure Groogle by telling it where my SVN repositories are? I check the conf folder in htdocs, there's svn.php, great. But there's nothing in it that even vaguely suggests how to tell Groogle where to look for my SVN server.
I'd also like to point out that the documentation link on the Groogle site yields a 404 error.
So… can anyone shed some light on this?
Ahh nevermind. It's because our repositories have password authentication (even for read-access) and Groogle doesn't support that. I could hard-code the user/pass, but the problem is that various groups will be using this, and we don't all have the same user/pass to access the various repositories.
What a bummer!
Wow. I managed to get a workaround by using file:// to access the repositories locally.. great! But unfortunately, when I tried installing Groogle on Windows… major fail. Not a surprise, since this was built for Linux. I got stuck on the whole php_svn.dll thing. It needs DLLs and apparently even though I downloaded them all, they're wrong.. the Apache server won't start as long as I have "extension=php_svn.dll" in the INI file. Oh well.
The documentation link is dead because sourceforge deleted the document manager application from sf.net, along with the docs. Restoring the documentation is on my to-do list.
Repository and authentication support is present in the next version of Groogle. This is implemented in trunk with the exception of requiring a few UI updates but there are several bugs to fix that stop trunk being useable at the moment.
You can configure aliases in htdocs/conf/svn.php to automatically do transformations (i.e. svn:// -> file:// url) if you haven't done so already.
Installation on windows is a nightmare because a compatible php_svn.dll is required. I plan to build and publish the dll for window myself at some point, since it's become almost impossible to find a pre-built binary on the internet. Linux is the way forward for now, or at the least VMWare with Linux.
Nice work.. it works great on Linux. Unfortunately I'm forced to use Windows. I'll keep an eye out for your php_svn.dll! Thanks!