Skip to content

v0.6.0 — parsing fix + validate hardening

Latest

Choose a tag to compare

@meloncafe meloncafe released this 14 Jun 00:21
· 4 commits to main since this release

[0.6.0] - 2026-06-13

Review-driven fixes and hardening. No breaking changes for well-formed
registries.

Fixed

  • get_field corrupted values containing #. Inline-comment stripping
    removed everything from the first #, so post_up = echo "#done" became
    echo " and a URL like http://x/y#frag lost its fragment. Comment
    stripping is now quote-aware: a # starts a comment only when it is outside
    quotes and preceded by whitespace. A # inside quotes, attached to a
    word, or at the start of a value is preserved. Quote a value if you need a
    literal " #".
  • TAIL is validated up front. A non-numeric TAIL (e.g. TAIL=abc) now
    fails with a clear message instead of producing a cryptic docker error later.

Added

  • validate flags duplicate [section] names instead of silently using
    the first and ignoring the rest.
  • validate warns on an over-permissive registry. Because the registry can
    hold hook command strings, a file readable by group/other is flagged with a
    chmod 600 suggestion.
  • CI now lints completion.bash alongside dctl.