Commit Graph
28 Commits
Author SHA1 Message Date
William Murphy ad32c0a091 Make changes to mode or owner show in UI (#142)
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.
2018-12-28 09:38:15 -05:00
William Murphy ae4335620a Merge pull request #15 from wagoodman/rename-to-dive
Rename project to dive
2018-10-02 18:31:26 -07:00
Will Murphy 8611958838 Calculate efficiency score
For now, efficiency score is simply the number of unique files over the
total number of files that appear in any layer.
2018-07-08 13:36:59 -04:00
Will Murphy de7c3a759a Count occurrences of each leaf path
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.
2018-07-08 13:00:08 -04:00
William Murphy bbe7d436ce Improve bounds checking and EOF handling (#9)
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.
2018-07-04 11:32:11 -04:00
William Murphy 96ba653730 Build the test docker image if necessary (#10) 2018-07-04 11:25:43 -04:00
William Murphy 2000a9e8fd Merge pull request #8 from wagoodman/filter-view
Add the capability to filter which nodes are shown by hitting Ctrl+/ and then typing a string
2018-06-24 15:49:54 -04:00
Will Murphy d82df14374 Stop debug printing all the time 2018-06-24 15:46:52 -04:00
Will Murphy cd9da2dc2e run search on every keystroke 2018-06-24 15:41:56 -04:00
Will Murphy 3023304586 render changes immediately 2018-06-24 15:34:46 -04:00
Will Murphy a816a8f372 Fix segfault on empty tree view 2018-06-24 15:08:47 -04:00
Will Murphy 789643261f mostly working 2018-06-24 15:04:29 -04:00
Will Murphy ef2c76930f Merge branch 'master' into filter-view 2018-06-24 13:53:00 -04:00
Will Murphy 63332d4042 wip 2018-06-24 13:48:26 -04:00
Will Murphy 348e88e70b start adding search bar 2018-06-23 19:31:57 -04:00
William Murphy acec670354 Use full path on dep test (#6)
Previously, dep was being reinstalled every time because the
check for it wouldn't find it on $PATH.
2018-06-05 18:40:27 -04:00
William Murphy 78f02465e2 Small clean ups (#5)
* 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.
2018-06-04 22:10:39 -04:00
Will Murphy 2767567707 add test for StackRange 2018-06-02 07:32:42 -04:00
Will Murphy 1e4ad0ce72 display list of layers in UI 2018-06-01 16:56:00 -04:00
William Murphy 0d2b6551b3 Merge second: Copy trees (#3) 2018-05-31 17:00:40 -04:00
William Murphy 18bb252d10 Merge first: Diff trees (#2) 2018-05-31 16:59:45 -04:00
William Murphy a096415374 Merge pull request #1 from wagoodman/list-layers
List layers in docker image
2018-05-24 20:49:36 -04:00
Will Murphy 8794f159de print trees in order 2018-05-24 20:44:08 -04:00
Will Murphy 503c61ac58 Merge branch 'master' into list-layers 2018-05-24 19:41:13 -04:00
Will Murphy ea88892839 WIP 2018-05-24 19:41:03 -04:00
Will Murphy f91fb4c6eb start parsing each layer 2018-05-20 10:41:36 -04:00
Will Murphy 2ab60618ff print contents down one level 2018-05-20 09:50:36 -04:00
Will Murphy 9ce8e0acf8 Print layers 2018-05-20 09:22:16 -04:00