Commit Graph

560 Commits

Author SHA1 Message Date
Adrien DELSALLE 95e65b8114
use spdlog as logger backend
split verbosity and log level
use backtrace to replay logs on critical error
use backtrace to replay logs emitted before setting the log level, with the appropriate level
make libmamba compile time log level a cmake option
break circular dependencies
remove hard-coded config loading sequence
2021-11-05 10:46:22 +01:00
Wolf Vollprecht 8783bce191
Merge pull request #1252 from adriendelsalle/expand-shell-init-prefix
Fix shell init with relative paths
2021-11-03 19:09:45 +01:00
Adrien DELSALLE ffe6891548
update tests according changes 2021-11-03 18:13:40 +01:00
Adrien DELSALLE caf1f8b63f
improve logs
test that missing file doesn't cause an unlink error
2021-11-03 16:03:56 +01:00
Adrien Delsalle 88c6b7c0e9
Improve pyc compilation (#1249)
* fix pyc compilation when using explicit spec
* add target prefix as installed repo in explicit specs installation
* detect missing Python, warn and skip compilation
* also catch wrong Python version conversion from string
* add test
* add a compile_pyc configurable
* make it rc, env var and CLI configurable
2021-11-02 18:09:23 +01:00
Adrien DELSALLE 2f349dca96
rename mamba-archive mamba-package
rename umamba subcom archive, package
turn on parallel extraction of mamba in CI by building mamba-package target
2021-10-29 17:32:43 +02:00
Jonas Haag 435dbf03de
extract in subproc
micromamba uses a new archive subcommand
mamba uses a dedicated executable mamba-archive
limit number of extraction processes
fallback to in-process extraction
mamba uses a new executable mamba-archive
implement maximum extraction concurrency
add extract_threads configurable
defaults is host max concurrency, positive is user defined, negative is host max minus value
use a LockFile during tarballs extraction when possible

Co-authored-by: Jonas Haag <jonas@lophus.org>
2021-10-29 17:13:43 +02:00
Adrien DELSALLE 1b6fccb39d
use find package only is libmamba targets are not defined 2021-10-28 17:12:01 +02:00
Adrien DELSALLE 73b1760e5e
improve cmake build options
create a libmamba-full-static target to expose static deps
remove automagic activation of libmamba build options to fix packaging
add find_package libmamba in micromamba and libmambapy
add umamba MICROMAMBA_LINKAGE option to select libmamba target
update documentation
2021-10-28 16:36:22 +02:00
Adrien Delsalle bff16c2bdc
Split projects (#1219)
* make a clear split between CMake targets
* split versions between libmamba and mamba
* add libmambapy target for python bindings and make mamba depend on it
* rename CMake options to make them homogeneous, simplify CMake
* remove termcolor from thirdparties, use it as a dependency
* remove unnecessary version global vars and convert to functions
* update CI workflows
2021-10-26 16:01:53 +02:00