Commit Graph

211 Commits

Author SHA1 Message Date
Wolf Vollprecht da4dc0ad8c use .conda packages in explicit env test 2021-07-06 11:17:40 +02:00
Wolf Vollprecht 0ea5f27408 use clang 11.1 for pre-commit 2021-07-02 11:13:54 +02:00
Wolf Vollprecht 81a490a046
add menu install shortcut and more long paths support for Windows (#975) 2021-06-17 13:28:36 +02:00
Adrien DELSALLE 056a71639f
impl of RepoChecker
improve compatible or upgrade checks of spec
improve tests using gmock
update CMakeLists to use gmock on C++ tests
update CI steps to install gmock
2021-05-31 12:14:39 +02:00
Wolf Vollprecht 551d59c1f0 move test to the correct place 2021-05-14 18:44:43 +02:00
Wolf Vollprecht 8b3a5c85c0 add simple package server for signed repodata 2021-05-14 11:23:12 +02:00
Wolf Vollprecht 798447cce3 make libsodium optional, fix winreg tests 2021-05-01 07:21:37 +02:00
Adrien Delsalle 133284bddc
Add initial crypto sign and verify (#916) 2021-04-30 11:27:16 +02:00
Wolf Vollprecht 939ff02512
Fix stack activate (#914) 2021-04-30 08:22:43 +02:00
Adrien DELSALLE b4bbd509d3 allow ultra-dry runs on final executable
add an extra debug config that is required for config and context debug prints
update CMakeLists, CI scripts and tests
2021-04-28 07:39:07 +02:00
Wolf Vollprecht d6312df4d0
attempt to fix CI by using earlier cURL build (#865) 2021-04-19 18:38:05 +02:00
Adrien DELSALLE 320e5694fd impl shell detection using ppid name 2021-04-16 12:44:12 +02:00
Adrien DELSALLE e5af7347e4 let's wait for running only ultra dry tests 2021-04-16 12:44:12 +02:00
Adrien DELSALLE f17e08d358 ultra dry run tests
use configuration status after loading
add yaml to test env
remove -s option of pytest, stderr display makes output unreadable
add config tests (ultra_dry)
install, create, update, remove
fix update and remove target prefix checks
use ultra dry run in win pipelines
2021-04-16 12:44:12 +02:00
Adrien DELSALLE 4c8f4012cb fix mamba python tests on windows
split tests on windows
run tests for both cmd and pwsh
make mamba available in base on windows
add file channels on windows
2021-04-16 12:44:12 +02:00
Adrien Delsalle 99157eef84
Add a high-level API (#824) 2021-04-02 18:41:15 +02:00
Adrien DELSALLE 1f20933792 experiment dry-run tests for windows CI
add switch to disable dry-run for release
2021-03-31 19:42:10 +02:00
Adrien DELSALLE 1ced94a0bf use Path to normalize os separator
fix issue between bash, cmd and pwsh
fix umamba not found warning
split libmamba, mamba and micromamba tests
2021-03-25 15:41:48 +01:00
Adrien DELSALLE 92c94787a1 [WIP] refactor configuration
Configurable is a trait
Configuration is a collection of traits
declare reference to Context at construction
improve Configuration::dump method, use it for multiple purpose
add config describe umamba sub command
improve config list sub command
refactor cpp and python tests
add capability to define to link cli config with Configuration/Configurable
register cli options/flags on configurables
add capability to declare and get config from env var
merge configuration from rc files, cli or env vars
make rc-file and no-rc exclusive
rc-file has to be a valid file
2021-03-19 19:48:00 +01:00
Wolf Vollprecht 91ae841069 add more tests, and fix existing ones 2021-03-04 19:30:39 +01:00
Wolf Vollprecht 79cf74dcba fix multi-prefix replacement in binary files 2021-03-03 12:02:55 +01:00
Adrien DELSALLE 65658ec1b9 read config from rc files
add CLI command and subcommands for config
add shrink_user free function
add util to unindent literal strings
store sources of config values
add capability to print config and sources
activate override channels option
add method to load config in context
call this method in CLI callbacks
store valid sources
display if a source is invalid in config sources subcommand
add tests
add MAMBA_USE_YAML_CPP definition
use it to not include config related files when building with setup.py
add override_channels_enabled in context
get override_channels_enabled from config if available
add warning if override_channel is used when override_channels_enabled is false
2021-02-24 16:32:15 +01:00
Wolf Vollprecht 6fa9dab9f9 test server auth 2021-02-12 11:35:11 +01:00
Wolf Vollprecht 511cc22cbc use setup-miniconda from conda-incubator 2020-11-17 10:39:33 +01:00
Wolf Vollprecht 1f4aded86c always activate, otherwise dlls missing 2020-11-10 18:46:57 +01:00
Wolf Vollprecht 7e0f3681a7 add another win build 2020-11-10 18:23:34 +01:00
Wolf Vollprecht ea61ba0882 tried to improve cmd.bat 2020-11-10 18:07:34 +01:00
Wolf Vollprecht cedc28cc41 install cli11 2020-11-10 12:32:44 +01:00
Wolf Vollprecht 856ba92d2e add some noarch testing 2020-11-10 11:27:19 +01:00
Wolf Vollprecht ffa48acb27 remove cpp-tabulate 2020-11-10 10:10:51 +01:00
Wolf Vollprecht 8638a020a2 use reproc 2020-11-09 06:46:31 +01:00
Wolf Vollprecht 13c6b40ac7 fix bug where file options are parsed too late 2020-10-26 23:13:01 +01:00
Wolf Vollprecht 9a60f8c743 add strict channel priority to micromamba 2020-10-19 17:26:10 +02:00
Wolf Vollprecht b277adf627 refactor for explicit specs installation 2020-10-19 17:26:06 +02:00
Wolf Vollprecht 863e5e0106
improvements to micromamba (multiple files and override_channels noop) (#524)
* improvements to micromamba (multiple files and override_channels noop)

* format
2020-10-01 22:36:32 +02:00
Wolf Vollprecht b217f118d1 add yaml-cpp to ci 2020-10-01 15:43:39 +02:00
Johan Mabille 775ae1f0fd ghc::filesystem is now an exernal dependency 2020-08-25 01:47:26 +02:00
Johan Mabille 27ef70611f Added BUILD_SHARED and BUILD_STATIC options 2020-08-21 14:51:14 +02:00
Marcelo Trevisani 98f2530d23 Add cpp linter and fix warnings 2020-08-03 20:04:50 +01:00
Marcelo Trevisani 5c2951cc18 Add pre-commit configuration
Run pre-commit
Fixed small problems
Fixed linters problems

Improve conditional expression
2020-08-02 18:58:09 +01:00
Wolf Vollprecht 0fb22b7183 enable win c++ tests 2020-07-31 13:42:38 +02:00
Wolf Vollprecht 09b71bf8cc fix url handler 2020-07-28 15:55:18 +02:00
Wolf Vollprecht 62eae99724 fix update env and add test 2020-07-25 11:24:57 +02:00
Wolf Vollprecht aca55168ca add cpp tests installed through micromamba 2020-07-01 19:49:26 +02:00
Johan Mabille 9b30de0fe1 Cleaned up disk space 2020-05-20 17:16:00 +02:00
David Brochart eea1e735b7
Fix cpp-tabulate version requirement (#204) 2020-05-07 12:44:37 +02:00
Wolf Vollprecht 0985f61383 improve URL and add cmake based tests to CI 2020-04-30 11:32:23 +02:00
Wolf Vollprecht 483f09eb5d
add windows tests (#190)
Adding Windows targets to the CI
2020-04-30 07:10:29 +02:00
Mariana Meireles 77881dfd1b Remove travis and add cpp-tabulate to github actions 2020-04-28 11:26:44 +02:00
Johan Mabille 5f91e9e942 Made mamba-download the default and removed the flag from CLI 2020-04-24 14:46:10 +02:00
Wolf Vollprecht 773c42e973 fix env create and add test 2020-04-23 07:26:45 +02:00
Wolf Vollprecht 4f5ef9b08b add simple mamba download test 2020-04-18 09:32:50 +02:00
David Brochart 0e1b928a53 Test track features 2020-04-16 12:15:43 +02:00
Wolf Vollprecht 50309ad4b0 remove librepo from CI for the moment 2020-04-14 13:14:23 +02:00
Wolf Vollprecht 9e5969c788 fix tests 2020-04-14 13:13:06 +02:00
Wolf Vollprecht 063a339f51 fix tests 2020-04-03 18:25:22 +02:00
David Brochart 8f43a6b7d8 Add CI status badge 2020-04-02 12:04:04 +02:00
David Brochart 27f6d83cc9
Fix tests (#97)
Fix tests
2020-04-02 11:42:15 +02:00
David Brochart b2adb6a64f Remove flake8 2020-03-31 13:21:25 +02:00
David Brochart 7298ce949a Add conda installation to GH actions 2020-03-31 13:21:25 +02:00
David Brochart 3a58dd75b1 Add GitHub actions 2020-03-31 13:21:25 +02:00