wrap-and-sort: Preserve comments in files (proof-of-concept)

Requires python-debian from git master plus a couple of unmerged MRs.

  • Field comments are preserved
  • Comments inside values are preserved
  • Re-ordering of values work
  • Re-ordering of paragraphs (-k + -kb) works.
  • Support -s (will be done in !263 (merged))
  • Support --max-line-length (i.e., without -a, will be done in !263 (merged))
  • Support without -t (will be done in !263 (merged))
Edited by Niels Thykier

Merge request reports

Loading