James

Results 2692 comments of James

Thanks for the feedback. I have been checking this, and it is true, there are several code paths that could cause corruptions in the cache if killed abruptly. In general...

> I was wondering if a simple solution would be that conan downloads and extracts first in a temporary folder and next, uppon success, moves it to the proper location,...

> The Sqlite DB is one of them. But what we typically see is errors about files or folders not being there. So to my understanding those file/folders are really...

Hi @puetzk Thanks for the report. This wouldn't be a regression, but Conan 2 provide a better distinction between ``validate()`` and ``validate_build()``. See the following test: ```python def test_compatible_validate_error(): c...

Thanks for the extensive feedback. > But they both ignore it, continue on, and pick the arch=x86_64 package_id from the cache anyway. But this is expected, indeed the ``validate_build()`` method...

Thanks for the extensive details to reproduce @puetzk, that helped a lot, I have been able to reproduce. It seems a challenging issue derived from the depth-first dependency resolution algorithm,...

It would also be interesting to understand the usage of ``self.requires("lib_b/1.0", visible=False)``. This ``visible=False`` in the example above is typically unnecessary, being ``lib_c`` a shared-library and ``lib_b`` a static library,...

I am experimenting in https://github.com/conan-io/conan/pull/19286 with a new ``consistent`` trait (name might change) concept, that would allow to customize this without necessarily breaking users that might rely on the current...

Hi @puetzk > https://docs.conan.io/2/devops/vendoring.html is close to what they want, but it's all-or-nothing, and sometimes there is a shared library whose run=True needs to come through in the virtualenv generator,...

Hi @vasama Thanks for your question. > When the package is used in editable mode, as ever, things seem a lot more complicated. When using CMake for example, object files...