platformio/platformio-core

Support specifying the *exact* library folder for a given environment

Open

#4,990 创建于 2024年10月7日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (791 fork)batch import
LDFhelp wantedpackage management

仓库指标

Star
 (7,329 star)
PR 合并指标
 (平均合并 109天 16小时) (30 天内合并 5 个 PR)

描述

What kind of issue is this?

  • Feature Request

I would like to specify the exactly folder for the library dependencies for a given environment. Currently only specifying the parent directory for the group of individual folders is supported. The new folder location would have to be fixed in https://github.com/platformio/platformio-core/blob/b537004a75f4985630b5aec19699e48d4d186746/platformio/package/commands/install.py#L223-L230, https://github.com/platformio/platformio-core/blob/b537004a75f4985630b5aec19699e48d4d186746/platformio/package/commands/install.py#L270, https://github.com/platformio/platformio-core/blob/b537004a75f4985630b5aec19699e48d4d186746/platformio/package/commands/install.py#L314-L316, and probably several other places.

If you could specify the exact location for library dependencies for each environment, it would be easy to share the downloaded dependencies across various environments or projects, solving #4451 without scripting.

贡献者指南