||*()*|| Hi, Derick.

>>
>> Sorry, I forgot - is only Derick has access to upload this CHM?

DR> Sorta... I know the chm building stuff has been down for some time. I'll
DR> need to set it up again but it'll have to wait a bit as it's not on the
DR> top of my todo list. However, I guess I can upload this polish CHM.

Will be great, but this doesn't remove the source of the problem,
which in turn can be a part of another problem. Just let me expand
this a bit. I'm speaking only about ordinary .chm's process.

As far as I can understand the problem on the surface is in windows
machine where hhc.exe needs to be executed. As the windows machine
is not available for PHP folks at http://master.php.net/inventory.php
we have to use somebody's private host to compile .chm's

To make CHM available on http://www.php.net/download-docs.php we need

1. Compile orinary multipage HTML manual (can be done on unix box also)
2. Filter HTML pages (also can be done on either windows or unix box)
3. Build HTML Help project files (this also possible on unix box)
4. Launch HHC.EXE to get .CHM (the only operation requires windows)
5. Upload .CHM to php.net

So everything can be done on unix box and in fact steps 1 and 5 are
already running every two weeks (according to the dates of downloadable
html manual archives). It is possible to setup a job on a windows
machine, which will pull the output of step 1 from unix box, make
necessary transformations in step 2,3,4 and upload result back
to unix box together with build logs. Box will run necessary tests
(try to open .chm with unix chm tools and 0 return status if ok).
After this .chm can be uploaded onsite. To make the process completely
transparent we can make analog of http://snaps.php.net/ with archive
build dates and build logs to be available for general public.

For a "quick fix" I can kanban my windows machine into the process.
I need ftp to pull archives - this means they will be deleted as they
are also flags to start the process - and after procesing they will
be pushed to ftp in different folder. However, I have limited
resources and I'd like to get as much as possible from official PHP
unix build box. Ideally this means that the only thing that I have to
do is point 4 - run HHC.EXE This way even PHP installation is not
necessary.

If everything will be fine the build process can be moved to
snaps.php.net machine. At least I hope so. Launching HHC.EXE for
an hour or two every two weeks does not place too much burden on
usual server performance and is unlikely to cause any problems.


Other "features" creeping in my head are - automatic one hour build
postpone if last one failed, tight restrictions for user building
manual to prevent script attacks through CVS just before the build
starts (checkout for everything except manual can be made manually or
triggered by the same people, who is able to upload files). To make
the process more visible and "maintainable" for folks other than
those who were lucky to read this letter I can render some BPEL
diagrams later. And it is also possible to use SVN instead of FTP.
Considering unmanagable featurecreep to time ratio of my own I can
only hope that somebody will take care of these RFC. Perhaps as a
subtask of Summer of Code. I could add much more detailed tasks at
this page http://www.php.net/ideas.php I've just noticed.

t
-- 

Reply via email to