dotwaffle / rancid-git

DEPRECATED -- Strongly consider using the upstream, the version here is very out of date and a poor place to start from!
http://www.shrubbery.net/rancid/
Other
218 stars 92 forks source link

Ignore 'tracelogs' files on bootflash on IOS XE #57

Closed jeremyvisser closed 9 years ago

jeremyvisser commented 9 years ago

These files get noisily updated every couple of hours, causing unnecessary commits.

jeremyvisser commented 9 years ago

Sorry, I shouldn't have pushed this so soon. I forgot that I haven't stopped the free space from printing which still causes noise each time the tracelogs are updated.

An example diff is as follows:

diff --git a/networking/configs/x.x.x.x b/networking/configs/x.x.x.x
index ddeb495..a0d30af 100644
--- a/networking/configs/x.x.x.x
+++ b/networking/configs/x.x.x.x
@@ -38,9 +38,9 @@
 !Flash: bootflash: 659937  drwx             4096  Feb 25 2015 03:28:31 +11:00  core
 !Flash: bootflash: 692129  drwx             4096  Feb 25 2015 03:28:31 +11:00  .rollback_timer
 !Flash: bootflash: 48289  -rw-                0  Feb 25 2015 03:28:39 +11:00  tracelogs.849
-!Flash: bootflash: 64385  drwx            20480  Apr 21 2015 07:23:29 +10:00  tracelogs
+!Flash: bootflash: 64385  drwx            20480  Apr 21 2015 09:38:09 +10:00  tracelogs
 !Flash: bootflash: 48290  -rw-        489740544  Mar 30 2015 01:04:35 +10:00  asr1001x-universalk9.03.13.02.S.154-3.S2-ext.SPA.bin
-!Flash: bootflash: 6741659648 bytes total (5407182848 bytes free)
+!Flash: bootflash: 6741659648 bytes total (5406126080 bytes free)
 !
 !
 !NAME: "Chassis",               DESCR: "Cisco ASR1001-X Chassis"

What are your thoughts on this? I would have thought that suppressing the free space would be a bit of a regression. Then again, how important is it to log the free space in git anyway?