Jakub Jirutka
fd8d3738fe
test: fix test4.sh, script failure is non-fatal
...
This behaviour has been changed in: 7d5cd2c8a0
.
2017-06-11 12:27:00 +02:00
Jakub Jirutka
4d1934f69b
test: fix running root-tests with QEMU user-mode emulation
...
Variable QEMU_EMULATOR is set by enter-chroot script from
alpine-chroot-install.
2017-06-11 12:14:41 +02:00
Jakub Jirutka
73423fc182
test: run test*.sh with set -x
2017-06-11 12:14:41 +02:00
Jakub Jirutka
12c71704d0
test: fix test6.sh, vmlinuz and initramfs are not symlinks
2017-06-11 12:14:41 +02:00
Jakub Jirutka
419e51638c
test: fix test6.sh, replace linux-grsec w/ linux-vanilla, add alpine-keys
2017-06-11 12:14:41 +02:00
Jakub Jirutka
69c343afb9
test: exit with non-zero status when some root-test fail
2017-06-11 12:14:41 +02:00
Jakub Jirutka
d6ef8fbe23
test: print output log when test fail
2017-06-11 12:14:40 +02:00
Jakub Jirutka
dfe395e8fa
test: fix invalid SYSREPO with http://nl.a.o
2017-06-11 12:14:40 +02:00
Jakub Jirutka
9b0359f69a
test: fix target $(repos), APKINDEX is now generated by abuild
2017-06-11 12:14:40 +02:00
Jakub Jirutka
e7c89a1433
test: fix target $(repos), PKGDEST is no longer supported
2017-06-11 12:14:40 +02:00
Jakub Jirutka
b9271ca2a9
test: fix missing "arch" in testing APKBUILDs
2017-06-11 12:14:40 +02:00
Jakub Jirutka
5822316c80
travis: set up running tests on Travis CI
2017-06-11 12:14:39 +02:00
William Pitcock
17f8c2edec
print: oh dear, i have reworked the progress bar again
...
- rework the progress bar a little bit, basically removing the [ and ] to give a more
modern aesthetic.
- if utf-8 locale is enabled, use unicode codepoint 0x2588 instead of # to give the
progress bar a nicer look.
- if APK_PROGRESS_CHAR environment variable is defined, use the character defined there
for the progress bar.
2017-06-01 05:25:56 +00:00
William Pitcock
40aee5f1d0
apk_defines: implement mulmod()
2017-06-01 04:24:15 +00:00
William Pitcock
9325eb721d
index: fix unsatisfied dependencies warning (maybe vs may be)
2017-05-28 05:41:36 +00:00
William Pitcock
3eb0a0aaa4
manifest: fix up help entry
2017-05-28 01:09:42 +00:00
William Pitcock
693b4bcdb0
version: add support for fuzzy version matching
...
This is useful for requirements such as: python3=~3.6, which would match python3-3.6.[0-9].
This implementation should in theory be backwards compatible with the implementation in Adelie.
2017-05-27 21:49:53 +00:00
A. Wilcox
ee5ce7284a
version: consider pkg-rX and pkg to be the same version
2017-05-27 21:34:05 +00:00
William Pitcock
18f7aa9e44
manifest: add file support as well as apkdb support
2017-05-27 21:19:41 +00:00
William Pitcock
46c2693468
manifest: dump checksum type too
2017-05-27 20:55:31 +00:00
Timo Teräs
ede5165833
db: fix regression preventing remounting apk cache r/w
...
Introduced in commit c0f2d88f34
.
fstatfs is needed to inspect the mount flags.
2017-05-25 18:06:27 +03:00
William Pitcock
b4b95e9ae7
manifest: new applet which dumps checksums in sha1sum format for a package
2017-05-20 06:19:00 +00:00
Timo Teräs
d5dad7b7eb
apk-tools-2.7.1
2017-04-28 17:51:55 +03:00
Timo Teräs
9b827d9d41
test: add test for bug fixed in commit ba7b50c0
2017-04-28 17:44:57 +03:00
Kaarle Ritvanen
c072c18d6e
close database on SIGINT
...
cleans up procfs mount
2017-04-28 16:19:01 +03:00
Kaarle Ritvanen
5c349335c7
db: separate init from open
2017-04-28 13:28:32 +03:00
William Pitcock
ba7b50c0f8
solver: don't clobber package swaps in cases where an installed package is being replaced by a provider
2017-04-27 23:23:47 +00:00
Timo Teräs
027df02dc2
print: handle mixing stdout and stderr printing
...
Fixes regression from commit 5ba27c90
which caused stdio
buffering issues now that output is split to stderr/stdout.
See also commit 51737872
for some of the history.
Fixes #7107
2017-04-26 09:34:32 +03:00
readerreader
f3a4272a02
fetch: spell "its" properly in user visible message
2017-04-25 08:07:32 +03:00
William Pitcock
9fb2568aa7
fetch: open the installed database to allow fetching a dependency tree rooted by a virtual
2017-04-25 00:26:36 +00:00
William Pitcock
e7f8d71d2b
fetch: don't segfault when given an unknown package name
2017-04-25 00:00:19 +00:00
William Pitcock
a841d6b259
print: don't shadow log()
2017-04-24 23:53:26 +00:00
Shiz
5ba27c9000
print: print warnings and errors to stderr
2017-04-24 22:42:29 +00:00
Avi Halachmi (:avih)
515f31eb52
progress: shorten bar to prevent newlines on some terminals
...
On some (probably buggy) terminals, printing up to the rightmost column
may end up with the terminal issueing a newline (probably due to putting
the cursor at the next char -> new line).
Some other progress bars avoid it by not reaching the rightmost column.
Shorten the bar width from term-width - 7 to -8 (the 7 are "xxx% []").
2017-03-29 08:14:39 +03:00
Natanael Copa
bcb4b06ff8
db: catch asprintf failure
2017-03-13 14:55:36 +01:00
Natanael Copa
93d6b2b529
db: prevent umount /proc when it was mounted by someone else
...
This fixes regression introduced by commit 72b878e655
2017-03-13 14:55:36 +01:00
Natanael Copa
17ba5dc11c
commit: include limits.h for PATH_MAX
...
this fixes build on ppc64le
2017-03-06 17:38:32 +01:00
Timo Teräs
39b0c88312
apk-tools-2.7.0
2017-02-28 15:51:28 +02:00
Timo Teräs
697c50524a
package: add more secure signature methods
2017-02-28 10:47:15 +02:00
Timo Teräs
0fe3f3964b
fetch: fix --recursive mode to work with pure virtual packages
...
The virtual package provider still needs to be explicitly
given on command line.
2017-02-27 14:56:57 +02:00
Timo Teräs
6542d4ca2c
db: allow overriding cache location
2017-02-27 11:14:33 +02:00
Timo Teräs
c0f2d88f34
db: allow caching packages on tmpfs
...
fixes #5616
The original intention was not use unnecessary space on tmpfs
e.g. if the cache directory is a mount point, but accidentally
left unmounted. But there are valid cases when packages are
intentionally wanted to be cached on tmpfs. If caching is not
desired, the user can just remove the cache directory.
2017-02-27 11:05:01 +02:00
Timo Teräs
704694bd1d
commit: fix to work if commit_hook.d directory does not exist
2017-02-27 10:54:28 +02:00
Timo Teräs
72b878e655
db: mount /proc for --root if it's not mounted, use mount syscall
...
musl c-library does not work properly without /proc, and potentially
running the scripts need this.
2017-02-27 10:52:16 +02:00
Timo Teräs
b11d876806
build: recognize 'make check' too
2017-02-27 08:47:52 +02:00
Henrik Riomar
faff904740
commit: log parameter passed to a hook script
2017-02-16 10:10:30 +02:00
Henrik Riomar
349c61c961
add support for pre and post commit hooks
...
This allows for instance integration of etckeeper
[TT: Reorganized code a bit, and modified to use single
directory commit_hooks.d with argument for script of stage.]
2017-02-15 13:44:04 +02:00
Breno Leitao
28a9dcda56
Add ppc64le entry in apk defines.
...
Currently apk only knows about powerpc and ppc64. I am adding support for ppc64le.
ppc64le is the based on the ABI v2, which defines the endianess as little,
while ppc64 is based on the first 64-bits ABI.
2017-01-17 08:39:06 +02:00
Timo Teräs
ca368916e0
tar: return correct error for short read of tar archive
2017-01-05 16:18:39 +02:00
Tuan M. Hoang
ce72c8498e
add s390x headers
2016-11-21 09:43:37 +02:00