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

Handle versions of CircuitPython without current bundles #133

Open
dhalbert opened this issue Dec 17, 2021 · 1 comment
Open

Handle versions of CircuitPython without current bundles #133

dhalbert opened this issue Dec 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@dhalbert
Copy link
Contributor

Currently, circup only handles the versions of CircuitPython that are listed in

PLATFORMS = {"py": "py", "7mpy": "7.x-mpy"}
.

Proposal: handle all versions.

  • Remove version check.
  • Attempt to find the latest bundle for the detected version.
  • If no bundle can be found, download a "latest" version that is kept on AWS S3. These bundles will be a copy of the "last available" bundle for a version of CircuitPython, listed here: https://learn.adafruit.com/welcome-to-circuitpython/frequently-asked-questions#faq-3105289. But the AWS S3 copy should be renamed so it does not include the timestamp. This will allow it to be updated without having to update circup.
  • If no "latest" bundle can be found for a deprecated version, then fail with an informative message.

These changes will make it unnecessary to update circup when we add a new major version of CircuitPython or deprecate an old one.

@dhalbert dhalbert added the enhancement New feature or request label Dec 17, 2021
@dhalbert
Copy link
Contributor Author

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

No branches or pull requests

1 participant