Ettore Di Giacinto
b1316b50b4
Add excludes tests
2020-11-08 16:02:11 +01:00
Ettore Di Giacinto
d92ee9e1d9
Add preliminar support for excludes
2020-11-08 15:35:24 +01:00
Ettore Di Giacinto
e7b58eec41
Use sane default for installer script
2020-11-08 14:33:34 +01:00
Ettore Di Giacinto
6a1b64acea
Order files before uninstall
...
Fixes #149
2020-11-08 12:36:41 +01:00
Ettore Di Giacinto
df14fe60fc
Tag 0.8.15
2020-11-08 11:07:33 +01:00
Ettore Di Giacinto
459eb01a59
Don't write err to stdout if not present
2020-11-08 10:02:00 +01:00
Daniele Rondina
e6c597c7d3
test-integration/12_config_protect.sh: Use repo url related with rootfs path
2020-11-08 00:05:06 +01:00
Daniele Rondina
e70cdbaaf7
Respect rootfs on repositories urls
2020-11-08 00:00:15 +01:00
Daniele Rondina
eea9dad2c6
tests/integration: Add option config_from_host
2020-11-07 19:14:44 +01:00
Daniele Rondina
513f441bb3
Add option config_from_host
2020-11-07 18:56:25 +01:00
Daniele Rondina
ebe7466fdc
Respect rootfs path for load config
2020-11-07 18:28:23 +01:00
Ettore Di Giacinto
76328176c1
Tag 0.8.14
2020-11-07 12:29:07 +01:00
Ettore Di Giacinto
46ed6423ad
Merge pull request #147 from mudler/fix-protect-uninstall
...
Fix protect uninstall
2020-11-07 12:28:24 +01:00
Daniele Rondina
d5df40512b
installer: Improve message for protected files
2020-11-07 12:27:18 +01:00
Daniele Rondina
d219a2e0fb
Run travis task with/without buildkit
2020-11-07 11:41:44 +01:00
Daniele Rondina
4048138dcb
Add test suite for ConfigProtect
2020-11-07 11:39:31 +01:00
Daniele Rondina
e5f44eee09
ConfigProtect: support annotation without initial /
2020-11-07 11:39:13 +01:00
Daniele Rondina
6819a28f07
Add support to DOCKER_BUILDKIT on test
2020-11-07 11:37:58 +01:00
Daniele Rondina
24eb6eaef5
Fix test with docker buildkit
2020-11-07 11:37:58 +01:00
Daniele Rondina
58c4866289
.travis.yml: Enable Docker buildkit
2020-11-07 11:37:58 +01:00
Daniele Rondina
c72565e019
Integrate tests for config protects with uninstall
2020-11-06 23:30:37 +01:00
Daniele Rondina
0f59c207b0
Load config protect files on upgrade/uninstall
2020-11-06 23:30:08 +01:00
Daniele Rondina
68bc8d4d27
ConfigProtect: Permit to obtain the list of files without initial /
2020-11-06 23:29:08 +01:00
Daniele Rondina
b24d335538
GetProtectFiles() is used also for tree tarball without specs
2020-11-06 23:00:37 +01:00
Ettore Di Giacinto
dcc5aae3cd
Tag 0.8.13
2020-11-06 22:25:26 +01:00
Ettore Di Giacinto
99bf9e291d
Use LStat and attempt removing before bailing out on first failure
2020-11-06 21:34:56 +01:00
Daniele Rondina
51417ecb5d
pkg/compiler/artifact.go: permit to support config protect with only annotation
2020-11-06 20:23:46 +01:00
Daniele Rondina
130eb8de1a
Integrate config protection on uninstall too
2020-11-06 20:14:25 +01:00
Daniele Rondina
f1604c3b6f
contrib: Add get_luet_root.sh script
2020-11-06 07:46:00 +01:00
Ettore Di Giacinto
5b5735266a
Calculate provides for parallel solver too
2020-11-05 21:00:24 +01:00
Ettore Di Giacinto
984366d3a5
Consider provides during upgrades
2020-11-05 20:52:02 +01:00
Ettore Di Giacinto
55ec38ffc7
Tag 0.8.12
2020-11-03 20:02:44 +01:00
Ettore Di Giacinto
9aa352dec8
Add json output to build
2020-11-03 18:06:56 +01:00
Ettore Di Giacinto
d7a04465fd
update vendor/
2020-11-03 17:21:32 +01:00
Ettore Di Giacinto
25f69d4f1c
Bump topsort
2020-11-03 17:20:52 +01:00
Ettore Di Giacinto
102a788c91
Revert "Revert "Stabilize ordering graph""
...
This reverts commit 2b23016a51
.
2020-11-02 15:43:35 +01:00
Ettore Di Giacinto
2b23016a51
Revert "Stabilize ordering graph"
...
This reverts commit 940f553e1c
.
2020-11-02 15:43:15 +01:00
Ettore Di Giacinto
940f553e1c
Stabilize ordering graph
...
In this way when we order, we always return the same solution order in
case there are weak deps.
The following is optional - it doesn't change the "correctness" of the
solver results: We add an extra edge between deps that
share common dependendencies. This makes the link more stronger and
balances the graph so it doesn't show different results for the same query, as they
could be shuffled as don't have a direct connection.
2020-11-02 14:30:41 +01:00
Ettore Di Giacinto
c3ef549673
Warn user only when required when uninstalling directories
2020-10-31 11:56:03 +01:00
Ettore Di Giacinto
0e764e525e
Filter packages to install instead of looping solver result
2020-10-31 01:25:18 +01:00
Ettore Di Giacinto
f401e2b37f
Add install benchmark test for solver
2020-10-30 22:20:08 +01:00
Ettore Di Giacinto
2b67b8dd24
Bump version
2020-10-30 19:15:10 +01:00
Ettore Di Giacinto
91dfb8ce3a
Enhance CLI output
2020-10-30 19:15:04 +01:00
Ettore Di Giacinto
f6a4b634c1
Don't always walk all World() packages
...
With this change the solver during install now considers only the part
of the tree which is required to calculate the solution, it doesn't
consider anymore World() as the search space.
The search space now is narrowed down to the packages that related to
the one which we are considering.
In this subset of changes we are also optimizing the Parallel solver
avoiding an useless loop.
This change boost overall performance on large datasets which don't
necessarly have relations touching the whole tree.
2020-10-30 19:12:12 +01:00
Ettore Di Giacinto
2fa58fc7db
Bump gophersat
2020-10-30 18:37:26 +01:00
Ettore Di Giacinto
529a827c5f
Tag 0.8.10
2020-10-29 16:50:17 +01:00
Ettore Di Giacinto
39bc74fc73
Add boltDB test and fixup range over interface cast
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
99c59643a1
Add benchmarks tests
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
ffea4d8cf9
Fix priority constraint formula
...
The parallel solver made the issue more visible, the constraints needed
to be less relaxed and needed to be exclusive so our candidate is looked
up at it first
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
e459ddf470
Optimize BoltDB World() call
2020-10-29 16:32:13 +01:00