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

Github-Download #23

Merged
merged 10 commits into from Jan 1, 2024
Merged

Github-Download #23

merged 10 commits into from Jan 1, 2024

Conversation

skerbis
Copy link
Member

@skerbis skerbis commented Dec 31, 2023

Bei Eingabe eines Github Repos wird die aktuelle Main-Branch oder Master heruntergeladen.
z.B: https://github.com/FriendsOfREDAXO/quick_navigation
Bei Eingabe einer Branch-URL wird das Zip des Branch geladen
z.B: https://github.com/FriendsOfREDAXO/quick_navigation/tree/dev

@skerbis skerbis requested a review from eaCe December 31, 2023 19:05
Copy link
Member

@alxndr-w alxndr-w left a comment

Choose a reason for hiding this comment

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

Wenn ich auf den Download klicke, dann wird der Download von folgender URL gestartet:

https://codeload.github.com/<orga>/<repo>/zip/refs/heads/<branch> z.B. https://codeload.github.com/FriendsOfREDAXO/neues/zip/refs/heads/main - sollte nicht besser diese URL verwendet werden?

@skerbis
Copy link
Member Author

skerbis commented Jan 1, 2024

Es werden URLS wie diese aufgerufen: https://github.com/FriendsOfREDAXO/navigation_array/archive/master.zip
oder https://github.com/FriendsOfREDAXO/navigation_array/archive/dev.zip

Das was du wohl im Inspector siehst sind Umleitungsziele für die Short-Urls?
Es war einfacher diese zu übernehmen als gänzlich auf andere Urls umzuschreiben.

@skerbis skerbis merged commit b7bf832 into main Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants