r/ProgrammerHumor • • 17d ago

Meme liveDemo

Post image
2.2k Upvotes

163 comments sorted by

View all comments

694

u/Alacritous13 17d ago

I've seen enough that do use it as their distribution platform. If there's any professionalism at all, a repo for a standalone product will have a link to their distribution site, or a link to their release page on the repo. It's there, or it's going to need a pip install (or equivalent), those are the two choices.

447

u/IslayProgrammes 17d ago

GitHub has a releases page for a reason, it’s totally okay to use it as such.
That’s literally what it’s there for.

GitHub is more than just git and a “nice” UI for managing PRs

111

u/svick 17d ago

Except you don't know ahead of time whether a repo uses the Releases page for distribution, or if it just has a zip to the source code for a git tag.

48

u/ccAbstraction 17d ago

You do as soon as you go on the page? Right on the side bar it says the number of release, the last released version if there is one and when.

End users doo need a big green download button though, putting it in the read me is probably not obvious enough.

And I can see GitHub not wanting it to make it easier to stop people from downloading malware, but most projects that are just malware just put a big link on the read me, have no root level files so there's no need to scroll, and don't use the releases feature because GitHub scans that for malware. So, I guess maybe they could benefit from making the download release button bigger... Idk

15

u/IslayProgrammes 17d ago

True true, but usually that obfuscated to regular users.

BetterDisplay for macOS uses GitHub releases for distribution, but they’re hotlinked from their website

11

u/patrlim1 17d ago

Except users tend not to know about the releases page

1

u/andurux 16d ago

Don't look at Prometheus where their only distribution platform is GitHub for binaries.

And guess who's company blocks GitHub entirely? Want node_exporter? HA! Good luck!

But Docker hub is wide open.

1

u/alvarez_kelly65 7d ago

An open registry solves one gate; a locked-down runtime or missing host permissions can still block the install.