Commit Graph

11 Commits

Author SHA1 Message Date
Antoine Prouvost 6bd785d7e5
Document specs::Channel (#3077)
* Add CondaURL doc

* Add specs::Channel documentation

* Document Version and VersionSpec

* Shortcut redirect
2023-12-22 15:51:14 +01:00
Antoine Prouvost 32961e93c2
Remove dead mamba.py doc (#3078) 2023-12-21 15:33:37 +01:00
Rohit Goswami a42baafb92
DOC: Fixup python-api docs slightly (#2285)
* DOC: Fixup python-api docs slightly

* DOC: Fixup imports

Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com>

* DOC: Add a little more text

---------

Co-authored-by: Wolf Vollprecht <w.vollprecht@gmail.com>
2023-07-03 09:40:49 +02:00
Hind-M 9831342dd1
Resume `Context` structuring (#2460)
Add ThreadsParams and PrefixParams in Context
2023-04-25 10:02:51 +02:00
Duncan Macleod 508a5c6207
Use check_allowlist from conda (#2220) 2023-01-13 14:24:11 +01:00
Antoine Prouvost ab22b63985
[MER] Add experimental flag for error messages (#2080)
* Add experimental flag for error messages
* Bind MSolver::explain_problems
* Use Solver.explain_problems in mamba
* Rename MSolver::solve > MSolver::try_solve
* Add MSolver::must_solve
* Add [[nodiscard]] to MSolver
* Change solve -> try_solve in tests
* Used shared_ptr for MPool
* Make MSolverProblem a flat data type
* Add deprecation warnings for Solver.solve
* Add tree error message to MSolver
2022-11-10 18:54:41 +01:00
martinRenou 3a1a7256a3
Add high-level Python API (#1656) 2022-05-06 18:59:35 +02:00
Wolf Vollprecht d814d24c50
remove prefixdata.load() (#1555) 2022-03-02 18:06:06 +01:00
Adrien Delsalle 129920a304
Improve progress bars (#1350)
* refactor progress bars
* use fmt to better format progress bars fields
* add a Chrono class to handle time and status/state
* add a ProgressBarRepr class to handle representation of the bars
* add capability to remove progress bars from a manager
* add capability to set width when computing bars repr and printing
* handle no_progress_bars context value in all situations
* also ensure quiet, not a tty, and json modes are handled
* add and update tests
* make it optional to display sub-bars in aggregated mode
* display a carrousel of downloading or extracting packages is the aggregated bar
* make sure extracting packages from cache are printed by the progress bars manager
* remove postfix when printing the completed download status
* protect chrono state against modifications when sorting bars
* fix to_human_readable_filesize free function
* only wait for watch_print thread to exit if started
* store speed, also compute average speed from member or Chrono elapsed time
* use the average speed on download aggregated bar if cURL info is missing
* allows to get average speed on total elapsed time
* improved color scheme of progress bars
* collect and show the in-progress status using cyan
* init the progress randomly when activating spinner
* control sorting of multi downloads using an option
* use C-style options also for fastfail
* make sure pbar manager is init on multi bars when dl channels
* refactor on api changes
2022-01-26 15:47:13 +01:00
Alex Franchuk 706e8fdfe1 Fix a few of the tests.
The python tests will probably still need some more changes.
2021-07-01 14:55:25 -04:00
Adrien Delsalle 3823b6a7ed
refactor documentation (#953) 2021-05-20 18:30:31 +02:00