Ettore Di Giacinto
d5fd14bceb
Merge branch 'build_clean' into develop
2020-01-05 16:27:31 +01:00
Ettore Di Giacinto
d2abaa9cc1
Add message asserting skip. Also return pointer to allow to edit Options
2020-01-05 16:26:42 +01:00
Ettore Di Giacinto
6d745ef915
Add build --clean to CLI
2020-01-05 16:08:39 +01:00
Ettore Di Giacinto
bcc6ce19ea
Move compiler options to its own struct
...
Also add Clean attribute, to handle a future build clean method
2020-01-05 14:32:26 +01:00
Daniele Rondina
db7301f7bf
Align selector logic for explicit version with PkgSelectorConditionFromInt
2020-01-01 22:58:19 +01:00
Daniele Rondina
16453bd09f
Concurrency option is now global
...
* concurrency could be configured now from cmdline,
configuration file or LUET_GENERAL__CONCURRENCY env variable
* verbose option is now related to debug option
2020-01-01 13:43:22 +01:00
Daniele Rondina
a7e262cc48
cmd/build: Now support package without version/selector
2020-01-01 13:43:21 +01:00
Daniele Rondina
bbeb800611
cmd/build: selector is defined inside version
2020-01-01 13:43:21 +01:00
Daniele Rondina
4c62f714c4
cmd/build: Now use _gentoo.ParsePackageStr
2020-01-01 13:43:17 +01:00
Ettore Di Giacinto
f71c9937c4
Add compression to build CLI
...
Also handle how concurrency is set now.
Adds also an accessor to compiler to set the desired compression type
Refers to #33
2019-12-30 16:35:21 +01:00
Ettore Di Giacinto
0ccaf47f45
Cli: Take constraints in versions
...
Closes #19
2019-12-15 00:19:48 +01:00
Ettore Di Giacinto
5d2d92e684
Adapt cmd and drop query
2019-11-29 19:01:53 +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
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
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