Ettore Di Giacinto
03cc5fcb76
Use cobra for build --full
2020-06-06 11:20:48 +02:00
Ettore Di Giacinto
8aafc7600c
Print selected packages
2020-06-06 11:18:54 +02:00
Ettore Di Giacinto
90a25406a0
Add --full option to build
...
Don't compile dependencies when computing all the compilation specs from
a tree if are among the target deps
Fixes #41
2020-06-06 08:58:18 +02:00
Daniele Rondina
dba6c361c2
Move helpers/cli to cmd/helpers
2020-05-23 08:51:33 +02:00
Daniele Rondina
2cb79c0071
cmd/build: Add support for multiple trees
2020-05-10 20:02:12 +02:00
Ettore Di Giacinto
07610bc216
Add build option to remove backend artifacts
...
Add keep-exported-images to build to instruct to remove backend artifacts (docker images)
2020-02-21 22:33:18 +01:00
Daniele Rondina
a04dadf100
Add support for parsing version with build
2020-02-21 21:56:32 +01:00
Ettore Di Giacinto
2ce427d601
Add Nodeps, Onlydeps and Force options to Compiler
...
See #41
2020-02-18 18:36:44 +01:00
Ettore Di Giacinto
fcec6c5699
Add Push to hub feature
...
Add to the backends the Push capabilities to push images that were correctly built.
Also expose them to the CLI, along with KeepImg which was hidden.
2020-02-15 14:45:05 +01:00
Ettore Di Giacinto
d527eaed60
Allow to override default image repository
2020-02-15 14:31:23 +01:00
Ettore Di Giacinto
a756c802f9
Hook config when generating the SolverOptions, display debug message about solver type
2020-02-12 12:24:07 +01:00
Ettore Di Giacinto
3cd87abafe
Consume SolverOptions in cli
2020-02-12 11:23:38 +01:00
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