On Sun, 15 May 2022, Mike Pagano wrote:
+# @FUNCTION: check_zlibinflate
+# @DESCRIPTION:
+# helper function to make sure a ZLIB_INFLATE configuration
+# has the requried symbols
+# See https://bugs.gentoo.org/27882
check_zlibinflate() {
if ! use kernel_linux; then
die "${FUNCNAME}() called on non-Linux system, please fix the ebuild"
On Sun, 15 May 2022, Ulrich Mueller wrote:
+# @FUNCTION: check_zlibinflateOn Sun, 15 May 2022, Mike Pagano wrote:
+# @DESCRIPTION:
+# helper function to make sure a ZLIB_INFLATE configuration
+# has the requried symbols
s/requried/required/
Also, eclass-to-manpage will format won't respect the line breaks but
format @DESCRIPTION as a paragraph,
so there should be a full stop at the end of the sentence.
+# See https://bugs.gentoo.org/27882
check_zlibinflate() {
if ! use kernel_linux; then
die "${FUNCNAME}() called on non-Linux system, please fix the ebuild"
+# @FUNCTION: qout
+# @DESCRIPTION:
+# qout <einfo | ewarn | eerror> is a quiet call when EBUILD_PHASE
# should not have visible output.
On Mon, 16 May 2022, Thomas Bracht Laumann Jespersen wrote:
+# @FUNCTION: qout
+# @DESCRIPTION:
+# qout <einfo | ewarn | eerror> is a quiet call when EBUILD_PHASE
# should not have visible output.
The devmanual says that @USAGE is also required for eclass functions
[0]. This is applicable in a few cases, I'm just highlighting one
here.
OTOH lots of eclass functions have left out @USAGE, and the tooling
around html/man page generation also appears to treat it as optional.
So it could be that the devmanual is wrong here.
[0]: https://devmanual.gentoo.org/eclass-writing/index.html#eclass-functions
On 14 May 2022, at 23:59, Mike Pagano <mpagano@gentoo.org> wrote:
Document functions which did not have any
documentation or was not formatted to gentoo
specifications
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
---
eclass/linux-info.eclass | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)
[snip]
Just wanted to say thanks for putting the work in on eclassdocs and the other bits
you've been doing with the eclasses recently.
Cheers!
On 14 May 2022, at 23:59, Mike Pagano <mpagano@gentoo.org> wrote:
Document functions which did not have any
documentation or was not formatted to gentoo
specifications
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
---
eclass/linux-info.eclass | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)
[snip]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:36:20 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,615 |
Messages: | 6,121,086 |