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

Build without Git #382

Open
guoyunhe opened this issue Oct 22, 2019 · 2 comments
Open

Build without Git #382

guoyunhe opened this issue Oct 22, 2019 · 2 comments

Comments

@guoyunhe
Copy link

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
Copy link
Member

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
Copy link
Author

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.

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