[dev] Components (Re: [commits] Horde branch master updated. 5e98a19ff7e635c7c32b849f9663b205d09f2efa)

Gunnar Wrobel wrobel at horde.org
Wed Jan 12 13:17:15 UTC 2011


Hi!

With the following commit...

Zitat von Gunnar Wrobel <p at rdus.de>:


>
> commit 5e98a19ff7e635c7c32b849f9663b205d09f2efa
> Author: Gunnar Wrobel <p at rdus.de>
> Date:   Wed Jan 12 12:05:45 2011 +0100
>
>     Rough component documentation is possible now.
>

.. you can now use the components package to generate HTML  
documentation for a single Horde component. Still pretty rough around  
the edges but you should be able to run it locally like this:

php components/bin/horde-components -t components/data/html -O ../tmp  
framework/Exception

This should generate the HTML pages for the "Exception" package into  
the ../tmp directory.

The resulting pages are currently following the Routes draft at  
http://dev.horde.org/routes/

Of course there is still a lot missing and these were the elements I  
was considering to include in the pages for each component:


    - Name
    - Summary
    - Important bullet points  
(http://components.symfony-project.org/dependency-injection/)
    - Description
    - Changelog
    - Last Release version
    - Released versions + changes
    - Dependencies
    - Release Feed
    - Download link
    - Repo link
    - Developers (www / mail)
    - License
    - Documentation
    - Installation instructions
    - Link to mailing list
    - API doc
    - Examples
    - CI link / stats
    - Horde backlink

If you have any additional wishes/ideas or some remarks please let me know.

In order for these component pages to make sense I think I need actual  
releases. A good first target might be the "Injector" package which  
seems to be rather stable to me.

I did not think much about how to actually do component releases yet.  
I assume we could/should switch pear.horde.org to pirum  
(http://www.pirum-project.org/). This would reduce pear.horde.org to  
something like http://pear.pirum-project.org - The information that  
our current PEAR server displays on each package would then be  
replaced by the component information on http://components.horde.org.  
Pirum (https://github.com/fabpot/Pirum/blob/master/pirum) is rather  
lean and I assume we could tweak it in case necessary.

Once http://pear.horde.org is ready for releases and contains the  
first Horde4 component release I would start on  
http://components.horde.org.

Cheers,

Gunnar



-- 
Core Developer
The Horde Project

e: wrobel at horde.org
t: +49 700 6245 0000
w: http://www.horde.org

pgp: 9703 43BE
tweets: http://twitter.com/pardus_de
blog: http://log.pardus.de




More information about the dev mailing list