.editorconfig | Loading last commit info... | |
LICENSE | ||
README.md | ||
apkv |
Alpine Package Keeper, but Virtual
apkv
is a wrapper around apk
that makes dealing with virtual packages easy.
Virtual packages?
Virtual packages in APK are collections of other packages mapped as
dependencies. They can normally be created using
apk -t <virtualpackage> <dependency1> <dependency2>...
. However, there is no
functionality present to modify these virtual packages after creation. If you
want to add or remove a dependency, you must copy the whole dependency list and
modify it, before passing it back to apk add -t
. This is where apkv
comes
in handy: It will automate that part for you, allowing you to update dependency
lists without specifying the other packages.
Usage
apkv
can be invoked with the following subcommands:
apkv add <packages> <virtual>
: Add packages to a new or existing virtual package.apkv del <packages> <virtual>
: Remove packages from an existing virtual package.apkv list [-o | packages]
: List all virtual packages and their contents. Specify-o
to show orphaned packages that are not required by a virtual package, or a list of virtual packages to show their dependencies. Leave empty to list all virtual packages and orphans.apkv help
: Show full help.
For more information and examples, run apkv help
or check the code.
License
This project is licensed under the Apache License, Version 2.0 (the "License"); you may not use it except in compliance with the License. A copy of the License is made available in the LICENSE file. You may also obtain a copy of the license at the Apache website.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.