-
Notifications
You must be signed in to change notification settings - Fork 21
Support chunked transfers in wget #118
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
Open
relic-se
wants to merge
6
commits into
adafruit:main
Choose a base branch
from
relic-se:chunked-transfer-encoding
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
571239a
Support chunked transfers in wget
relic-se cf1ec95
Fix encoding check
relic-se f790b71
Fix formatting errors
relic-se c30a111
Merge standard and chunked download process to avoid PLR0915
relic-se dc7ecff
Fix `OutlinedLabel` deprecation error
relic-se cdbce86
Compatibility with frozen adafruit_display_text module
relic-se File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should wait a bit on changing this. Some of the device specific libraries that are use PortalBase are for devices with Display Text frozen in.
Unless users of those devices put the latest Display Text library in the root of CIRCUITPY, they won't have access to the newest version.
I think this should only change here after there is a new core release that includes the updated Display Text frozen in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does unfortunately mean that when this library is in use on devices without frozen Display Text it will be printing that deprecation message.
Maybe we should disable the warning print for now and only turn it back on after that release is out so that updating is possible / easy for all devices.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I should be able to catch an
ImportErrorso that it will work in both scenarios. Normally, I wouldn't want to touch this in the PR, but it was throwing an error in addition to the deprecation warning:Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know if the most recent commit, cdbce86, works for you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Portal_Base is also a frozen library. Maybe some code that checks if the Bitmap Label has
outline_colororoutline_sizeproperties might work well enough.