libretro / libretro-chailove

:heart: 2D Game Framework with ChaiScript
https://raw.githack.com/libretro/libretro-chailove/docs/index.html
MIT License
70 stars 22 forks source link

Build without Git #382

Open guoyunhe opened 5 years ago

guoyunhe commented 5 years ago

For other cores, if Git is not installed in the system (Linux packaging system), they simply skip the step. But this core will throw errors and terminate build.

RobLoach commented 5 years ago

Git is used for source management. Could you install git?

Alternatively, we could start using GitHub Actions to archive the whole source together with git-archive-all or similar. https://github.com/Kentzo/git-archive-all

guoyunhe commented 5 years ago

I am packaging for openSUSE. Usually I can only submit source tarball from the GitHub releases. Even if Git is installed, it won't get commit history and tags. What I can do now is to mock git history and tags: https://build.opensuse.org/request/show/741933#n39

For most Linux distributions, if GitHub releases are available, they won't download whole git repo, which will use a lot more server resources.