xbps-repo: new 'remove-obsoletes' target to remove obsolete pkgs in a local repo.

This commit is contained in:
Juan RP
2012-07-22 10:48:29 +02:00
parent f0c96aac65
commit 5a120e346e
8 changed files with 216 additions and 100 deletions

View File

@ -1,4 +1,4 @@
.Dd July 17, 2012
.Dd July 22, 2012
.Os Void GNU/Linux
.Dt xbps-repo 8
.Sh NAME
@ -91,6 +91,11 @@ or
.Em description
values in repository pool. Please note that patterns are matched in case
insensitive mode. Multiple patterns can be specified as arguments.
.It Sy remove-obsoletes Ar /path/to/local/repository
Removes obsolete packages from
.Ar repository .
Packages that are not currently registered in repository's index will
be removed.
.It Sy show Ar pkgname | pkgpattern
Shows information for binary package
.Ar pkgname