new bug and idea for PEAR_PackageFileManager
| From: | Laurent Laville | Date: | Wed, 23 Jul 2003 20:13:47 +0000 |
| Subject: | new bug and idea for PEAR_PackageFileManager | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-18594@lists.php.net to get a copy of this message | ||
Hello Greg,
As i've already told you, i wanted to finish my own packages docs before
have a new look on PEAR_PackageFileManager.
Well, it was some counting delay with found of a new bug. Now i'll explain :
I've a package to prepare and my sources are as follow
\HTML_Progress
index.html <--- i should have renamed it to index.htm (explain
below)
\apidoc where are my package API documentation generated by
phpDocumentor 1.2.1 (marvellous tools)
and as you already know it there is a file named
index.html in this dir
\docs my quick tutorial to use my package; it's also an
index.html file
\examples usage example of my package
Then, with keeping the index.html file on root of \HTML_Progress and
using this
script of generation (see source file =>
http://farell.free.fr/en/pear/temp/show.php?HTML_Progress.php
)
I have ALL INDEX.HTML files ignored;
- the one in \HTML_Progress of course ( wanted )
- the one in \apidoc
- the one in \docs
I regret to have loose this 2 previous, so i decided to rename the first at
root of \HTML_Progress into index.htm
and all works fine.
CAUSE: ignore option run recursively and in my case it's not what i
want; i want to ignore only the first file on root
After that i got a perfect package.xml : see source
http://farell.free.fr/en/pear/temp/show.php?package.xml
If i've missed something in " ignore " option , please tell me !
NOW, for the idea :
Why not include in PEAR_PackageFileManager the tarball generation part as i
did it in
http://farell.free.fr/en/pear/temp/show.php?HTML_Progress.php
(end of
script)
That's all for now
Thanks again a lot for this very useful tools
Laurent