aboutsummaryrefslogblamecommitdiffstats
path: root/.be/bugs/2f048ac5-5564-4b34-b7f9-605357267ed2/comments/8c1c4f38-a8d4-4cf9-a9f0-e9846ebbcad8/body
blob: 2301eba002bdf8dd38853695d01f851dba536e77 (plain) (tree)














































                                                                              
On Saturday 04 July 2009 02:19:35 Ben Finney wrote:
> Gianluca Montecchi <gian@grys.it> writes:

>
> > I am open to suggestion about it of course.
>
> Instead of a separate command for each output format, could we have a
> single “produce a static report of the bug database” command, and
> specify output format as an option?
>
> How about:
>
>     be report
>     be report --format ascii
>     be report --format rst
>     be report --format html
>
> Where the ‘--format’ option has a default of, e.g., “ascii”.
>
> This would mean that you are implementing the ‘html’ format of this
> putative command.
>

This sound like an interesting idea, but what i'd like to do is not, strictly 
speaking, a report. It is a full tree of html pages that are browseable, both 
on line and offline

> > 2) I see that every command is implemented with a python file in the
> > becommand dir. For a better code, I'd like to split the command
> > implementation into two files: a file that contain the actual code and
> > a second file that have the html related part, any problem with this ?
>
> This sounds quite sensible to me. The existence of a command implies a
> module of the same name in ‘becommand’, but there's no necessary
> implication that that module can't import modules from elsewhere to do
> its work.

The "elsewhere"  for now is the same directory, just another module

bye
Gianluca


_______________________________________________
Be-devel mailing list
Be-devel@bugseverywhere.org
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel