Published 2005-05-31 20:15:26

I finally got round to packaging up the XUL based Subversion browser, so you can try it out on your own servers..

The first release effort is here : FlexySvn-0.1

Dependancies / Installation Instructions.
  • PHP5 (5.0.4 or CVS snapshot) (I might try doing a PHP4 version later.. - but you can always reverse proxy and run PHP5+apache2 on another port..)

  • The svn extension
    #pecl install -f svn

  • The colorer library and extension
    Download and build the colorer library Colorer-take5-linux.beta4.tar.bz2
    (good ole ./configure;make;make install;)
    Then install the colorer extension:
    #pecl install -f colorer

  • Download the tarball, and 'tar xvzf' into your web folder.

  • copy svn.php to index.php (so your config/bootstrap file will not be overwritten if I ever release another version)

  • edit the index.php - it's commented and pretty simple..

  • Visit the url (and hope it works)
The test machine I did all this on unfortunatly had alot of problems with apache2/php5 head and 5.0.4, Basically it segfaulted with all php calls.. - this was fixed with a small horrible hack,

Feel free to add comments to this post if you come across problems or email me fixes if you can think of any..

Note:
Apache must be configured with
AcceptPathInfo On
And PHP must be configured with
magic_quotes_gpc=Off
This can be done in a .htaccess file if necessary.



Mentioned By:
subversion.tigris.org : subversion: Subversion Links (11361 referals)
test.tomes.org : FlexySvn | Subversionary (4998 referals)
espion.just-size.jp : Trac をインストールしてみたよ (2464 referals)
www.endrun.org : Subversion Links (1015 referals)
google.com : flexysvn (827 referals)
www.czilla.cz : CZilla: Mozilla v etin (752 referals)
svn.haxx.se : Subversion Users: [ANNOUNCE] XUL/PHP based Subversion browser & PHP bindings. (736 referals)
www.czilla.cz : CZilla: Archiv novinek (725 referals)
digg.com : FlexySVN - The XUL SVN (subversion) browser (492 referals)
www.subversionary.org : Web | Subversionary (458 referals)
blog.linux.org.tw : Jserv's blog: Subversion 在 Web 瀏覽的強化 (367 referals)
google.com : No handlers for package.xml version 2.0 (329 referals)
www.sooey.com : Sooey - FlexySvn (310 referals)
cl.pocari.org : [] XUL JavaScript PHP Ǻ줿 Subversion Υݥȥ֥饦 FlexySvn (309 referals)
parn.s55.xrea.com : USVN 0.7.2 → 1.0.1 | パーンの部屋 (303 referals)
google.com : "No handlers for package.xml version 2.0" (296 referals)
blog.bmedianode.com : BMediaNode: FlexySvn (228 referals)
twpug.net : 台灣PHP聯盟[ Taiwan PHP User Group ] - 討論區 - 進階PHP討論 - XUL = XML User-interface Language (188 referals)
google.com : december (181 referals)
fw.moongift.jp : MOONGIFT - FlexySvn - オープンソースによるIT戦略支援 - (177 referals)

Comments

"-f" ???
uhm why are you telling people to use "-f" on the install? alot of people are misusing this option and are causing themselves and the people who they come to for help alot of pain and wasted time ..

alot of people have begun using "-f" for everything .. including overriding the preferred state etc ..

therefore I think its reall important we pear dev's try and make sure that people know the dangers of "-f" instead of the growing perception that "-f" magically fixes any problem

aside from that i am looking forward to trying this thing out on our server. currently we serve the repository via webdav+apache2 with some mod_rewrite rules to give people highlighting when they append "s" to the file extension
#0 - Lukas ( Link) on 2005-05-31 21:07:25 Delete Comment
Great!
Very cool! The browser is very nice, I am planning on installing it on my server soon, great work!
#1 - Matthew Fonda ( Link) on 2005-06-01 02:47:26 Delete Comment
Is it supposed to work on windows?
see the subj.

Looks really great,
I really missed such one.
#2 - Moisei ( Link) on 2005-06-01 22:35:22 Delete Comment
Windows Support
There have been promises of windows support, It's only a matter of someone finding time to build it.
Keep an eye on snaps.php.net (look at pecl extensions)
#3 - Alan Knowles ( Link) on 2005-06-01 22:51:51 Delete Comment
nice
Very cool. Now I must force myself to get Subversion installed again (should be easier for me since fsfs is the default backend now, had troubles with BDB before).
#4 - Gabriel Ricard ( Link) on 2005-06-02 23:12:21 Delete Comment
Can't get it to build
I can't get it to build in Fedoar Core 4. I'm wondering if it because I'm using gcc4
/tmp/tmpnJHuol/colorer-0.3/colorer.cpp: In function 'void zif_colorer_open(int, zval*, zval*, int)':/tmp/tmpnJHuol/colorer-0.3/colorer.cpp:733: error: invalid lvalue in assignment
/tmp/tmpnJHuol/colorer-0.3/colorer.cpp:734: error: invalid lvalue in assignment
make: *** [colorer.lo] Error 1
`make' failed
#5 - Carl Parrish ( Link) on 2005-06-17 15:21:59 Delete Comment
Someone know who runs the snaps.php.net server?
It would build...and is set to build ...except that there are no svn libs on the machine

from the log:

Checking for library libsvn-client1.lib ... <not found>
WARNING: svn not enabled; libraries and headers not found

so if someone would just drop a libsvn-client1.lib on there we poor windows users could start playing...please?
#6 - auroraeosrose ( Link) on 2005-07-08 23:23:53 Delete Comment
building the svn php binding
With Apache 2.0.54 and PHP 5.0.4 and a functional pear I get:
$ ~/apps/bin/pear install svndownloading svn-0.1.tar ...
Starting to download svn-0.1.tar (-1 bytes)
.................done: 69,632 bytes
No handlers for package.xml version 2.0

...or if attempt to build the "hard way":
$ ./configure --prefix=/home/amayhew/apps --with-php-config=/home/amayhew/apps/bin/php-config --with-svn=/usr/local --with-svn-apr=/usr/local/apr

... lots of output here, but works...
make dies with the following:
/homes/amayhew/src/svn-0.1/svn.c: In function `init_svn_client':
/homes/amayhew/src/svn-0.1/svn.c:247: syntax error before `*'
/homes/amayhew/src/svn-0.1/svn.c:253: `providers' undeclared (first use in this function)
/homes/amayhew/src/svn-0.1/svn.c:253: (Each undeclared identifier is reported only once
/homes/amayhew/src/svn-0.1/svn.c:253: for each function it appears in.)
/homes/amayhew/src/svn-0.1/svn.c: In function `php_svn_log_message_receiver':
/homes/amayhew/src/svn-0.1/svn.c:686: syntax error before `const'
*** Error code 1


$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]


Any pointers would be appreciated.
#7 - Andy ( Link) on 2005-08-11 07:41:35 Delete Comment
It is supposed to work on windows!
Hi all,
I've succeeded to build the php_svn extension for Win32 platform:
http://www.gknw.de/phpbb/viewforum.php?f=19
#9 - Guenter ( Link) on 2006-04-17 08:13:54 Delete Comment
how to download?
The link seems broke...
#10 - tzungder ( Link) on 2006-05-26 20:42:00 Delete Comment
Broken links
please email me about broken links. ;) - this server had to be rebuilt in May 2006, and some stuff may have got broken..
#11 - Alan Knowles ( Link) on 2006-05-27 09:49:15 Delete Comment
History of directories
Hi,

two things:
1. is it possible to make the button "Full History" also working if I've selected only a directory?

2. on the top of the left panel are two drop-down boxes, the first displayes the actual repo (OK) and the second display only the last rev (???).

I'm firm in php-programming, so it would be ok for me, if you can point me in the right direction.
#12 - Joerg Schoppet ( Link) on 2006-06-27 19:32:39 Delete Comment
Strict Standards
Hi,
when connecting to flexysvn, I get the following errors:
Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/pear/HTML/FlexyFramework2.php on line 367

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/pear/HTML/FlexyFramework2.php on line 367

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/pear/HTML/FlexyFramework2.php on line 367

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/pear/HTML/FlexyFramework2.php on line 367

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/FlexySvn.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/tools/FlexySvn-0.1/pear/HTML/FlexyFramework2.php:367) in /srv/www/tools/FlexySvn-0.1/FlexySvn.php on line 194

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/FlexySvn.php on line 196

Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /srv/www/tools/FlexySvn-0.1/pear/HTML/FlexyFramework2/Page.php on line 183

Can you help me?
regards
Stefano
#13 - stefano ( Link) on 2007-02-06 20:46:06 Delete Comment
getStaticProperty Fix
either turn of E_STRICT, or modify PEAR.php and stick the word static infront of it..
#14 - Alan Knowles ( Link) on 2007-02-06 23:22:16 Delete Comment
php svn binding
I'm looking for someone who has successfully built svn bindings against php 5.2.3, apache 2.2.2

I have gotten the php binding stuff to work from the command line, but it crashes my apache when I do the same script through the web server.

It looks like a problem with apr-1...
#15 - Tom Riemer ( Link) on 2007-08-15 02:21:29 Delete Comment
PHP 5.2.5 + apache2
Hi

Working for me on Debian Etch

Had to compile the CVS version of SVN PECL package as mentionned above (don't install the 0.2 fount on the pecl website)

Then I had to mess a bit with the code, to add some "static" before some functions, and replace "if_a" by "instanceof" in other places to comply with php-5.2.5 strict syntax.
#16 - Olivier ( Link) on 2008-01-15 23:42:19 Delete Comment

Add Your Comment

Follow us on