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

Change BASE_REPO_URL to raw.githubusercontent.com #681

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mkrueger92
Copy link

Fixes #673

By using raw.githubusercontent.com over github.com it is possible to access files over IPv6. This helps in environments where IPv4 is not available.

Fixes Koenkk#673

By using raw.githubusercontent.com over github.com it is possible to access files over IPv6. This helps in environments where IPv4 is not available.
@@ -41,7 +41,7 @@ export const IMAGE_V14_1_METAS = {
fileVersion: 14,
fileSize: 249694,
originalUrl: undefined,
url: `https://github.com/Koenkk/zigbee-OTA/raw/master/images/${IMAGES_TEST_DIR}/${IMAGE_V14_1}`,
url: `https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/${IMAGES_TEST_DIR}/${IMAGE_V14_1}`,
Copy link
Collaborator

@Nerivec Nerivec Feb 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should take the opportunity to replace all https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master with ${BASE_REPO_URL}${REPO_BRANCH} / ${common.BASE_REPO_URL}${common.REPO_BRANCH} (depending on imports) to avoid future needs for manual adjustments.

Actually, with this URL style, it might even be possible to just combine the two into BASE_REPO_URL (base+branch I mean). Have to check occurrences of it, see if it works everywhere.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have adjusted the PR according to your request.

@Nerivec
Copy link
Collaborator

Nerivec commented Feb 8, 2025

Note: run reprocess after this is merged to update all manifests automatically.

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

Successfully merging this pull request may close these issues.

Support IPv6 when downloading firmware images
2 participants