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

why storing binary font files in the repo? #30

Open
anthrotype opened this issue Apr 5, 2018 · 1 comment
Open

why storing binary font files in the repo? #30

anthrotype opened this issue Apr 5, 2018 · 1 comment

Comments

@anthrotype
Copy link

Hi,
I just stumbled on this project. Please excuse me if this has been discussed before already.
I was a bit surprised to see you are recommending to store the built TTF/OTF files inside the git repository along with the rest of the other source files, especially since this is being proposed as a "standard way to organize Open Source font project source files".
The font files are not "sources" but the result of building from the sources (e.g. UFO, .glyphs, etc.). Git is for version control of source files. It can't produce meaningful diffs for binary blobs, and their presence can cause merge conflicts, and makes the size of the repository become bigger and bigger.
Any binary built artifacts could be best stored using Github Releases, which reference the state of the source files with a precise git tag.
If one really wanted to store source files in binary format (e.g. photos) one would use things like https://git-lfs.github.com/. But fonts here are really not the sources, but the product.

@raphaelbastide
Copy link
Collaborator

Most visitors will first try to find the binaries in the repo by using directly the download button. But UFR is supposed to be a set of good practices so I agree with your comment. It can be even more clear for potential users to see a download link to the last release in the readme, and even more accessible than Github hidden download button.. This can be there by default. The downside is that this link will have to be adapted to non GitHub websites (e.g. Gitlab).

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

No branches or pull requests

2 participants