]> granicus.if.org Git - strace/commitdiff
Disable git-archive
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 18 Sep 2018 21:54:17 +0000 (21:54 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 18 Sep 2018 21:54:17 +0000 (21:54 +0000)
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.

.gitattributes [new file with mode: 0644]
README-github_gitlab-autogenerated-archives.txt [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..d4eba3a
--- /dev/null
@@ -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 (file)
index 0000000..9caa33b
--- /dev/null
@@ -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.