Short wrapper notes for this plugin.
install()usesxbps-install -SyinstallLocal()stages into temporary local repo using symlink first andcpfallback, then installs from--repository=<repo>remove()usesxbps-remove -Ryupdate()usesxbps-install -Suy <pkg...>and falls back to full-system upgrade when package list is emptylist()parsesxbps-query -lsearch()parsesxbps-query -Rsinfo()prefers installed metadata, then remote metadataoutdated()parsesxbps-install -Mun- all cache-sensitive commands pass shared
-c <cache-dir>
cache-root=/abs/path: override shared cache rootrepository=<url-or-path>: append repository for remote query/install/updaterootdir=/abs/path: pass-rconfig=/abs/path: pass-Cignore-conf-repos: pass-iwhere XBPS supports itmemory-sync: pass-Mfor remote query/install metadata sync pathsstaging: pass--stagingdownload-only: pass-Don install/updateforce: pass-fon install/update/local installignore-file-conflicts: pass-Ion install/update/local installunpack-only: pass-Uon install/update/local installrecursive: pass-Ron remove only when requestedforce-remove: pass-fon removeforce-revdeps: pass-Fon removecomparator=<op>: build install expression with explicit comparatoreq,lt,lte,gt,gte: shorthand comparator flags
Flag policy:
- install/update/query paths share one parser
- unsupported flags are ignored rather than guessed into other commands
remove()stays conservative unless explicit dangerous flags are passed- install expression policy:
- constraint already embedded in
namewins unchanged version=latestomits comparator and installs by name- explicit
comparator=or shorthand flag wins - otherwise
versiondefaults to>=
- constraint already embedded in
Plugin maps conservative XBPS fields only:
namepackageIdversionlatestVersioninstalledstatussummarydescriptionhomepagelicenserepositoryarchitecturedependenciescategories
Extra fields when available:
extraFields.stateextraFields.automaticInstallextraFields.holdextraFields.repolock
- read-only checks in
SMOKE.md - wrapper-only smoke scripts in
.reqpack-test/extra/
rqp test-plugin --plugin ./run.lua --preset core