Daniele Rondina
9f73a334b3
cmd/tree/validate: Avoid nil pointer if solution doesn't contain the dependency
2021-01-25 19:13:33 +01:00
Ettore Di Giacinto
429e9757db
Select cwd as default tree path for commands
2021-01-18 10:40:41 +01:00
Ettore Di Giacinto
91dfb8ce3a
Enhance CLI output
2020-10-30 19:15:04 +01:00
Ettore Di Giacinto
95e640c9d0
Make solver type switchable
2020-10-29 16:32:13 +01:00
Daniele Rondina
908b6d2bd4
cmd/tree/validate: Fix race and drop errs chan
2020-08-23 12:27:51 +02:00
Daniele Rondina
09c7609a7f
cmd/tree/validate: Add error summary
2020-08-20 11:36:56 +02:00
Daniele Rondina
a1acab0e52
cmd/tree/validate: Integrate validation of buildtime deps
...
By default both runtime and buildtime deps are checked.
With the option --only-buildtime is possible analyze only
buildtime deps or instead with the option --only-runtime
only the runtime deps.
Signed-off-by: Daniele Rondina <geaaru@sabayonlinux.org>
2020-08-20 11:09:39 +02:00
Ettore Di Giacinto
16e9d7b20c
Use packageImage as builder image fingerprint
...
This allows to have an unique identifier for the builder image id against
different depgraphs combinations. The package fingerprint is not enough,
as an atom could have a difference deptree depending on the requires
constraints.
TODO: Don't use the full image name, but only the hash as a salt
(currently the salt contains ALSO a reference of the image-repository,
as such it doesn't allow to port a tree in a different docker registry)
2020-06-23 18:59:18 +02:00
Daniele Rondina
dba6c361c2
Move helpers/cli to cmd/helpers
2020-05-23 08:51:33 +02:00
Daniele Rondina
993bcf9adf
tree/validate: Add support for in memory cache with solver check
2020-05-08 20:05:21 +02:00
Ettore Di Giacinto
b91288153a
Make tree validation cmd concurrent
2020-04-30 21:48:46 +02:00
Ettore Di Giacinto
d8919f7250
Check if dependencies are selectors in validate
2020-04-10 20:00:37 +02:00
Daniele Rondina
42c380029c
cmd/tree/validate: Fix order analysis
2020-04-10 17:41:27 +02:00
Daniele Rondina
c2e9176ab2
solver.Order now return error
2020-04-09 17:07:57 +02:00
Daniele Rondina
726a749b4b
cmd/tree/validate: Integrate order of the solution
2020-04-09 15:58:05 +02:00
Ettore Di Giacinto
5e31d940f0
Introduce Packages for []Package
2020-04-04 14:29:08 +02:00
Ettore Di Giacinto
1779382811
Extend tree validate checks
2020-03-29 14:52:13 +02:00
Daniele Rondina
853a1995b4
cmd/tree/validate: Now support multiple tree paths
2020-03-15 19:16:22 +01:00
Daniele Rondina
039b77fdfd
cmd/tree/validate: Add counter of broken deps
2020-03-15 17:40:20 +01:00
Daniele Rondina
f02c54a274
cmd/tree/validate: Improve scripting integration
2020-03-14 17:38:57 +01:00
Daniele Rondina
d6182cba3b
Add cli command 'tree validate'
2020-03-14 11:14:14 +01:00