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

README.md direct URL example #8

Open
chaseadam opened this issue Oct 25, 2022 · 0 comments
Open

README.md direct URL example #8

chaseadam opened this issue Oct 25, 2022 · 0 comments

Comments

@chaseadam
Copy link

Attempting to use the "direct URL" example and ran into several issues:

  • It uses a non-raw URL example which presumable is unusable, but also results in very large payload, triggering a memory error
  • Tip of master requires user and repo as arguments, but they are missing
  • Extra / separator at the end

Seems /blob urls may have worked in the past, but no longer work for raw files.

Non-working:

GITHUB_URL = "https://github.com/RangerDigital/senko/blob/master/examples/"
OTA = senko.Senko(url=GITHUB_URL, files=["boot.py", "main.py"])

Working:

GITHUB_URL = "https://raw.githubusercontent.com/RangerDigital/senko/master/examples"
OTA = senko.Senko(None, None, url=GITHUB_URL, files=["boot.py", "main.py"])
@chaseadam chaseadam changed the title README.md example README.md direct URL example Oct 25, 2022
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

1 participant