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.
 
 

755 B

ADDED Requirements

Requirement: MarkExplicit accepts multiple packages

The MarkExplicit method SHALL accept a slice of package names and mark all of them as explicitly installed using a single pacman -D call.

Scenario: Single package marked explicit

  • WHEN MarkExplicit is called with one package name
  • THEN pacman -D --explicit is called once with that package

Scenario: Multiple packages marked explicit

  • WHEN MarkExplicit is called with multiple package names (e.g., ["pkg1", "pkg2"])
  • THEN pacman -D --explicit is called once with all packages as arguments

Scenario: Empty package slice

  • WHEN MarkExplicit is called with an empty slice
  • THEN no pacman call is made, method returns nil immediately