From e10ec8c5f51063462f0623480632aa5b8b3899f6 Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Thu, 23 May 2019 21:11:56 +0000 Subject: [PATCH 1/2] [.gitignore]: add build artifacts * Ignore images * Ignore debug files * Ignore compressed/tarred files * Ignore libyang, smartmontools, and swig artifacts * Ignore miscellaneous initramfs-tools artifacts Signed-off-by: Lawrence Lee --- .gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitignore b/.gitignore index 85987cbc05..c578849f58 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,11 @@ target/ *.deb *.changes *.buildinfo +*.tar +*.xz +*.gz +*dbg* +*.img # Subdirectories in src src/bash/* @@ -43,6 +48,8 @@ src/libnl3/* !src/libnl3/Makefile src/libteam/* !src/libteam/Makefile +src/libyang/* +!src/libyang/Makefile src/lldpd/* !src/lldpd/Makefile !src/lldpd/patch/ @@ -59,6 +66,8 @@ src/radvd/* !src/radvd/patch/ src/redis/* !src/redis/Makefile +src/smartmontools/* +!src/smartmontools/Makefile src/snmpd/* !src/snmpd/Makefile src/sonic-device-data/src/device/ @@ -66,6 +75,8 @@ src/sonic-device-data/src/debian/ src/supervisor/* !src/supervisor/Makefile !src/supervisor/patch/ +src/swig/* +!src/swig/Makefile src/telemetry/debian/* !src/telemetry/debian/changelog !src/telemetry/debian/compat @@ -109,3 +120,7 @@ src/sonic-config-engine/sonic_config_engine.egg-info src/sonic-daemon-base/**/*.pyc src/sonic-daemon-base/build src/sonic-daemon-base/sonic_daemon_base.egg-info + +# Misc. files +files/initramfs-tools/arista-convertfs +files/initramfs-tools/union-mount From a0c740b2f9b7e4d6414bc330bfdc7d44743d468c Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Fri, 24 May 2019 16:36:23 +0000 Subject: [PATCH 2/2] [.gitignore]: update inclusion of dbg files * Remove pattern '*dbg*' and replaced with '*-dbg' and '*dbg.j2' Signed-off-by: Lawrence Lee --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c578849f58..7d355b8ff4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,8 @@ target/ *.tar *.xz *.gz -*dbg* +*-dbg +*dbg.j2 *.img # Subdirectories in src