From: Dmitry V. Levin Date: Tue, 18 Sep 2018 21:54:17 +0000 (+0000) Subject: Disable git-archive X-Git-Tag: v4.25~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9eeab9844831ce0a80150eb3dd184badae703d21;p=strace Disable git-archive 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. --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..d4eba3a9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +/* export-ignore +/README-github_gitlab-autogenerated-archives.txt -export-ignore diff --git a/README-github_gitlab-autogenerated-archives.txt b/README-github_gitlab-autogenerated-archives.txt new file mode 100644 index 00000000..9caa33b5 --- /dev/null +++ b/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.