Commit Graph

20 Commits

Author SHA1 Message Date
Wolf Vollprecht f6e717173c
make tarballs look more similar to conda-package-handling, add compression threads (#2177) 2023-01-03 17:56:12 +01:00
Antoine Prouvost f32b42e3f2
Move to fmt::terminal_color and other output IO improvements (#2085)
* Remove termcolor for fmt
* Reimplement termcolor::is_atty
* Switch to fmt::terminal_color
* Add missing header for to_utf8
* Add Context color palette
* Refactor progress bar to use palette
* Remove misleading flag-like enum
* Fix windows build
* Remove output::format
* Add visited colors for repoquery
* Use palette in SAT error messages
* Console::stream() clear line
2022-11-21 14:22:51 +01:00
Jonas Haag eea9407d30
Test special characters in basic auth (#2012) 2022-10-29 17:55:37 +02:00
AntoinePrv d6316a91cf Pin pytest 2022-10-26 11:27:45 +02:00
AntoinePrv 4e2a91bea7 Direct dependency on fmt 2022-10-26 10:49:50 +02:00
Adrian Freund 02e4385d2f
Add support for configuring proxies in .condarc (#1814)
* Add support for proxy settings in .condarc

This commit is based on https://github.com/mamba-org/mamba/pull/161/

* Add test for proxy configuration

* Remove env variables from proxy servers configurable

They are already handled by curl

* Add tests for proxy_match

* Remove and improve debug messages

* Use EXPECT_STREQ for proxy match tests

* Use std:string instead of char*

* Add micromamba proxy tests

* Retrigger CI

* Try to fix proxy tests in CI

* Add missing file and fix executable name

* Try to fix windows build

* Use install xtensor package for proxy test

* Try to fix tests on windows

* Pass proxy settings between libmamba and mamba

* Use long form of `--script` parameter for mitmproxy

Co-authored-by: Jonas Haag <jonas@lophus.org>

* Clarify variable name

Co-authored-by: Jonas Haag <jonas@lophus.org>

* Add docstring to dump_proxy_connections.py

* Add explanation to micromamba proxy test

* Cleanup proxy_match function

* Redact passwords in proxy urls when logging

* Renamed redact_url to redact_url_password

* Revert "Renamed redact_url to redact_url_password"

This reverts commit ca39afda21.

* Revert "Redact passwords in proxy urls when logging"

This reverts commit 270eb70420.

* Use existing hide_secrets function to hide password in proxy url

* Rewrite proxy_match function to be in line with conda

Co-authored-by: Jonas Haag <jonas@lophus.org>
2022-09-08 17:48:27 +02:00
AntoinePrv 4cf684f55d Add pywin32 to windows micromamba tests 2022-08-19 17:29:48 +02:00
Joël Lamotte (Klaim) 5f2bd74d6f Revert "try vs2022"
This reverts commit 4a4c65747ec8707951c0ddb7c0c0cd6fb7345610.
2022-08-12 17:25:10 +02:00
Wolf Vollprecht 0ff503c483 try vs2022 2022-08-12 14:37:50 +02:00
Joël Lamotte (Klaim) 9790a87a5d Use standard C++ filesystem API only 2022-08-12 14:37:49 +02:00
Wolf Vollprecht 9db5e26652
Implement micromamba login command (#1598) 2022-04-21 15:34:15 +02:00
Wolf Vollprecht 151d0ebddb use cli11 2.2 2022-04-14 15:34:24 +02:00
Jonas Haag 2e50484c5e
CI: Use Sccache (#1606) 2022-04-01 09:41:04 +02:00
Joël Lamotte (Klaim) 4554063c7b Constrains cli11 to v2.1.2
This is to prevent broken builds with cli 2.2.0 update.
2022-03-28 15:48:25 +02:00
Wolf Vollprecht d07ee8abac
Merge pull request #1563 from JohanMabille/expected
Plugged tl::expected and refactored MSubdirData construction
2022-03-10 19:03:38 +01:00
Johan Mabille 3f6bfb59bf Removed dynamic allocation and shared_ptr for subdirdata 2022-03-10 10:16:46 +01:00
John H. Ayad bd9b743342
Bump libcurl to 7.82.0 and add a test that catches the bug (#1569) 2022-03-09 23:11:33 +01:00
Wolf Vollprecht 1d447979bf use winreg from conda-forge 2021-12-02 09:34:07 +01:00
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
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