Skip to content
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

Multiple versions of platform-raspberrypi at the same time? #84

Open
martincerven opened this issue Oct 23, 2024 · 2 comments
Open

Multiple versions of platform-raspberrypi at the same time? #84

martincerven opened this issue Oct 23, 2024 · 2 comments

Comments

@martincerven
Copy link

There were some breaking changes of earle's core & SDK2 with micro ros so I'm using some older version of platform-raspberrypi with:

platform = https://github.com/maxgerhardt/platform-raspberrypi.git#196d31bbafaf60b84751b1a415d8dca2365debdf

But when I want to test something with latest platform-raspberrypi with different pio project, it keeps downloading all the dependencies over again.

Is there a way to keep different platform versions installed or it will always overwrite dependencies with current project's ones?

@maxgerhardt
Copy link
Owner

I think this is an issue with the PlatformIO core, it sees no necessity to keep the old git version when updating to a new git version. This surely saves space, but not in this case.

I don't think this can be solved right now. We would have to switch to stable packages from the PIO registry for that. But integration into mainline PlatformIO is likely blocked for the foreseeable time.

@Jason2866
Copy link

One way would be not providing via git/hash. Making a release zip and providing the URL will help. It still gets reinstalled but it does not download again, it uses the version in cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants