Skip to content

Commit

Permalink
Disable git-archive
Browse files Browse the repository at this point in the history
Since configure uses git-version-gen which in turn depends
on "git describe" or  a .tarball-version file, raw archives
generated by "git archive" cannot be built.

* .gitattributes: New file.
* README-github_gitlab-autogenerated-archives.txt: Likewise.
  • Loading branch information
ldv-alt committed Sep 18, 2018
1 parent 96df4b3 commit 9eeab98
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
/* export-ignore
/README-github_gitlab-autogenerated-archives.txt -export-ignore
11 changes: 11 additions & 0 deletions README-github_gitlab-autogenerated-archives.txt
@@ -0,0 +1,11 @@
github/gitlab autogenerated archives are not supported
======================================================

This information applies to bundles automatically generated
by github and gitlab.

strace's program version is maintained using git-version-gen script, therefore,
building strace depends on "git describe" (a full git clone is needed for this)
or, alternatively, a .tarball-version file. Neither github nor gitlab can
provide the latter, they also do not allow to inject a .tarball-version file
during export archiving.

0 comments on commit 9eeab98

Please sign in to comment.