[meta-freescale] [Documentation][PATCH] scripts: add bugs tables generation script

Lucas Nunes ldnunes at ossystems.com.br
Wed Nov 5 05:36:55 PST 2014


2014-11-05 11:13 GMT-02:00 Mario Domenech Goulart <mario at ossystems.com.br>:

> Should this script be called from bitbake-metadata2doc.sh?  If it is not
> supposed to be called from there, maybe we should have a note in the
> release-notes/README file about it.  Please, see a couple of comments
> below.
>

2014-11-05 11:17 GMT-02:00 Daiane Angolini <daiane.list at gmail.com>:

> Mario, Lucas, I really prefer to have this included in
> bitbake-metadata2doc.sh.
>
> It would keep bug tables updated along with package versions and the git
> stats.
>

Agreed. I'll send a new patch including this change in it.

2014-11-05 11:13 GMT-02:00 Mario Domenech Goulart <mario at ossystems.com.br>:

> Not sure how relevant this sounds, but maybe we should consider making a
> library file in the scripts directory to avoid code duplication
> (doc_utils.py?).  `tabularize' is also defined in
> bitbake-metadata2doc.py.
>

Yes, the 'tabularize' method is nearly the same defined in
bitbake-metadata2doc.py,
however the original keeps trailing spaces on the tables rows. The
difference is that
I included a call to rstrip() on each row generated, so the diffs won't
include it.

I'll send another patch with this change.

2014-11-05 11:13 GMT-02:00 Mario Domenech Goulart <mario at ossystems.com.br>:

> > +def build_table(data):
> > +    return tabularize(data)
>
> Is this necessary?
>

Oops. That's simply dumb. I'll remove it. :)

-- 
Lucas Dutra Nunes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20141105/5b133ef4/attachment.html>


More information about the meta-freescale mailing list