a number of functions in lib/bb/utils.py are used throughout the meta*/ recipe and bbclass files. These need docstrings for programmers and so that we have a starting point for actual documentation. Here's a not guaranteed comprehensive list of functions that are missing docstrings: explode_dep_versions explode_versions vercmp* prunedir contains_any
Robert, would you like to work on this?
@brian @Randy I'll be happy to work on this. I can see other functions as well which don't have docstrings. Should I add it to all remaining functions or anyone have a specific function list?
Milan, Thanks. Brian isn't involved in YP currently. I'd say start with a few and see if they get merged and the keep going as you see fit.
Thanks, Randy. I'll take the bug and start working.
I have gone through both Bug 9725 and Bug 9612 and found a list of functions. Functions that already have a docstring. - contains - lockfile - unlockfile - explode_dep_versions2 - join_deps - explode_deps - mkdirheir - copyfile Functions that need a docstring. - prunedir - explode_dep_versions - vercmp* - contains_any
Hi @randy.macleod@windriver.com, Patch is accepted and merged to master branch. Ref: https://git.openembedded.org/bitbake/commit/?id=b61ba4a18693a9e553d2a93161feb0bcc1c82384 I'm marking the bug as resolved now.
Looks good, thanks for the help on this!
Thanks Milan.