Skip to content

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

Open
@SRGDamia1

Description

@SRGDamia1

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

env_lm = LibraryPackageManager(
os.path.join(config.get("platformio", "libdeps_dir"), project_env),
compatibility=(
PackageCompatibility(**compatibility_qualifiers)
if compatibility_qualifiers
else None
),
)
,
storage_dir = Path(config.get("platformio", "libdeps_dir"), project_env)
,
lm = LibraryPackageManager(
os.path.join(config.get("platformio", "libdeps_dir"), project_env)
)
, 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions