Krzesimir Nowak 864831e1ce pkg-auto: Pass paths to handle_pkg_* functions instead of slots
The slots were only used to repeatedly generate the same path to a
directory where the package ebuild diff is saved. So instead, generate
the output paths somewhere in outer scope, put them into a struct and
pass that around. That means that:

- We pass one parameter less (a name of a struct instead of two
  slots).

- We can make it easier to change the output directory later (changing
  it in a function like update_dir or update_dir_non_slot may affect
  locations we didn't want to change, whereas changing the value in
  struct scopes the affected areas). This will come in handy later,
  when we put package update handling into jobs, where each job will
  have its own output directory.

This does not remove the repeated generation of the paths, but it is a
first step.
2025-08-21 14:55:14 +02:00
..
2025-08-21 14:50:25 +02:00
2025-08-21 14:54:04 +02:00