User:Ronan: Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
Line 19: Line 19:


This section is my wiki for idea i'd like to work to improve my openembedded  
This section is my wiki for idea i'd like to work to improve my openembedded  
Help is welcome. Perhaps somethings in the list already exists , let me know.
Some are perhaps really bad ideas ( not enough searsh ), or already exists , let me know.


== buzilla integration ==
== bugzilla integration ==


  if ( OE_WARN_BUG == 1 )
  if ( OE_WARN_BUG == 1 )
Line 30: Line 30:
cf http://code.google.com/p/pybugz/source/browse/trunk/README?r=28
cf http://code.google.com/p/pybugz/source/browse/trunk/README?r=28


== lsof integration ==
== reduce image size method ==


Reduce image size using remote lsof session on target to check useless files , packages ( blame useless dependancy ) ... comparing with $ROOTFS and eventually try them by size.
Reduce image size using remote lsof session on target to check useless files , packages ( blame useless dependency ) ... diff with $ROOTFS and eventually try them by size.


  #REMOTE_METHODE = "ssh 192.168.0.1"
  #REMOTE_METHODE = "ssh 192.168.0.1"
  REMOTE_METHODE = "tty /dev/USBtty1"
  REMOTE_METHODE = "tty /dev/USBtty1"
  bitbake -lsof-session mycustom-image.bb
  bitbake -lsof-session mycustom-image.bb
http://www.ibm.com/developerworks/linux/library/l-inotify.html


i should also try some code inspector ( to check code duplication etc to advise programmer where place could be saved ).
i should also try some code inspector ( to check code duplication etc to advise programmer where place could be saved ).
Line 44: Line 46:


print beautiful documentation on the distro/packages/whatever.
print beautiful documentation on the distro/packages/whatever.
keywords : baobab ...
* template design
* baobab ...
 
[http://www.reportlab.org/rl_toolkit.html reportlab]


== netboot images ==
== netboot images ==
Line 50: Line 55:
mkelf-linux kernel-image [ramdiskimage]
mkelf-linux kernel-image [ramdiskimage]
keywords : initramdisk  
keywords : initramdisk  
== some QA ideas ==
[http://fusil.hachoir.org fusil] ( fuzzing report ) , bug : WIP
bbclass documentation ( how - as a policy )
=> provide documentations about how to make better code in bitbake
=> pydoc , doctest , unittest , pyunit , pylint...
byte compiling bbclass ?
http://lists.idyll.org/listinfo/testing-in-python
categories for /classes : qa,pkg,build,doc,...
test quality of a recipe :
SRC_URI tarball contains no P/PV/PN => dangerous
example "${NONFREE_MIRRORS}/oki/OKI_fse.tar.gz"
cf : http://handhelds.org/~zecke/bitbake-qa-0.1.tar.bz2
== common & easy script encapsulation ==
== OpenEmbedded showcase ==
some demonstration of OE ( video , screenshots ... ).
== target web interface ==
* port Webif to OE
my bug report on this : WIP
* libopkg client support ( via http://packagekit.org/ ? )
* start a new one from scratch ? ( pylons based for example ).
== delivry/release class ==
Produice a report on a delivry.
Tool that give good report are often appricated ( there is something to show ).
Managers/custumers/developers can keep useful and pretty trace of the project.
* log/tag revision of each versioned tree ( that are not in distro/src-revs ) ( mtn status / svn info / -> rev-history , delivry-info )
* show software update
* show infos on bugs ( closed/news etc ) as a changelog
* show stats about image and packets ( boabab etc )
* show copyrights , licences ...
== emulator/qemu tasks ==
some tasks that could be used for tests and debug.
* image is bootable ? ( ca be call in testsuite of task that build the img )
* test first boot
* upgrade not failed ?  ( print the guilty )
* broken linkage ? ( can be call in testsuite of sanity.bbclass )
provides some methods
* build image
* launch with adapted parameter according to a qemu-machine conf
* NFS etc
see poky anjuta plugin and poky qemu scripts.


== coreboot integration ==
== coreboot integration ==
Line 60: Line 123:
using script ( crazy ) or common variables ( completely crazy ).
using script ( crazy ) or common variables ( completely crazy ).


= Centers of interest related to openembedded =
= Centers of interest related to openembedded =



Revision as of 08:33, 13 August 2008

I'm more a Software architect. Sometimes it's hard to explain what you should do in the enterprise. I work on improve this state of thing.

OpenEmbedded Experience

2006 - 2007 : Paper-book project

Prototype for paper-book

2007 - 2008 : Nao

Soon some information about it.

Wishlist

This section is my wiki for idea i'd like to work to improve my openembedded Some are perhaps really bad ideas ( not enough searsh ), or already exists , let me know.

bugzilla integration

if ( OE_WARN_BUG == 1 )
 checkbug(${PN})
bitbake -bugz mozilla 

cf http://code.google.com/p/pybugz/source/browse/trunk/README?r=28

reduce image size method

Reduce image size using remote lsof session on target to check useless files , packages ( blame useless dependency ) ... diff with $ROOTFS and eventually try them by size.

#REMOTE_METHODE = "ssh 192.168.0.1"
REMOTE_METHODE = "tty /dev/USBtty1"
bitbake -lsof-session mycustom-image.bb

http://www.ibm.com/developerworks/linux/library/l-inotify.html

i should also try some code inspector ( to check code duplication etc to advise programmer where place could be saved ). Some Steiner stuff on fusil could be useful.

report tool

print beautiful documentation on the distro/packages/whatever.

  • template design
  • baobab ...

reportlab

netboot images

mkelf-linux kernel-image [ramdiskimage] keywords : initramdisk

some QA ideas

fusil ( fuzzing report ) , bug : WIP

bbclass documentation ( how - as a policy ) => provide documentations about how to make better code in bitbake => pydoc , doctest , unittest , pyunit , pylint... byte compiling bbclass ? http://lists.idyll.org/listinfo/testing-in-python categories for /classes : qa,pkg,build,doc,...

test quality of a recipe : SRC_URI tarball contains no P/PV/PN => dangerous example "${NONFREE_MIRRORS}/oki/OKI_fse.tar.gz"

cf : http://handhelds.org/~zecke/bitbake-qa-0.1.tar.bz2

common & easy script encapsulation

OpenEmbedded showcase

some demonstration of OE ( video , screenshots ... ).

target web interface

  • port Webif to OE

my bug report on this : WIP

  • libopkg client support ( via http://packagekit.org/ ? )
  • start a new one from scratch ? ( pylons based for example ).

delivry/release class

Produice a report on a delivry. Tool that give good report are often appricated ( there is something to show ). Managers/custumers/developers can keep useful and pretty trace of the project.

  • log/tag revision of each versioned tree ( that are not in distro/src-revs ) ( mtn status / svn info / -> rev-history , delivry-info )
  • show software update
  • show infos on bugs ( closed/news etc ) as a changelog
  • show stats about image and packets ( boabab etc )
  • show copyrights , licences ...

emulator/qemu tasks

some tasks that could be used for tests and debug.

  • image is bootable ? ( ca be call in testsuite of task that build the img )
  • test first boot
  • upgrade not failed ? ( print the guilty )
  • broken linkage ? ( can be call in testsuite of sanity.bbclass )

provides some methods

  • build image
  • launch with adapted parameter according to a qemu-machine conf
  • NFS etc

see poky anjuta plugin and poky qemu scripts.

coreboot integration

  • some recipes for utils
  • use openembedded instead of buildrom ( yes another build system :/ )

Gentoo ebuild compatibility

using script ( crazy ) or common variables ( completely crazy ).

Centers of interest related to openembedded

http://zecke.blogspot.com/2006/10/softwareengineering-and-qa-for-free.html http://projects.linuxtogo.org/pipermail/openembedded-devel/2006-September/000323.html