Previously, changes that did not affect the data in a file, such as a chmod or chown,
would incorrectly show up as unmodified in the UI. This change makes it so that changes
to the mode or owner (Mode, Gid, or Uid) of a file cause the file to appear modified
in the UI.
We want to be able to know whether the same file appears many times
in the layers of the docker image, because a file that appears many
times may represent a real inefficiency in the dockerfile.
Some fields that were never empty in our original test image
can apparently be empty in images that one finds in the wild. This
adds appropriate checking so that blank file lists and missing
image IDs no longer cause crashes.
* Fix two small compiler errors
Apparently, in go, `fmt.Prntln("\n")` is a build error - you can't
have a redundant newline there. Also, we had the wrong format string
somewhere.
* Use $GOPATH to find dep
When I first pulled this branch, all the tests failed because,
although `dep` was being installed to my local machine, it wasn't
being added to $PATH. Rather than mess with $PATH, I decided to
add $GOPATH/bin to the beginning of the invocation.