Ettore Di Giacinto
b2060c82e3
Make DB Switchable
...
Fixes races conditions and make the DB Switchable. Also prepare inside
the CompilationSpec the tree of the deps to be built, and parallelize
only the building jobs.
Closes #7
Signed-off-by: Ettore Di Giacinto <mudler@gentoo.org>
2019-11-16 13:26:33 +01:00
Ettore Di Giacinto
6dada5622d
Initialize spec with constructor
2019-11-15 19:31:56 +01:00
Ettore Di Giacinto
821020be47
Extend build command
...
Allow to build all packages and revdeps
2019-11-15 18:15:23 +01:00
Ettore Di Giacinto
ccdca66420
Small fixes and enhance output
...
Fixes a small issue with the Spinner which prevented to update the
spinner style. Also respect the temp folders of the output when
extracting the rootfs.
2019-11-14 20:22:49 +01:00
Ettore Di Giacinto
f8f319941a
Parse packages in build cmd
2019-11-12 22:17:23 +01:00
Ettore Di Giacinto
49a77280ae
Add build cmd in the cli
2019-11-10 22:40:31 +01:00
Ettore Di Giacinto
24a6de3f29
Use Fatal() in cmd/
2019-11-04 10:16:20 +01:00
Ettore Di Giacinto
a5e125de4b
Query needs a category as well to find out the package
2019-11-03 17:24:47 +01:00
Ettore Di Giacinto
f3623cbb38
Allow to switch between database types in Gentoo Parser
...
Define types and allows to switch between boltdb and inmemory
2019-11-03 13:37:45 +01:00
Ettore Di Giacinto
87406e05d3
Use available num of CPU as default
2019-11-03 10:50:07 +01:00
Ettore Di Giacinto
b72a09ab1c
Make logging concurrent-aware
2019-11-02 18:00:06 +01:00
Ettore Di Giacinto
c04e6496fb
Enhance output with consistent usage of logger
2019-11-02 10:26:28 +01:00
Ettore Di Giacinto
624e991688
Parametrize concurrency
2019-11-01 12:41:31 +01:00
Ettore Di Giacinto
71100688f2
Enhance cmd output
2019-10-31 12:41:12 +01:00
Ettore Di Giacinto
a5ceafca26
Add Tree parser with bolt
...
Also add Tree builder (Recipe) which can recompose trees.
2019-10-31 12:38:59 +01:00
Ettore Di Giacinto
8ca6051a04
Add cmd/ and main.go
2019-10-31 12:38:58 +01:00