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
Adrien Delsalle
8cdc82982b
Improve micromamba bash completion ( #1234 )
2021-10-25 14:59:45 +02:00
Wolf Vollprecht
357c3410ee
Merge pull request #1228 from adriendelsalle/fix-cygpath
2021-10-21 19:44:05 +02:00
Adrien DELSALLE
b2bd167d2f
fix use of cygpath
...
Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com>
2021-10-21 18:29:14 +02:00
Wolf Vollprecht
d039d6dc1d
Merge pull request #1226 from adriendelsalle/pwsh-core
...
Init all powershell profiles
2021-10-21 09:33:09 +02:00
Adrien DELSALLE
551bcc7275
init all powershell profiles
...
not only first found
2021-10-20 12:09:27 +02:00
Wolf Vollprecht
536fa46ab8
Merge pull request #1216 from izahn/fish-doc
2021-10-15 11:28:28 +02:00
Ista Zahn
4e8a3a3e75
Document micromamba fish support
2021-10-15 04:43:53 -04:00
Wolf Vollprecht
cda2587f12
Merge pull request #1199 from wolfv/mm_force_remove
...
initial steps to add no-prune and force removal
2021-10-15 10:33:56 +02:00
Wolf Vollprecht
7ea1ab9110
improve explicit transactions and remove package function
2021-10-15 09:47:05 +02:00
Wolf Vollprecht
6c2e5a3888
release 0.17.0
2021-10-13 16:10:56 +02:00
Wolf Vollprecht
abc5022c71
Merge pull request #1210 from adriendelsalle/config-list-improvements
...
Improve config umamba subcommand
2021-10-13 15:58:24 +02:00
Adrien DELSALLE
8351a9d9d2
only list rc configurable configs in umamba config list
...
add MAMBA_SHOW_ALL_RC_CONFIGS to show all rc configs from API
update descriptions
2021-10-13 15:37:08 +02:00
Wolf Vollprecht
2af4c414ce
Merge pull request #1208 from wolfv/check_fsize
...
improve tarball and directory checks if no size known
2021-10-12 17:36:50 +02:00
Wolf Vollprecht
266f262051
properly warn when not able to validate md5 or sha256
2021-10-12 16:55:33 +02:00
Wolf Vollprecht
20392f769b
lint
2021-10-12 16:39:29 +02:00
Wolf Vollprecht
074c7eecdb
add more warnings
2021-10-12 16:35:49 +02:00
Wolf Vollprecht
4e55c1ab14
improve tarball and directory checks if no size known
2021-10-12 13:52:22 +02:00
Wolf Vollprecht
b4c1aa7249
add some error logging to extraction
2021-10-08 16:20:01 +02:00
Wolf Vollprecht
3553249edb
Merge pull request #1109 from adriendelsalle/umamba-multiple-caches
...
Handle multiple caches in libmamba
2021-10-07 19:23:10 +02:00
Adrien DELSALLE
d8da02d4c7
enable support of multiple caches in umamba
...
fix wrong call to path::touch in PackageCacheData::create_directory, causing wrong result
handle multiple caches
split tarball cache, extracted dir cache and repodata index one
add and update tests
update bindings
add pytest-lazy-fixture dep
improve locks
use lockfiles with a more granular approach
update mamba according to api changes
handling case of expired but still valid repodata
re-use the same cache for all tests
do not use existing cache on the host to avoid permission errors on win
refactor a bit the LockFile private methods
add a factory try_lock method to handle exceptions
update MSubdirData::load according to LockFile improvements
use cache valid_extracted_dir
reset valid_extracted_dir cache when extracting it again
2021-10-07 17:53:06 +02:00
Wolf Vollprecht
2d243ba312
Merge pull request #1143 from isuruf/safety-checks
...
set env vars for safety checks
2021-10-07 13:48:32 +02:00
Adrien DELSALLE
446faa6c7f
fix config compute method
...
check env vars existence individually
formatting
2021-10-07 13:26:40 +02:00
Wolf Vollprecht
3dfee81e22
Merge pull request #1142 from wolfv/custom_multichannels
...
add support for custom multichannels
2021-10-07 12:26:20 +02:00
Wolf Vollprecht
75689a4105
add support for custom multichannels
2021-10-07 12:10:57 +02:00
Isuru Fernando
ddf2700604
set env vars for safety checks
2021-10-07 11:43:03 +02:00
Wolf Vollprecht
c8dfd4ba0d
Merge pull request #1203 from wolfv/add_pip_as_py_dep_cli
...
add add_pip_as_python_dependency option to CLI
2021-10-07 11:22:37 +02:00
Wolf Vollprecht
ae83428b54
add add_pip_as_python_dependency option to CLI
2021-10-07 10:10:46 +02:00
Wolf Vollprecht
9c49e6a198
Merge pull request #1193 from adriendelsalle/improve-lockfile
...
Improve lockfiles
2021-10-07 08:42:06 +02:00
Adrien Delsalle
40ff34d5df
Add thread pthread_cancel
2021-10-06 21:53:58 +02:00
Adrien DELSALLE
cac6cf569e
use pthread_cancel to cancel handler in set_lock
...
refactor names
2021-10-06 21:39:18 +02:00
Adrien DELSALLE
621be654c4
fix windows tests
2021-10-06 17:58:55 +02:00
Adrien DELSALLE
a6a6c2cd73
always raise when lock can't be placed
...
remove tests failing in non writable caches
2021-10-06 19:38:59 +02:00
Adrien DELSALLE
48deeb684f
add back missing declaration
2021-10-06 18:46:27 +02:00
Adrien DELSALLE
b6ce146621
add preprocessor guard on unix only functions
2021-10-06 18:40:26 +02:00
Adrien DELSALLE
7de8e9798c
merge Lock and LockFile
2021-10-06 18:33:21 +02:00
Adrien DELSALLE
c45af0bd12
add interruption capability on unix
2021-10-06 17:28:16 +02:00
Adrien DELSALLE
c8763933a5
also set a better errno when timeout is reached
2021-10-06 13:54:58 +02:00
Adrien DELSALLE
fae791d3da
fix windows impl
2021-10-06 13:49:18 +02:00
Adrien DELSALLE
81f89100d1
define MAMBA_LOCK_POS constant
...
use it to ensure consistency of lock position
improve logs
add comment in code
implement custom timeout on Windows
2021-10-06 13:42:24 +02:00
Adrien DELSALLE
ddee02f5e1
handle files and directories locks
...
handle multiple locks acquired from the same process
improve logs
add tests
refactor use of LockFile
forbid locking twice same path from same PID
improve windows lockfile to match unix one
split Lock and LockFile
use byte 21 to set lock status
enable reading locked file on windows
ensure closing of file descriptor in Lock and LockFile destructors
add timeout implementation for unix
add testing lock cli for subprocess tests
add subprocess tests
add --lock-timeout to umamba
add clean lock files
add a clean lock files flag -l,--locks to umamba clean command
add cpp-filesystem pins to enforce correct version on dev mode
2021-10-06 11:50:35 +02:00
Wolf Vollprecht
bc00ce187f
Merge pull request #1198 from wolfv/order_explicit_env
...
order explicit envs
2021-10-04 12:25:36 +02:00
Wolf Vollprecht
8adba9800b
reuse loaded package infos
2021-10-04 11:51:41 +02:00
Wolf Vollprecht
0caebbfd94
add sorted_packages method to PrefixData
2021-10-04 10:15:42 +02:00
Wolf Vollprecht
1d9f648d27
split header & implementation of environments_manager
2021-10-04 08:53:25 +02:00
Wolf Vollprecht
da359feea1
add new learnings about the libsolv transaction internals
2021-10-04 08:43:44 +02:00
Wolf Vollprecht
de83e8e66f
order explicit envs
2021-10-01 23:35:50 +02:00
Adrien Delsalle
8b568ccad2
Break some circular deps between Configurables ( #1151 )
2021-10-01 11:22:37 +02:00
Adrien Delsalle
00daf79190
Add fallback and default config hooks ( #1191 )
2021-09-30 14:58:18 +02:00
Wolf Vollprecht
f1723edbf5
Extract package subcommand ( #1187 )
2021-09-30 11:36:41 +02:00