Skip to content

v0.0.9

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jan 20:46
a4fcf5f

Added

  • Add an inspection for duplicating the field value of the Source paragraph
    in a Package paragraph of debian/control.
  • Add component-prefixed versions of sections to the list of known keywords
    for the Section field.
  • Add inspection for the value of the Section starting with main/ as
    the main component is the default and is customarily omitted.
  • Add code completion of file names in DEP-5 copyright files.
  • Add XB-Important and Protected as known fields in debian/control.
  • Add inspection for using XB-Important without Protected. The latter
    is also supported by dpkg and therefore provides better coverage provided
    dpkg and APT is new enough.

Changed

  • Optimized the number of single character whitespace tokens emitted by the
    lexer for debian/changelog in common cases. This should reduce the
    memory usage slightly for this file type.
  • The date parser for debian/changelog is now much more forgiving about
    the signoff dates. It will now accept dates that are incorrectly
    formatted. Invalid dates are instead detected by an inspection along
    with a quick fix (if the plugin recognises the date format).
  • Multiple lines of comments in deb822 files can now be folded and are
    folded by default.
  • Field lookups for known fields in debian/control now accounts for the
    X- prefix (plus variants such as XB- and XC-).
  • Renamed and reordered inspection settings so the are now under Debian.
    Previously, they were under DebianControl.

Fixed

  • Whitespace only lines in debian/changelog could trip parser errors.
    Note that tab characters are still considered syntax errors.
  • Fixed an assertion error if debian/changelog contained * dir/:.
  • The "linkification" of closed bugs in debian/changelog no longer
    "misses" Closes clauses if there are multiple of them in the same entry.
    This was mostly seen with entries containing a sublist with per-item Closes.
  • The "linkification" of closed bugs in debian/changelog no longer
    includes leading whitespace in the link. Previously, this could happen
    if the Closes spanned multiple lines.
  • The debian/control annotator was neutered due to a regression that is now
    fixed.