-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, I have tried to get the CodeReview extension, and I've run into two problems.
For the code_authors table in codereview.sql, I had to reduce both varchar(255) to varchar(160) because I was getting "#1071 - Specified key was too long; max key length is 1000 bytes" -- why would that need to be shorter? (and by so much!) But - reduce the size and it works.
For svnImport.php, the script claims to be working (though with errors) but no revisions are actually imported: root@binnie:/var/www/w/extensions/CodeReview# php svnImport.php mikelifeguard Syncing repo mikelifeguard from r1 to HEAD... svn: invalid option: --trust-server-cert Type 'svn help' for usage. svn: invalid option: --trust-server-cert Type 'svn help' for usage. svn: invalid option: --trust-server-cert Type 'svn help' for usage. svn: invalid option: --trust-server-cert Type 'svn help' for usage. svn: invalid option: --trust-server-cert Type 'svn help' for usage. Pre-caching the latest 50 diffs... Done!
The repository uses svn:// and not apache (the --trust-server-cert sounds like to me like it might be expecting https:// and it might have to trust the cert - but I use svnserve not apache for now at least). What can I do to have this work?
Thanks for your help, - -Mike
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Mike.lifeguard wrote:
svn: invalid option: --trust-server-cert What can I do to have this work?
Thanks for your help, -Mike
Problem #2 is that you're likely running a version of Subversion older then 1.6, either upgrade to recentish subversion or remove - --trust-server-cert from $wgSubversionOptions
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
wrote:
Mike.lifeguard wrote:
svn: invalid option: --trust-server-cert What can I do to have this work?
Thanks for your help, -Mike
Problem #2 is that you're likely running a version of Subversion older then 1.6, either upgrade to recentish subversion or remove --trust-server-cert from $wgSubversionOptions
Updated subversion & now I get new and exciting errors!
svn: Can't get username or password
I'm not sure if authorization is being declined, or whether it simply can't find any details with which to attempt authorization. Probably it is the latter, since I've not given it any - though anonymous checkouts work, so it shouldn't need anything anyways.
Thanks again, - -Mike
mediawiki-l@lists.wikimedia.org