You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2022/12/25 16:46:30 UTC
[arrow-adbc] branch main updated: chore: update .gitattributes with export-subst directives (#284)
This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new c94ded9 chore: update .gitattributes with export-subst directives (#284)
c94ded9 is described below
commit c94ded995f7abcf147844d539b4b41bdf6ac31cb
Author: David Li <li...@gmail.com>
AuthorDate: Sun Dec 25 11:46:25 2022 -0500
chore: update .gitattributes with export-subst directives (#284)
Fixes #279.
---
.gitattributes | 3 ++-
python/adbc_driver_manager/adbc_driver_manager/_static_version.py | 1 +
.../adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py | 1 +
python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py | 1 +
4 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitattributes b/.gitattributes
index e5fde9d..3681d55 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -17,4 +17,5 @@
c/vendor/* linguist-vendored
python/adbc_driver_manager/adbc_driver_manager/_static_version.py export-subst
-python/adbc_driver_postgres/adbc_driver_postgres/_static_version.py export-subst
+python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py export-subst
+python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py export-subst
diff --git a/python/adbc_driver_manager/adbc_driver_manager/_static_version.py b/python/adbc_driver_manager/adbc_driver_manager/_static_version.py
index 7ca903c..4c31c3b 100644
--- a/python/adbc_driver_manager/adbc_driver_manager/_static_version.py
+++ b/python/adbc_driver_manager/adbc_driver_manager/_static_version.py
@@ -27,5 +27,6 @@
version = "__use_git__"
# These values are only set if the distribution was created with 'git archive'
+# NOTE: must add an export-subst to .gitattributes!
refnames = "$Format:%D$"
git_hash = "$Format:%h$"
diff --git a/python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py b/python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py
index 7ca903c..4c31c3b 100644
--- a/python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py
+++ b/python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py
@@ -27,5 +27,6 @@
version = "__use_git__"
# These values are only set if the distribution was created with 'git archive'
+# NOTE: must add an export-subst to .gitattributes!
refnames = "$Format:%D$"
git_hash = "$Format:%h$"
diff --git a/python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py b/python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py
index 7ca903c..4c31c3b 100644
--- a/python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py
+++ b/python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py
@@ -27,5 +27,6 @@
version = "__use_git__"
# These values are only set if the distribution was created with 'git archive'
+# NOTE: must add an export-subst to .gitattributes!
refnames = "$Format:%D$"
git_hash = "$Format:%h$"