Pavel Zwerschke
98533bfd94
Upload conda-bld artifacts for failed builds ( #2058 )
2022-10-28 17:09:23 +02:00
Antoine Prouvost
40772bc540
Fix CI by pointing to updated feedstock and fixing update tests ( #2055 )
...
Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com>
2022-10-28 08:51:41 +02:00
AntoinePrv
83875f459b
Don't use micromamba feedstock patch on Win
2022-10-26 14:35:42 +02:00
Antoine Prouvost
2b3a6dc787
Fix windows CI ( #2034 )
...
Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com>
2022-10-19 23:20:02 +02:00
Wolf Vollprecht
5251f93c3d
Merge pull request #1903 from AntoinePrv/test-isolation
...
Test Isolation 2 (TBC)
2022-10-14 09:10:37 -07:00
Wolf Vollprecht
d839af71d1
Test stubs ( #2025 )
...
test pybind11-stubgen generation
2022-10-14 15:21:26 +02:00
AntoinePrv
50d2041dd6
Explicit TEST_MAMBA_EXE on Windows
2022-10-14 11:03:53 +02:00
Wolf Vollprecht
3e34b1e3fe
test dash and remove csh (only keep tcsh for now)
2022-10-13 21:03:34 +02:00
Wolf Vollprecht
0434a27f4e
add tcsh testing
2022-10-13 16:24:20 +02:00
Pavel Zwerschke
71fb74060f
Remove unnecessary env variable ( #1989 )
2022-10-04 11:53:10 +02:00
Pavel Zwerschke
b72fc933f5
Add cross-compilation builds ( #1976 )
2022-10-04 11:22:02 +02:00
Wolf Vollprecht
a3850e2e59
fix workflows for main rename
2022-09-28 17:43:48 +02:00
Pavel Zwerschke
94d31222df
Remove unneccessary code in micro.mamba.pm CI test ( #1912 )
2022-09-11 12:24:24 +02:00
Pavel Zwerschke
7a4f488568
Fix zsh for micro.mamba.pm ci ( #1848 )
...
Fix micro.mamba.pm ci
2022-09-01 15:07:04 +02:00
Jonas Haag
aa60596675
Don't run fully static Windows builds on branches ( #1892 )
...
* Move static builds to separate workflow
* Move static builds to separate workflow
* Don't run Windows fully static build on branches
2022-09-01 14:51:08 +02:00
Pavel Zwerschke
ecebdba7fb
Use separate artifact names per OS
...
Co-authored-by: Jonas Haag <jonas@lophus.org>
2022-08-31 11:41:56 +02:00
Pavel Zwerschke
c720f4f4f8
Add errorlevel checks in cmd.exe
2022-08-31 11:41:56 +02:00
Pavel Zwerschke
1b868b5bda
Remove micromamba version constraint
2022-08-31 11:41:56 +02:00
Pavel Zwerschke
7ef496e1b9
Add static micromamba build in CI
2022-08-31 11:41:56 +02:00
Joël Lamotte (Klaim)
daf63f0e5b
CI: move stats and checks runs separate from build runs
...
This is to avoid false-positive on CI (success when builds fails) when
```
...
ninja #builds fails
sccache --show-stats # succeeds
```
ends up in the whole run being considered as a success instead of a failure.
2022-08-11 19:39:43 +02:00
Jonas Haag
ae47358138
Stop old builds in same branch/PR ( #1843 )
2022-08-06 00:37:36 +02:00
Jonas Haag
0ebead36e5
Add micro.mamba.pm test cronjob ( #1752 )
2022-08-06 00:36:47 +02:00
Jonas Haag
2430450616
CI: Add fully static micromamba build ( #1821 )
2022-08-03 19:59:54 +02:00
Jonas Haag
41d99c81d9
Mamba: Print banner to stderr, and don't print on 'run' ( #1810 )
...
* Mamba: Don't print banner to stdout
2022-07-21 16:27:27 +02:00
Wolf Vollprecht
9437462a91
Merge pull request #1781 from pavelzw/micromamba-deinit-no-type
...
Add micromamba deinit shell command
2022-07-21 09:34:31 +02:00
Pavel Zwerschke
e1bf7b9901
Add micromamba deinit shell command
...
Fix xonsh + fish micromamba shell init
2022-07-20 17:29:45 +02:00
Antoine Prouvost
52335d9c80
Fix Python version in CI
2022-07-20 14:02:22 +02:00
Jonas Haag
d1358d6707
Fix libmamba_static_win build ( #1798 )
2022-07-15 13:36:26 +02:00
Antoine Prouvost
82a659d4f7
Always cleanup in GHA and fix conda-content-trust branch name ( #1778 )
...
* Always cleanup in GHA
* Rename conda-content-trust default branch to main
2022-07-07 10:29:16 +02:00
Wolf Vollprecht
be09db63f6
use prev micromamba
2022-05-12 14:56:57 +02:00
Wolf Vollprecht
9db5e26652
Implement micromamba login command ( #1598 )
2022-04-21 15:34:15 +02:00
Jonas Haag
2e50484c5e
CI: Use Sccache ( #1606 )
2022-04-01 09:41:04 +02:00
Wolf Vollprecht
b11ff08a05
use windows-latest
2022-02-07 18:21:37 +01:00
Jonas Haag
a7d7498951
Incremental ccache updates ( #1445 )
2022-02-07 11:15:21 +01:00
Chris Burr
01a336c0c1
Get clang-format from PyPI and version pre-commit hook
2022-02-01 19:50:46 +01:00
Wolf Vollprecht
7ef46956f6
debug and fix tests
2021-12-07 09:38:55 +01:00
Wolf Vollprecht
1d447979bf
use winreg from conda-forge
2021-12-02 09:34:07 +01:00
Adrien DELSALLE
3a3f050c18
preserve current behavior
...
make default log level to warning
increase log level with verbosity
set default backtrace to 0
disable backtrace if log_backtrace is set to 0
fix macos CI cache by fixing the timestamp
2021-11-05 15:18:26 +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
Adrien DELSALLE
52c60a73ca
build static umamba on win
...
save artifact without requiring libmamba shared
2021-10-29 09:29:48 +02:00
Adrien DELSALLE
7423dab791
export all symbols on win
...
install libmamba shared library to execute tests or micromamba
2021-10-29 09:11:09 +02:00
Adrien DELSALLE
525914a3b5
fix CI
...
format CMakeLists files
2021-10-28 17:05:47 +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
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
Adrien Delsalle
8b568ccad2
Break some circular deps between Configurables ( #1151 )
2021-10-01 11:22:37 +02:00
Adrien Delsalle
4447b94e48
add content trust bindings ( #1126 )
...
add an overload to generate an ed25519 key pair
add python bindings for content trust core api
add sign, PkgMgrRole and Key::to_json to bindings
add an overload with c++ api for signing
make V06RoleBaseExtension a public base of roles
add v06 constructors using json string
add tests
remove nl namespace alias leading to wrong python bindings
2021-09-21 10:44:50 +02:00
Soraxas
05bde9d6d4
Implements support for fish shell ( #1152 )
...
Signed-off-by: Tin Lai <oscar@tinyiu.com>
2021-09-08 10:58:51 +02:00
Wolf Vollprecht
9dd8c5a3ad
Fix failing CI due to Windows runners update ( #1118 )
2021-08-10 13:12:29 +02:00
Wolf Vollprecht
812ea8a066
attempt to run tests with local channel ( #1090 )
2021-07-16 19:44:50 +02:00
Wolf Vollprecht
5ab06d176f
add mamba shell init ( #1078 )
2021-07-13 16:56:57 +02:00
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