Ettore Di Giacinto
d151a77e51
Prefer long syntax option
2018-07-22 15:47:43 +02:00
Ettore Di Giacinto
8fda356c53
Also include summary in injected_targets
2018-07-21 21:38:42 +02:00
Ettore Di Giacinto
9be88688bc
Do not die on failed enman commands
...
- Also print a short summary of compilation result
- Add KEEP_GOING env variable,
if disabled a failure in split install makes the build fail
2018-07-21 18:33:06 +02:00
Geaaru
09f618043d
Tuning enman repos management and add debug stuff
2018-06-15 10:28:23 +02:00
Ettore Di Giacinto
6cc8d3d7ae
switch default profile
2018-02-03 22:56:16 +01:00
Geaaru
b42ef2feb7
[builder] Fix print of $remove_layman_overlay
2018-01-17 09:31:13 +01:00
Ettore Di Giacinto
928d6da693
Refactorize and quote package when getting deps of package
2017-07-30 01:43:17 +02:00
Ettore Di Giacinto
5c927a25c6
Refactorizations
2017-07-30 01:26:11 +02:00
Ettore Di Giacinto
5a3be7c0f1
Add support for pre_script and post_script, executed before and after the build
...
Also add support for package major/minor syntax and verbose option
2017-07-30 01:17:03 +02:00
Ettore Di Giacinto
7b2adad931
builder: include also injected_packages in overlays detection
2017-06-18 12:58:21 +02:00
Ettore Di Giacinto
6283b34be8
builder: parse overlays also from package list
2017-06-18 12:26:07 +02:00
Ettore Di Giacinto
11812ff1a2
move QA checks on the bottom, enhance output display and fix depchecking when package contain overlay name
2017-06-05 21:13:30 +02:00
Ettore Di Giacinto
b1726fdb4d
builder: add DETECT_OBSOLETE
2017-05-21 14:13:59 +02:00
Ettore Di Giacinto
49ba945b63
builder: running emerge -C anyway
2017-03-29 14:19:39 +02:00
Ettore Di Giacinto
0c964e4b64
builder: PRETEND changes
...
move up the adjustment of emerge/equo arguments, avoid to copy artifacts when PRETEND mode is on
2017-03-22 14:40:27 +01:00
Ettore Di Giacinto
5f75f6e64b
builder: do not emerge preserved rebuild if PRETEND is set
2017-03-20 11:19:17 +01:00
Ettore Di Giacinto
9fd7ce2582
builder: PRETEND avoids also package removals.
2017-03-20 11:17:59 +01:00
Ettore Di Giacinto
a62baaf0ea
builder: PRETEND, add -p to equo/emerge arguments
2017-03-19 11:50:09 +01:00
Ettore Di Giacinto
bf78080418
Revert "builder: add PRETEND environment variable"
...
This reverts commit 575ec04147 .
2017-03-18 13:54:12 +01:00
Ettore Di Giacinto
575ec04147
builder: add PRETEND environment variable
2017-03-15 11:50:41 +01:00
Ettore Di Giacinto
af32293577
fix syntax errors
2016-10-27 01:42:26 +02:00
Ben Roberts
411c142f00
Fixup perlisms
2016-10-24 10:48:36 +01:00
Ben Roberts
9446715e1a
Attempt to only add/remove enman repos that need action
...
Since enman was changed to provide exit status 1 [1] if the requested
operation failed, builder attempting to re-add an already existing repo
caused the entire build to fail. Rather than run the command and hope
for the best, this commit changes builder to obtain a list of already
installed repositories, and only add/remove the requested repos that
aren't already in the correct state.
[1] Sabayon/enman@7f3a6c88
2016-10-24 09:16:35 +01:00
Ettore Di Giacinto
2d1c16e76e
builder: EQUO_SPLIT_INSTALL default is now 0
2016-09-22 00:05:52 +02:00
Ben Roberts
4dbbc6b34a
Strip out package itself from package_deps
...
Package_deps returned the target package in the output which is not
strictly true (the package is not a dependency of itself really).
In calcuate_missing also means we install the package once using entropy
(if available), and then immediately replace it with portage,
which just wastes effort.
It breaks installation in the cases where the older equo version blocks the
new portage version (e.g. change of slot).
This should remove the target package from the list of packages to be
installed with entropy.
2016-09-13 22:08:43 +01:00
Ettore Di Giacinto
36999309c2
builder: adding checks to fix a broken layman configuration
2016-09-13 10:06:05 +02:00
Ettore Di Giacinto
1ef3938a96
builder: enhance debug of profile setting
2016-09-12 13:17:29 +02:00
Ben Roberts
4268b06305
Fix virtual pruning by switching from state to global variable for package_deps cache
2016-09-11 17:18:20 +01:00
mudler
a66dc7bb23
builder: added check for missing DEPEND/RDEPEND in QA phase
2016-09-10 15:00:09 +02:00
mudler
a1957a0587
[builder] fixes
2016-08-15 15:12:26 +02:00
mudler
fcfb218a17
[builder] turn on split_install by default
2016-08-15 14:56:46 +02:00
mudler
bac150a267
[builder] enhancing output
2016-08-15 14:48:18 +02:00
mudler
350e3d1000
[builder] split up into functions
2016-08-13 13:04:45 +02:00
mudler
10ef5244e3
[builder] allow to specify custom use flags per-package in the lists instead of in custom.use
...
* if emerge_split_install is enabled, then build.targets can contain useflags. (e.g. media-tv/kodi[-avahi] )
* for injected packages, this feature is always on
2016-08-13 12:40:36 +02:00
Ettore Di Giacinto
6e3ae4db29
builder: cleanup
2016-07-23 18:33:13 +02:00
Ettore Di Giacinto
4c4279e707
builder: add support for remote portdir and portage configurations
2016-07-23 18:30:03 +02:00
mudler
0e33e0d75f
builder: enable more verbosity to debug QA_CHECKS
2016-07-21 10:23:16 +02:00
mudler
cd19f3b85b
[builder] add equo args (multifetch && co.)
2016-07-21 10:20:06 +02:00
Ettore Di Giacinto
b33b4aa619
[builder] print qa checks if we are doing et
2016-07-16 10:27:54 +02:00
mudler
c8cd58df4b
[builder, sabayon-buildpackages] add QA_CHECKS env variable
2016-07-08 00:28:18 +02:00
Ettore Di Giacinto
44d7510792
[builder] removing append to make.conf, now the env variable is set and working also on the entropy side
2016-07-03 14:48:44 +02:00
Ettore Di Giacinto
fb745c8ed8
[builder] use ACCEPT_LICENSE with wildcard since Entropy 302
2016-05-26 12:17:07 +02:00
mudler
a65f1acdca
[builder] add support for REMOVE_REMOTE_OVERLAY and REMOVE_LAYMAN_OVERLAY
2016-05-17 19:30:40 +02:00
mudler
02fd49a321
[builder] better output for logs
2016-05-17 19:23:27 +02:00
mudler
868dfb767d
[builder] clone user defined local_portage only if dir exists
2016-05-17 19:20:20 +02:00
mudler
5855d12d75
[builder] allow to pass to remote overlay the name and the sync-type
2016-05-17 19:18:24 +02:00
mudler
44aa54b031
[builder] removing dots from repository name
2016-05-16 11:12:02 +02:00
mudler
6bcf4abfee
[builder] changing namespace allocation
2016-05-16 00:18:34 +02:00
mudler
31d3bca34b
[builder] guessing sync_type from url
2016-05-13 22:45:30 +02:00
mudler
869f6a4363
[builder] url must be given in absolute form
2016-05-13 22:12:21 +02:00