[PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread Hannes Magnusson
Hi all!

Next minor release of PhD, 0.3.0, has been released!
For a full release history, see http://doc.php.net/phd/

To upgrade from previous releases:
pear upgrade doc.php.net/phd-beta

To install for the first time:
pear channel-discover doc.php.net
pear install doc.php.net/phd-beta

The reason for the minor release bump is a good amount of new output
formats/themes by our Google Summer of Code student Rudy Nappée. Rudy
has has done a great job this summer and is working on even more
formats these days :D

The new output formats/themes are (Rudy):
- CHM (-t chmsource)
- KDevelop TOC (-t phpkdevelop)
- Unix man pages (-f manpage -t phpfunctions)

The only other change in this release is a support for the recent
phpdoc:exception addition to the phpdoc/docbook DTD.

I hope people can take the time and check out the new formats!

For people interested in following Rudy's work on PhD check out his
blog at http://loudi-soc.blogspot.com/

-Hannes


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread G. T. Stresen-Reuter

On Jul 24, 2008, at 9:54 PM, Hannes Magnusson wrote:


Hi all!

Next minor release of PhD, 0.3.0, has been released!
For a full release history, see http://doc.php.net/phd/

To upgrade from previous releases:
pear upgrade doc.php.net/phd-beta


Hi Hannes,

I'm looking forward to trying out the new version, however, when I  
tried:


pear upgrade doc.php.net/phd-beta

I got the following result:

Nothing to upgrade

I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can  
find out for sure?


Thanks in advance.

Ted Stresen-Reuter




Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread Hannes Magnusson
On Thu, Jul 24, 2008 at 23:10, G. T. Stresen-Reuter
[EMAIL PROTECTED] wrote:
 On Jul 24, 2008, at 9:54 PM, Hannes Magnusson wrote:

 Hi all!

 Next minor release of PhD, 0.3.0, has been released!
 For a full release history, see http://doc.php.net/phd/

 To upgrade from previous releases:
pear upgrade doc.php.net/phd-beta

 Hi Hannes,

 I'm looking forward to trying out the new version, however, when I tried:

 pear upgrade doc.php.net/phd-beta

 I got the following result:

 Nothing to upgrade

Thats interesting. Worked fine for me [tm] few minutes ago:
[EMAIL PROTECTED] bjori]$ phd -V
[17:09:49] PhD version: 0.2.3
[17:09:49] Copyright (c) 2008 The PHP Documentation Group
[EMAIL PROTECTED] bjori]$ sudo pear upgrade doc.php.net/phd-beta
Password:
downloading PhD-0.3.0.tgz ...
Starting to download PhD-0.3.0.tgz (39,686 bytes)
..done: 39,686 bytes
upgrade ok: channel://doc.php.net/PhD-0.3.0
[EMAIL PROTECTED] bjori]$ phd -V
[17:11:03 - E_WARNING] /usr/local/share/pear/phd/config.php:205
getopt(): No support for long options in this build
PhD version: 0.3.0
Copyright (c) 2008 The PHP Documentation Group



 I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can find out
 for sure?

phd -V gives you the installed version.

-Hannes


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread G. T. Stresen-Reuter


On Jul 24, 2008, at 10:20 PM, Hannes Magnusson wrote:

I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can  
find out

for sure?


phd -V gives you the installed version.


/usr/local/php5/bin/phd -V
[23:35:40] PhD version: 0.2.3
[23:35:40] Copyright (c) 2008 The PHP Documentation Group

Very weird. Almost certainly an issue with my pear installation.  
Thanks for confirming that it does work, though. At least I know  
there's hope!


Ted S-R



Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread Hannes Magnusson
On Thu, Jul 24, 2008 at 23:37, G. T. Stresen-Reuter
[EMAIL PROTECTED] wrote:

 On Jul 24, 2008, at 10:20 PM, Hannes Magnusson wrote:

 I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can find
 out
 for sure?

 phd -V gives you the installed version.

 /usr/local/php5/bin/phd -V
 [23:35:40] PhD version: 0.2.3
 [23:35:40] Copyright (c) 2008 The PHP Documentation Group

Try pear uninstall'ing it and then install:
[EMAIL PROTECTED]:~$ sudo pear uninstall doc.php.net/phd-beta
uninstall ok: channel://doc.php.net/PhD-0.3.0
[EMAIL PROTECTED]:~$ sudo pear install doc.php.net/phd-beta
downloading PhD-0.3.0.tgz ...
Starting to download PhD-0.3.0.tgz (39,686 bytes)
..done: 39,686 bytes
install ok: channel://doc.php.net/PhD-0.3.0

-Hannes


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread Brett Bieber
On Thu, Jul 24, 2008 at 4:10 PM, G. T. Stresen-Reuter
[EMAIL PROTECTED] wrote:
 On Jul 24, 2008, at 9:54 PM, Hannes Magnusson wrote:

 Hi all!

 Next minor release of PhD, 0.3.0, has been released!
 For a full release history, see http://doc.php.net/phd/

 To upgrade from previous releases:
pear upgrade doc.php.net/phd-beta

 Hi Hannes,

 I'm looking forward to trying out the new version, however, when I tried:

 pear upgrade doc.php.net/phd-beta

 I got the following result:

 Nothing to upgrade

You can run:
pear info doc.php.net/phd
also, pear clear-cache then try installing/upgrading
pear upgrade doc.php.net/phd-beta

The install/upgrade worked fine for me. Congrats on the new release!

-- 
Brett Bieber

http://saltybeagle.com/


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread G. T. Stresen-Reuter
Getting there... see below... Are you sure you want to go down this  
path with me? Your help is greatly appreciated, but if I poke around  
enough I'll eventually get it installed...


On Jul 24, 2008, at 10:40 PM, Hannes Magnusson wrote:


On Thu, Jul 24, 2008 at 23:37, G. T. Stresen-Reuter
[EMAIL PROTECTED] wrote:


On Jul 24, 2008, at 10:20 PM, Hannes Magnusson wrote:

I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I  
can find

out
for sure?


phd -V gives you the installed version.


/usr/local/php5/bin/phd -V
[23:35:40] PhD version: 0.2.3
[23:35:40] Copyright (c) 2008 The PHP Documentation Group


Try pear uninstall'ing it and then install:
[EMAIL PROTECTED]:~$ sudo pear uninstall doc.php.net/phd-beta
uninstall ok: channel://doc.php.net/PhD-0.3.0
[EMAIL PROTECTED]:~$ sudo pear install doc.php.net/phd-beta
downloading PhD-0.3.0.tgz ...
Starting to download PhD-0.3.0.tgz (39,686 bytes)
..done: 39,686 bytes
install ok: channel://doc.php.net/PhD-0.3.0



That seemed to work, but... here's the terminal output:

tedsr$ sudo /usr/local/php5/bin/pear uninstall doc.php.net/phd-beta
Password:
uninstall ok: channel://doc.php.net/PhD-0.2.3
tedsr$ sudo /usr/local/php5/bin/pear install doc.php.net/phd-beta
downloading PhD-0.3.0.tgz ...
Starting to download PhD-0.3.0.tgz (39,686 bytes)
..done: 39,686 bytes
ERROR: doc.php.net/PhD: conflicting files found:
 phd/formats/xhtml.php (__uri/phd)
   phd/include/PhDFormat.class.php (__uri/phd)
phd/include/PhDTheme.class.php (__uri/phd)
   phd/include/PhDHelper.class.php (__uri/phd)
   phd/include/PhDReader.class.php (__uri/phd)
phd/include/PhDPartialReader.class.php (__uri/phd)
  phd/include/langs/bg.xml (__uri/phd)
  phd/include/langs/cs.xml (__uri/phd)
  phd/include/langs/de.xml (__uri/phd)
  phd/include/langs/en.xml (__uri/phd)
  phd/include/langs/it.xml (__uri/phd)
  phd/include/langs/ja.xml (__uri/phd)
  phd/include/langs/pl.xml (__uri/phd)
   phd/include/langs/pt_BR.xml (__uri/phd)
  phd/include/langs/ro.xml (__uri/phd)
phd/themes/php/bightml.php (__uri/phd)
phd/themes/php/chunkedhtml.php (__uri/phd)
  phd/themes/php/phpdotnet.php (__uri/phd)
 phd/themes/php/phpweb.php (__uri/phd)
phd/config.php (__uri/phd)
   phd/LICENSE (__uri/phd)
 phd/mktoc.php (__uri/phd)
 phd/TODO.RENDERER (__uri/phd)

I suspect there is a --force option for pear, but not sure how to  
invoke it (nor if it is appropriate in this context).


Ted S-R


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread Brett Bieber
On Thu, Jul 24, 2008 at 4:46 PM, G. T. Stresen-Reuter
[EMAIL PROTECTED] wrote:
 Getting there... see below... Are you sure you want to go down this path
 with me? Your help is greatly appreciated, but if I poke around enough I'll
 eventually get it installed...

 On Jul 24, 2008, at 10:40 PM, Hannes Magnusson wrote:

 On Thu, Jul 24, 2008 at 23:37, G. T. Stresen-Reuter
 [EMAIL PROTECTED] wrote:

 On Jul 24, 2008, at 10:20 PM, Hannes Magnusson wrote:

 I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can find
 out
 for sure?

 phd -V gives you the installed version.

 /usr/local/php5/bin/phd -V
 [23:35:40] PhD version: 0.2.3
 [23:35:40] Copyright (c) 2008 The PHP Documentation Group

 Try pear uninstall'ing it and then install:
 [EMAIL PROTECTED]:~$ sudo pear uninstall doc.php.net/phd-beta
 uninstall ok: channel://doc.php.net/PhD-0.3.0
 [EMAIL PROTECTED]:~$ sudo pear install doc.php.net/phd-beta
 downloading PhD-0.3.0.tgz ...
 Starting to download PhD-0.3.0.tgz (39,686 bytes)
 ..done: 39,686 bytes
 install ok: channel://doc.php.net/PhD-0.3.0


 That seemed to work, but... here's the terminal output:

 tedsr$ sudo /usr/local/php5/bin/pear uninstall doc.php.net/phd-beta
 Password:
 uninstall ok: channel://doc.php.net/PhD-0.2.3
 tedsr$ sudo /usr/local/php5/bin/pear install doc.php.net/phd-beta
 downloading PhD-0.3.0.tgz ...
 Starting to download PhD-0.3.0.tgz (39,686 bytes)
 ..done: 39,686 bytes
 ERROR: doc.php.net/PhD: conflicting files found:
 phd/formats/xhtml.php (__uri/phd)
   phd/include/PhDFormat.class.php (__uri/phd)
phd/include/PhDTheme.class.php (__uri/phd)
   phd/include/PhDHelper.class.php (__uri/phd)
   phd/include/PhDReader.class.php (__uri/phd)
 phd/include/PhDPartialReader.class.php (__uri/phd)
  phd/include/langs/bg.xml (__uri/phd)
  phd/include/langs/cs.xml (__uri/phd)
  phd/include/langs/de.xml (__uri/phd)
  phd/include/langs/en.xml (__uri/phd)
  phd/include/langs/it.xml (__uri/phd)
  phd/include/langs/ja.xml (__uri/phd)
  phd/include/langs/pl.xml (__uri/phd)
   phd/include/langs/pt_BR.xml (__uri/phd)
  phd/include/langs/ro.xml (__uri/phd)
phd/themes/php/bightml.php (__uri/phd)
phd/themes/php/chunkedhtml.php (__uri/phd)
  phd/themes/php/phpdotnet.php (__uri/phd)
 phd/themes/php/phpweb.php (__uri/phd)
phd/config.php (__uri/phd)
   phd/LICENSE (__uri/phd)
 phd/mktoc.php (__uri/phd)
 phd/TODO.RENDERER (__uri/phd)

 I suspect there is a --force option for pear, but not sure how to invoke it
 (nor if it is appropriate in this context).

Looks like you've got a couple pear installations working on one
directory! -f is the force option.
You can do:
sudo /usr/local/php5/bin/pear install -f doc.php.net/phd-beta
or
sudo /usr/local/php5/bin/pear upgrade -f doc.php.net/phd-beta


-- 
Brett Bieber

http://saltybeagle.com/


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread Brett Bieber
On Thu, Jul 24, 2008 at 4:46 PM, G. T. Stresen-Reuter
[EMAIL PROTECTED] wrote:
 Getting there... see below... Are you sure you want to go down this path
 with me? Your help is greatly appreciated, but if I poke around enough I'll
 eventually get it installed...

 On Jul 24, 2008, at 10:40 PM, Hannes Magnusson wrote:

 On Thu, Jul 24, 2008 at 23:37, G. T. Stresen-Reuter
 [EMAIL PROTECTED] wrote:

 On Jul 24, 2008, at 10:20 PM, Hannes Magnusson wrote:

 I'm pretty sure I'm running either 0.2.6 or 0.2.7... Any way I can find
 out
 for sure?

 phd -V gives you the installed version.

 /usr/local/php5/bin/phd -V
 [23:35:40] PhD version: 0.2.3
 [23:35:40] Copyright (c) 2008 The PHP Documentation Group

 Try pear uninstall'ing it and then install:
 [EMAIL PROTECTED]:~$ sudo pear uninstall doc.php.net/phd-beta
 uninstall ok: channel://doc.php.net/PhD-0.3.0
 [EMAIL PROTECTED]:~$ sudo pear install doc.php.net/phd-beta
 downloading PhD-0.3.0.tgz ...
 Starting to download PhD-0.3.0.tgz (39,686 bytes)
 ..done: 39,686 bytes
 install ok: channel://doc.php.net/PhD-0.3.0


 That seemed to work, but... here's the terminal output:

 tedsr$ sudo /usr/local/php5/bin/pear uninstall doc.php.net/phd-beta
 Password:
 uninstall ok: channel://doc.php.net/PhD-0.2.3
 tedsr$ sudo /usr/local/php5/bin/pear install doc.php.net/phd-beta
 downloading PhD-0.3.0.tgz ...
 Starting to download PhD-0.3.0.tgz (39,686 bytes)
 ..done: 39,686 bytes
 ERROR: doc.php.net/PhD: conflicting files found:
 phd/formats/xhtml.php (__uri/phd)
   phd/include/PhDFormat.class.php (__uri/phd)
phd/include/PhDTheme.class.php (__uri/phd)
   phd/include/PhDHelper.class.php (__uri/phd)
   phd/include/PhDReader.class.php (__uri/phd)
 phd/include/PhDPartialReader.class.php (__uri/phd)
  phd/include/langs/bg.xml (__uri/phd)
  phd/include/langs/cs.xml (__uri/phd)
  phd/include/langs/de.xml (__uri/phd)
  phd/include/langs/en.xml (__uri/phd)
  phd/include/langs/it.xml (__uri/phd)
  phd/include/langs/ja.xml (__uri/phd)
  phd/include/langs/pl.xml (__uri/phd)
   phd/include/langs/pt_BR.xml (__uri/phd)
  phd/include/langs/ro.xml (__uri/phd)
phd/themes/php/bightml.php (__uri/phd)
phd/themes/php/chunkedhtml.php (__uri/phd)
  phd/themes/php/phpdotnet.php (__uri/phd)
 phd/themes/php/phpweb.php (__uri/phd)
phd/config.php (__uri/phd)
   phd/LICENSE (__uri/phd)
 phd/mktoc.php (__uri/phd)
 phd/TODO.RENDERER (__uri/phd)

 I suspect there is a --force option for pear, but not sure how to invoke it
 (nor if it is appropriate in this context).

Ah, sorry, re-reading this --- you still have the package installed
from __uri which will conflict with the files from the doc.php.net
channel --- that's what the issue is here.

pear uninstall __uri/phd
pear install doc.php.net/phd-beta

and if it doesn't work, bang it in there with -f !

:-)   Hope that helps.


-- 
Brett Bieber

http://saltybeagle.com/


Re: [PHP-DOC] [ANNOUNCE] PhD 0.3.0 Released!

2008-07-24 Thread G. T. Stresen-Reuter

On Jul 24, 2008, at 10:53 PM, Brett Bieber wrote:


pear uninstall __uri/phd
pear install doc.php.net/phd-beta


BINGO! Thanks for the lessons (and for PhD)!

Ted S-R