-
Notifications
You must be signed in to change notification settings - Fork 414
maint: Make spdlog a private dependency #3945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Julien Jerphanion <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3945 +/- ##
=======================================
Coverage ? 63.73%
=======================================
Files ? 302
Lines ? 37912
Branches ? 2836
=======================================
Hits ? 24165
Misses ? 13692
Partials ? 55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Not sure if this is enough or if we are missing other things, but we should at least remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spdlog cannot be a private dependency as long as spdlog.h
is included (even indirectly) in a publicly exposed header of libmamba.
I think it should not be problematic to make util_scope.hpp
(the only eader including it directly) a private header of libmamba,; the issue is that the libmamba tests also use it; adding the src folder to the include directories of test_libmamba would solve the issue for local build, but it would not work for testing already installed libmamba (and I think we probably need this use case for some package managers). Notice that this code could be duplicated for the tests though.
Actually let's go with private headers, and deactivate the tests of private headers in the context of an already installed library. The libmamba test CMakeLists.txt already adds the source directories of mamba to the include directories of the test target. |
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
- new logging system for users to plug-in a log handler which will receive log records from `libmamba` and do whatever appropriate logging impl they want with it (this is separate from the "console" output, only concerns logging); - provides a `spdlog`-based log handler, which should do what previous `libmamba` versions did; - `Context` can be initialized with a provided log handler; - By default, if no provided log handler and logging is enabled, `Context` will setup a `spdlog`-based log handler; (more to come: stdlib log handler, noop log handler, test log handler) Note that this is a stepping stone towards removing `spdlog` as dependency of `libmamba` (see also mamba-org#3945)
Fix #3925.
spdlog
will need to be removed then.