From 18be14a82f3030d33c88cdf58ec5be614f9344fa Mon Sep 17 00:00:00 2001 From: Benedikt Trefzer Date: Sun, 10 Aug 2025 11:40:56 +0200 Subject: [PATCH 1/2] fix platform codename for debian-13-amd64 --- lib/vanagon/platform/defaults/debian-13-amd64.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vanagon/platform/defaults/debian-13-amd64.rb b/lib/vanagon/platform/defaults/debian-13-amd64.rb index 54914987..4b0e5283 100644 --- a/lib/vanagon/platform/defaults/debian-13-amd64.rb +++ b/lib/vanagon/platform/defaults/debian-13-amd64.rb @@ -2,7 +2,7 @@ plat.servicedir "/lib/systemd/system" plat.defaultdir "/etc/default" plat.servicetype "systemd" - plat.codename "bookworm" + plat.codename "trixie" packages = %w( build-essential From c507e3df0f5be46fc2697d8712d5ee33fc2ad727 Mon Sep 17 00:00:00 2001 From: Benedikt Trefzer Date: Sun, 10 Aug 2025 12:16:48 +0200 Subject: [PATCH 2/2] add empty lines to make tests happy. --- lib/vanagon/component.rb | 1 + lib/vanagon/driver.rb | 1 + lib/vanagon/environment.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/vanagon/component.rb b/lib/vanagon/component.rb index b97fef46..e918f2c4 100644 --- a/lib/vanagon/component.rb +++ b/lib/vanagon/component.rb @@ -8,6 +8,7 @@ class Vanagon class Component include Vanagon::Utilities + # @!attribute [r] files # @return [Set] the list of files marked for installation diff --git a/lib/vanagon/driver.rb b/lib/vanagon/driver.rb index ce559bb5..2d7401ee 100644 --- a/lib/vanagon/driver.rb +++ b/lib/vanagon/driver.rb @@ -11,6 +11,7 @@ class Vanagon class Driver include Vanagon::Utilities + attr_accessor :platform, :project, :target, :workdir, :remote_workdir, :verbose, :preserve, :keepwork def timeout diff --git a/lib/vanagon/environment.rb b/lib/vanagon/environment.rb index 3534f750..f0035ef0 100644 --- a/lib/vanagon/environment.rb +++ b/lib/vanagon/environment.rb @@ -12,6 +12,7 @@ class Vanagon # correspond to assumptions you could safely make about Ruby. class Environment extend Forwardable + # @!method [] # @see Hash#[] # @!method keys