akbkhome

Smoking toooooo much PHP



"-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
#1 - Lukas ( Link) on 31 May 2005, 21:07 Delete Comment
Great!
Very cool! The browser is very nice, I am planning on installing it on my server soon, great work!
#2 - Matthew Fonda ( Link) on 01 Jun 2005, 02:47 Delete Comment
Is it supposed to work on windows?
see the subj.

Looks really great,
I really missed such one.
#3 - Moisei ( Link) on 01 Jun 2005, 22:35 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)

#4 - Alan Knowles ( Link) on 01 Jun 2005, 22: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).
#5 - Gabriel Ricard ( Link) on 02 Jun 2005, 23:12 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

#6 - Carl Parrish ( Link) on 17 Jun 2005, 15:21 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?
#7 - auroraeosrose ( Link) on 08 Jul 2005, 23:23 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.
#8 - Andy ( Link) on 11 Aug 2005, 07:41 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

#10 - Guenter ( Link) on 17 Apr 2006, 08:13 Delete Comment
how to download?
The link seems broke...
#11 - tzungder ( Link) on 26 May 2006, 20:42 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..
#12 - Alan Knowles ( Link) on 27 May 2006, 09:49 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.
#13 - Joerg Schoppet ( Link) on 27 Jun 2006, 19:32 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
#14 - stefano ( Link) on 06 Feb 2007, 20:46 Delete Comment
getStaticProperty Fix
either turn of E_STRICT, or modify PEAR.php and stick the word static infront of it..
#15 - Alan Knowles ( Link) on 06 Feb 2007, 23:22 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...
#16 - Tom Riemer ( Link) on 15 Aug 2007, 02:21 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.
#17 - Olivier ( Link) on 15 Jan 2008, 23:42 Delete Comment


Name
Email
Homepage
Comment Title
Comment
 
Contact me at alan@akbkhome.com | Manage