aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-30 16:24:53 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-06-14 02:41:57 +0200
commit6096c2fe9d48cf090cd0808c379470894985f2d6 (patch)
tree9547f82927ff3b6fe13be24c38e67f5275c7e2f8
parent4b524d6c3affef30ee6112395c4a9b0712835f17 (diff)
downloadhardware_replicant_libsamsung-ipc-6096c2fe9d48cf090cd0808c379470894985f2d6.tar.gz
hardware_replicant_libsamsung-ipc-6096c2fe9d48cf090cd0808c379470894985f2d6.tar.bz2
hardware_replicant_libsamsung-ipc-6096c2fe9d48cf090cd0808c379470894985f2d6.zip
gitignore: Add forgotten files generated by the PKGBUILD
Running makepkg in the scripts directory creates some packages and temporary directories. As these files and directories are not in gitignore, they appear in the list of untracked files and directories in git status. Note that as the PKGBUILD is also modified in the process: it retrieve the local libsamsung-ipc git revision and then updates the PKGBUILD with that information. For instance if locally we made some local commits and that we have the 113695fa7d455af5ff01457e5b8bb05591534711 git revision, the PKGBUILD will be modified as follows: -pkgver=0.3.1.r703.7c5e96a +pkgver=0.3.1.r743.113695f This enables to precisely track the git revision being used which is a good thing for development and testing (this PKGBUILD is meant for that) as users or developers can then know which version they are running. The issue is that if this modification is added to a git commit, then the revision changes again and the next time makepkg is run, the revision will change again. However as far as I know it's not really possible to fix that (without doing bruteforce computations) so the PKGBUILD will still end up in the list of untracked files in git status. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--.gitignore6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 2c06001..674d061 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,12 @@
/tools/test-suite.log
valgrind.*.log
+# scripts/PKGBUILD
+/scripts/libsamsung-ipc-git-*.pkg.tar.xz
+/scripts/libsamsung-ipc-git-debug-*.pkg.tar.xz
+/scripts/pkg/**
+/scripts/src/**
+
# Text editors
\#.*\#
*~