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
Ettore Di Giacinto
eb2c240e84
Adapt installer tests
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
1956f476cc
Set concurrency when building
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
a216f71d53
Inverted options
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
95e640c9d0
Make solver type switchable
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
9f1a182eee
Add tests and various fixes to parallel implementation
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
9a7d92b02e
Make the parallel solver completely parallel in building formulas from dataset
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
c5ed36b2bd
Sketch concourrent solver when building formulas
2020-10-29 16:32:13 +01:00
Daniele Rondina
5f8b836335
Update vendor github.com/Sabayon/pkgs-checker@v0.7.2
2020-10-28 17:48:30 +01:00
Daniele Rondina
6806103b3e
installer: Start spinner of upgrade calculation
2020-10-25 14:01:45 +01:00
Ettore Di Giacinto
4e9313ed55
Tag 0.8.9
2020-10-22 18:36:37 +02:00
Ettore Di Giacinto
c9952b12a8
Get file list from parsed yaml
2020-10-22 17:33:37 +02:00
Ettore Di Giacinto
abae9c320a
Tag 0.8.8
2020-10-19 18:47:36 +02:00
Ettore Di Giacinto
94937cc88a
update vendor/
2020-10-19 17:58:50 +02:00
Ettore Di Giacinto
0aa0411c6e
Bump copy dep and handle shallow symlinks
2020-10-19 17:58:43 +02:00
Daniele Rondina
c0cc9ec703
convert: Now use slot for category name
2020-10-18 19:58:15 +02:00
Daniele Rondina
07dff7f197
installer: log packages ignored on create-repo
2020-10-12 08:42:19 +02:00
Ettore Di Giacinto
4028c62367
Tag 0.8.7
2020-10-11 15:17:16 +02:00
Daniele Rondina
51f32c0614
Update vendor/
2020-10-10 19:59:40 +02:00
Ettore Di Giacinto
3261b2af98
Drop also package file list from db entry
2020-10-10 18:53:43 +02:00
Ettore Di Giacinto
b88a81c7ed
Add database command
...
- Allows to override the system db and create/remove entries as desired.
The input format is the same metadata as the one generated by the
artifacts. It contains the Package and the file list that we need.
- Add integration test
Closes #47
2020-10-10 18:26:40 +02:00