[Libre-soc-bugs] [Bug 1125] split entire instruction into separate files so they can be [[!inline]]-ed into the wiki

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Sep 30 14:51:08 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1125

--- Comment #25 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---

jacob i am now attempting to add "Description" parsing and i find
this gets in the way and the correct task has not been completed,
which is extremely irritating.

sorry to have to remind you of the Charter (3.7)
https://libre-soc.org/charter/discussion/
by not listening to me, this is your mess, therefore you own it,
and it is therefore also your responsibility to sort out.

the entire task was *literally* to move the entirety of every
single instruction into 2nd-level subdirectories, whereby the
job of collating them all could be done by enumerating the
*directories* (with dir()) instead of files ending ".mdwn",
then a 2nd use of dir(subdir) seamlessly collates all
individual instructions.

even parsing the words "inline" is completely unnecessary as
that job is handled by ikiwiki (and by the pandoc plugin).

can you please get rid of *all* of this, it's just crap.

            if inline_line is not None:
                assert not other, \
                    "can't use [[!inline]] directive with other content"

                re_match = re.fullmatch(
                    r'\[\[!inline pagenames="openpower/isa/([^" ]*[^"/ ])" '
                    r'raw="yes"]]', inline_line)
                assert re_match, (
                    'invalid [[!inline]] directive, must be of the form:\n'
                    '[[!inline pagenames="openpower/isa/foo/bar" '
                    'raw="yes"]]')

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list