| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The return -1 seems to have been left over from earlier code, and
could have been treated as -EPERM. This helps to fix the other command
line handling that potentially require changing.
|
|
|
|
|
|
| |
In case all applet arguments are packages names (that is are not
including wildcards), return error if they do not match to some
package.
|
|
|
|
|
| |
Add also a new 'commit' group that is the common options
for all applets that can commit package changes.
|
|
|
|
| |
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
|
|
|
|
| |
Acked-by: Natanael Copa <ncopa@alpinelinux.org>
|
|
|
|
|
|
|
|
|
| |
Wildcard matching with no names should match all packages only for
info and search applet. "apk del" would otherwise try to delete
everything, etc.
Fix also interactive mode to ask questions only if we are actually
changing something.
|
| |
|
| |
|
|
|
|
| |
ref #511
|
| |
|
| |
|
|
|
|
| |
ref #1122
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not print version numbers or compare result char when in quiet
mode. This makes the output suitable for be used in scripts or pipes.
For example:
# Upgrade all packages that matches a given regexp
apk version --limit '<' --quiet | grep $regexp | apk fix --reinstall
# Delete all packages that are removed from repository
apk version --limit '?' --quiet | xargs apk del
|
|
|
|
|
| |
This makes it possible to differ between downgradable packages (-l '<')
and unavailable in repos (-l '?').
|
|
|
|
| |
fixes #1116
|
|
|
|
|
|
|
| |
in preparation for provides support. implements also some
dependency satisfaction helper routines.
ref #574.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- implement a hash table for commonly shared fields such as
license, version and architecture
- use macroes to print blobs or pkgname-pkgver strings
- fix some old cruft
|
|
|
|
|
| |
* prunes the child pid to avoid zombies
* handles the errors so e.g. file-not-found is reported properly
|
| |
|
| |
|
|
|
|
|
| |
ability embed description information to repository indexes
(e.g. repository name and version) and show it via "apk version -I".
|
|
|
|
|
|
|
| |
this makes the database package entry smaller, and we propbably
get more fields to installed_package later too. this cleans up
the way scripts are stored and is a preparation for supporting
triggers. some parsing for trigger meta-data. ref #45.
|
|
|
|
| |
so user can override trusted keys directory and repositories file.
|
|
|
|
|
|
|
|
|
| |
Support for limiting output for only showing the packages who have
the status we are interested in. For example --limit '<' will only
list packages that have a newer version available.
While here, we also fix so packages that are not in any repository
are displayed with '?'.
|
| |
|
|
|
|
| |
And add some more verbosity to the help message.
|
|
|
|
|
| |
make apk_version_compare() take strings rather than blobs
add apk_pkgversion_compare(), a wrapper that takes packages
|
|
|
|
|
| |
apk --help will list the generic options only and give a list of commands
To get the details for a spefic command, 'apk command --help' should be used.
|
| |
|
| |
|
|
|
|
|
| |
Add flags field to db open call. Also make error reporting quite a bit
more detailed.
|
| |
|
| |
|
| |
|
|
breakage and major changes.
|