Age | Commit message (Collapse) | Author | Files | Lines |
|
Debian Policy allows, in debian/control, lines that start with the
'#'-character. Those lines are treated as comments by Policy, and ignored.
This patch adds parser support for these comments in dctrl-tools.
Unfortunately, it is not possible (without major changes) to ignore
those comments semantically, since dctrl-tools represents paragraphs
and fields as substrings of the input file.
Accordingly, what this patch does is allow the parser to not choke on
comments. Comments found inside a paragraph are left semantically
significant (ie. part of the field body in which they are found),
while comments otside of paragraphs are elided.
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
|
|
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
|
|
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
|
|
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
|
|
Reported by Dan Jacobson <jidanni@jidanni.org>
Signed-off-by: Jon Bernard <jbernard@debian.org>
|
|
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
|
|
With this new option, join-dctrl solves the following longstanding wishlist item.
Closes: #136097 (grep-dctrl: Merging status and available would be helpful)
Requested by Ben Armstrong <synrg@sanctuary.nslug.ns.ca>.
|
|
|
|
|
|
where sizeof(int) != sizeof(size_t)
|
|
|
|
Closes: #144174 (please provide a --filter-fields option of some sort)
Reported by Yann Dirson <dirson@debian.org>
Merged with #264905 (show all fields except FIELD,FIELD,...)
Reported by Dan Jacobson <jidanni@jidanni.org>
|
|
|
|
|
|
|
|
- Makefile: new target 'test'
- tester.sh: new file
- tests: new directory
- tests/0001.*: new files - a simple basic test case
- debian/rules: run the test suite (ignoring any failures) at build time
|