I have a small github repo to convert MS Word Documents, but most people will just want the binary.
Should I
src/
and bin/
directories with the most up to
date .exe
in with the code and expect people to download the whole lot?The hubapp command line tool lets you install app binaries from github user's releases. Once installed, simply select the version you require from the dropdown and start using the downloaded github user's app.
Binaries are stored in the filestore and their metadata is stored in a database. While it's possible to store the binaries in the database as a BLOB, it is not recommended because databases have limitations when storing large files and this can lead to performance degradation and negatively impact operational costs.
It's no secret that git is terrible at handling binary files out of the box. This can often be addressed with git plugins such as git-lfs and the like which use a centralized server as a host for the files and the git repository simply acts as a collection of pointers to the files used in a specific database.
You can click the “Upload files” button in the toolbar at the top of the file tree. Or, you can drag and drop files from your desktop onto the file tree.
To host that binary for your application, you now can, since 2nd July 2013, define a release.
Releases, a workflow for shipping software to end users.
Releases are first-class objects with changelogs and binary assets that present a full project history beyond Git artifacts. They're accessible from a repository's homepage:
That replaces the old binary upload service, which was removed in December 2012 (as you mention in your question).
Probably not what you want to hear, but in your case this is mostly personal preference.
You don't have to store the binary in the repo, because it is no important dependency. It is the other way around: everything you need to recreate the file should be in your repository (including Makefiles/project files).
You can store the binary in the repo because it is fairly small. You should not store it in the repository when the overall size in the repository (base size + diffs, depending how big the diffs are) is overwhelming, but this does not seem to be the case (500 KiB according to your repo).
My personal preference is to never store generated files (binaries, but also generated text files) in the repo. Possibly because I have experience with 2 GiB csv repositories that take ages to pull. (to be fair: it also takes ages to compile)
For my github project I created a subdomain on some webspace where I put all my downloads and the index page of that subdomain forwards to my github-pages. The github pages link to the downloads on my webspace subdomain. Just because I like my github subdomain a bit more for this project.
My tool works for different platforms though, so not every user needs every binary file. The binaries actually are backends (therefore dependencies), but interchangeable/optional
You can have a look at my setup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With