Sync a declarative package list with the pacman package manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

941 B

ADDED Requirements

Requirement: Can merge multiple input sources

The system SHALL combine package lists from all inputs using an additive strategy without conflict resolution.

Scenario: Additive merging of all inputs

  • WHEN stdin and multiple state files provide package lists
  • THEN system shall include all packages from all inputs in the final state

Scenario: Input priority is last-writer-wins per file

  • WHEN multiple state files contain the same package name
  • THEN the package from the last provided file in command-line order takes precedence

Scenario: Missing packages from stdin are added

  • WHEN stdin contains packages not in state files
  • THEN those packages shall be added to the final state

Scenario: Duplicate packages are deduplicated

  • WHEN the same package appears in multiple inputs
  • THEN it shall be included once in the final state (map deduplication)