Commit Graph

375 Commits

Author SHA1 Message Date
Ettore Di Giacinto
08897b5105 Allow one instance of the application to run 2019-11-25 20:28:08 +01:00
Ettore Di Giacinto
5c0971de2e Add search to cli 2019-11-25 19:58:21 +01:00
Ettore Di Giacinto
b751b02830 Do not register viper bindings in init
Otherwise they get overlapped. Use PreRun instead
2019-11-25 19:55:30 +01:00
Ettore Di Giacinto
914ac68eea Add create-repo, install and uninstall to cli 2019-11-24 18:28:39 +01:00
Ettore Di Giacinto
6cf6c2104d Set cli tag for next version 2019-11-17 19:47:53 +01:00
Ettore Di Giacinto
f107f47242 Prepare for 0.1 tag 2019-11-17 19:45:20 +01:00
Ettore Di Giacinto
a806937941 Add version to CLI and write commit sha to release build 2019-11-17 16:12:12 +01:00
Ettore Di Giacinto
602f5c68d5 Use emojis for icons 2019-11-16 14:16:59 +01:00
Ettore Di Giacinto
08950d66d9 Make database backend switchable from the cli
Closes #5

Signed-off-by: Ettore Di Giacinto <mudler@gentoo.org>
2019-11-16 13:26:34 +01:00
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