Skip to content

Draft: tor: Augeas lens for Deb822 apt sources

James Valleroy requested to merge jvalleroy/freedombox:apt-deb822 into master
  • tor: Remove workaround for old Augeas bug
    • The upstream issue was fixed in 2015: https://github.com/hercules-team/augeas/pull/295
    • Tests:
      • In stable container, add options like [arch=amd64] to apt sources.list.
      • Enable package download through Tor. "tor+" is prepended to sources URL.
      • Disable package download through Tor. "tor+" is removed from sources URL.
  • upgrades: Add augeas lens for Deb822 apt sources
    • Tests:
      • Augeas lens tests passed using augparse.
  • tor: Also use Aptsources822 augeas lens
    • This will handle sources files with Deb822 format.
    • Closes: #214 (closed).
    • TODO Tests (not working yet)

Currently Augeas can read the sources file, but cannot write to it.

Signed-off-by: James Valleroy jvalleroy@mailbox.org

Merge request reports

Loading