#764589 blends-dev: task file parser does not check for valid RFC 822 format

#764589#5
Date:
2014-10-09 11:03:57 UTC
From:
To:
Hi,

as discussed in this thread on debian-blends [1], the current parser
for task files does not verify whether a task file follows the RFC 822
format and does not warn the user about mistakes. Currently the following
syntax is perfectly valid and "make dist" will produce also valid debian/control
files with it:

Task: finest
Description: my description

Depends: asc
Depends: abe
Depends: megaglest

However to be RFC 822 compliant there must be an empty line between
those Depends paragraphs. It is quite unexpected that there are no
warnings or error messages and that the task pages [2] won't be build
correctly with the above syntax.

Regards,

Markus


[1] https://lists.debian.org/debian-blends/2014/10/msg00002.html
[2] http://blends.debian.org/games/tasks/finest

#764589#10
Date:
2014-10-09 12:03:59 UTC
From:
To:
Hi Markus,

OK, last year there was a GSoC project to rewrite the Blends tool anyway.[1]
I just did not implemented it before the Jessie freeze.  When bringing this
into effect the bug will be closed.

:-)
Thanks.  Sounds reasonable.

Patches for #764591 are really welcome.

Thanks for your helpful feedback

      Andreas.

[1] http://anonscm.debian.org/gitweb/?p=blends/blends.git