question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide consistent URL for github release zipfiles

See original GitHub issue

Although GitHub’s own release API documentation makes it sound like a unique filename is required across a project’s assets, in fact uniqueness is only enforced within each release.

It could simplify scripting and install guides if the grocy source bundle could be provided with a static asset name.

This could also provide additional hosting resilience and reduced personal hosting costs (perhaps via server-side HTTP redirect) for installations that currently download from releases.grocy.info.

Your hosting looks good and I have no concerns with it (servus to you too!).

Edit: remove illustrative example releases (these have been removed)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
berrndcommented, Mar 22, 2020

often they have dist contents which should be sufficient?

Sure, in most packages more than needed is included (for both Yarn and Composer packages), but because there is no standard folder structure for what is needed or not, I don’t think it’s worth the effort (and common) to hand-pick each package manually…

1reaction
berrndcommented, Mar 22, 2020

composer.json and package.json is not needed in the release ZIP, because the Composer/Yarn dependencies are included (the user does not need to install them manually, just unpack the ZIP).

There is nothing more involved that the create_release_package.bat (upload happens manually). So if you think something should be included in the release ZIP, feel free to modify that file (like you already did).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting permanent links to files - GitHub Docs
When viewing a file on GitHub.com, you can press the "y" key to update the URL to a permalink to the exact version...
Read more >
Is there a link to GitHub for downloading a file in the latest ...
A few years late, but I just implemented a simple redirect to support https://github.com/USER/PROJECT/releases/latest/download/package.zip .
Read more >
How to download a GitHub repo as .zip using command line
zip file from GitHub using the command line in Ubuntu. I am using wget command for it on a remote Ubuntu system. I...
Read more >
Go Modules Reference - The Go Programming Language
A proxy URL indicates the go command should contact a module proxy using the ... latest version of each module path that might...
Read more >
New! Improve your Releases with Git Download Updater 1.3
As an example: you can use GitHub actions to build your production-ready zip file, attach the zip file to the release, and select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found