Commit Graph

12 Commits

Author SHA1 Message Date
Hind-M 3e1e97b0e6
Add checking typos to pre-commit (#3278)
* Add checking typos to pre-commit

* Add missed corrections

* Add more corrections to doc
2024-05-27 09:16:14 +02:00
Hind-M cad6793e21
[mamba-content-trust] Add integration test (#3234)
* -Fix trusted_channels in ctx not working with more than one item
-Add test for mamba-content-trust (mamba client side) using conda-content-trust (server side)
-Add missing install with pip (to fix)

* Remove repo_signed (supposed to be generated with testserver_pkg_signing.sh)

* Add MAMBA_ROOT_PREFIX to Taskfile.dist.yml
2024-03-20 10:58:29 +01:00
carschandler 36dd8fe100
Make Taskfile.dist.yml Windows-compatible (#3219)
* Make Taskfile.dist.yml Windows-compatible

* Add comment clarifying Windows-compatible Taskfile
2024-03-14 12:01:43 +01:00
Antoine Prouvost daeb96cb08
Make libsolv wrappers into standalone library (#3181)
* Move solv-cpp into standalone library

* Remove mamba namespace from solv-cpp

* Switch solv-cpp to object library

* Install solv-cpp object library

* Fix doctest

* Fix windows path
2024-02-08 10:49:53 -05:00
Antoine Prouvost 7d6856e9b5
MRepo refactor (#3118)
* Rename Enum members in MRepo

* use solv::Pool in MRepo

* Free MRepo add_pip_as_python_dependency

* Free MRepo repodata reading

* Free MRepo read_solv

* Free MRepo write_solv

* Remove MRepo constructor

* Remove MPool capture from MRepo

* Add missing pip dependency

* Refactor solv file serialization

* No lock on non-existant files

* Cleanup dead code

* write_solve create-directories

* Clean MRepo member functions

* Decouple MRepo and Pool

* Finetune Clang-format

* Add filename location to error

* Do not fail on solv file write

* Load new pool loader for repodata and .solv files

* Remove repo name in favor of URL

* Refactor MRepo index loading

* Fix SubDirData.writable_solv_cache

* Fix solv file loading

* Lock repodata.json while reading metadata

* Refactor expected in load_subdir_in_pool

* use expected in solver helpers

* Refactor helpers functions and error messages in Repo

* Add MPool::create_repo_from_packages

* Use load_installed_packages_in_pool

* Remove MRepo ctor

* Fix rebase

* Refactor MRepo::priority

* Update Taskfile realpath to work on MacOS

* Fix virtual packages being removed

* Move MRepo::priority to MPool

* Rename MRepo > solver::libsolv::RepoInfo

* Move RepoInfo parameters for its own library

* Move make_package_info to helpers

* Add libmambapy.solver.libsolv

* Add solver::libsolv::Priorities op

* Bind libsolv parameters

* Bind RepodataOrigin

* Merge libsolv/serialization and libsolv/parameters

* Bind new MPool methods

* Add RepoInfo op

* Add RepoInfo changes to log

* Rename attribute

* Remove RepoInfo::repo
2024-01-17 16:44:47 +01:00
Antoine Prouvost de69846617
Add Breathe for API documentation (#3087)
* Add Doxygen+Breathe for C++ doc

* Rename doc sections

* Fix Taskfile

* Add mamba::specs reference

* Fix RTD file
2024-01-02 16:23:03 +01:00
Antoine Prouvost 212d1e9ad2
Remove hard coded mamba (#3069)
* Remove hard-coded micromamba

* Revert test_env

* Fix Taskfile

* Put mamba inside the feedstock

* Fix permission error

* Move git safe dir

* Restore micromamba-feedstock main branch

* Try chown
2023-12-19 08:54:50 +01:00
Antoine Prouvost cd744e765c
Channel initialization (#2953)
* Set default_channels at config level

* Resolve default multi channel at the config level

* Fix Yaml source printers

* Resolve local multi channel at the config level

* Remove ChannelContext::make_simple_channel

* Remove Channel::name usage

* Factorize split_once functions

* Try looking for name match in URL path

* Refactor ending_splits_in

* Code improvement

* Replace get_common_parts with concat_dedup

* Remove Channel::name

* Remove Channel::location

* Use URL for priority in channel loader

* Make Channel value-based

* Add range hashing

* Add Channel comparison and hash

* Make channel map/list return by value

* Resolve 1

* Resolve 2

* Resolve 3

* Remove unknown channels

* Hide get_known_platforms

* Add unknown ChannelSpec

* Remove unused function

* Rename Channel::canonical_name > display_name

* Remove Channel friend class

* Add Channel::resolve

* Remove ChannelContext::from_value
2023-11-15 15:52:59 +01:00
Antoine Prouvost 09cbb34e54
Simplify and correct development documention (#2975)
* Use a single file for contributing guidelines

* Add doc builds to taskfile

* Fix sphinx warnings

* Simplify development doc

* Document Taskfile

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Update dev_environment.rst

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>

* Add test-docs task

---------

Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
2023-11-14 11:59:44 +01:00
Antoine Prouvost e6967058a9
Update dependencies on OSX (#2976)
Upadte dependencies on OSX
2023-11-14 08:51:15 +01:00
Antoine Prouvost 0d42e81667
Modularize libmambapy (#2960)
* Modularize libmambapy

* Add test-libmambapy to Taskfile

* Fix libmamba installation

* Fix standalone libmambapy configuration

* Change libmambapy layout

* Add scikit-build

* Fix libmambapy extension name

* Add submodules shims

* Fix libmambaoy tests

* Fix stubgen

* Adapt libmambapy tests to scikit-build

* Read version from Python

* Replace confusing names
2023-11-10 18:29:16 +01:00
Antoine Prouvost c33df03cba
Dev workflow (#2948)
* Add dev-extra tools

* Refactor CMake Presets

* Add taskfile

* Rename Taskfile

* Add .gitignore entry
2023-10-30 12:21:25 +01:00