core: add support for package help (branch yem/help)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest posting 2/20 of 8 patches 0 repliesNew
- v3 posting 1/28 patches 0 repliesSuperseded
Patches in v3 posting 2/2 No applies recorded yet
None of the 8 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Buildroot] [PATCH 0/8 v3] core: add support for package help (branch yem/help)
Thomas, All,
On 2016-06-07 22:18 +0200, Thomas Petazzoni spake thusly:
Quoted 15 lines · Yann E. MORIN
Quoted 9 lines
Yann E. MORIN (8):
core/pkg-generic: add support for package-defined help
core: name the package before its help text core/pkg-utils: add a macro to pretty-print a help entry package/busybox: use the generic help rules
linux: use the generic help rules package/uclibc: use the generic help rules boot/barebox: use the generic help rules
core: use the print-help macro to print the main helpThis last commit made me realize that the helper is a bad idea:
1/ It makes the code longer in number of lines.
Quoted 8 lines
2/ It makes it harder to read.
So, as discussed on IRC, I've reworked your patches to drop the helper that pretty-print the help text, and simply used the @echo calls in the various packages.
So essentially, I've dropped patches 3/8 and 8/8, and I've reworked patches 4, 5, 6 and 7 to not use the helper.
Thanks! :-)
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'