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.
 
 

546 B

1. Implement sync DB registration

  • 1.1 Modify Pac struct to include a method for registering sync DBs
  • 1.2 In New(), after getting empty syncDBs from handle, loop through ["core", "extra", "multilib"] and call RegisterSyncDB for each
  • 1.3 Filter out repos that have no packages (not configured in pacman.conf)

2. Test the fix

  • 2.1 Run ./declpac --dry-run --state <(echo "cmake") and verify it resolves cmake from extra repo
  • 2.2 Test with other official repo packages (e.g., "git" from extra, "base" from core)