William Murphy
ae4335620a
Merge pull request #15 from wagoodman/rename-to-dive
...
Rename project to dive
2018-10-02 18:31:26 -07:00
Alex Goodman
3a9796619c
renamed to dive; use cobra; rm dep; imagehistory fix
2018-10-01 21:50:05 -04:00
Alex Goodman
2a82632e57
fix test
2018-08-21 21:33:12 -04:00
Alex Goodman
7f3dee181c
show layer efficiency in layerview
2018-08-21 21:31:38 -04:00
Alex Goodman
1b5adfd447
Merge branch 'master' into efficiency-map
2018-08-21 20:35:57 -04:00
Alex Goodman
65cf6061a1
enhanced the status bar switches
2018-08-21 20:33:13 -04:00
Alex Goodman
e942bb7794
adjusted the filterview aesthetics
2018-08-19 17:21:22 -04:00
Alex Goodman
c961041ec3
set layout in a non-nested fashion
2018-08-18 21:29:20 -04: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
Alex Goodman
a0d9dfa5d3
disable debug
2018-06-26 20:18:46 -04:00
Alex Goodman
1b99e24da9
modify layer compare formatting
2018-06-25 09:08:39 -04:00
Alex Goodman
83dfb0ae6e
Merge branch 'master' of github.com:wagoodman/docker-image-explorer
2018-06-25 08:51:29 -04:00
Alex Goodman
e01bf10273
added multilayer select with mode toggle
2018-06-25 08:45:55 -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
Alex Goodman
08fd01072c
first take at layer multiselect
2018-06-24 15:26:56 -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
Alex Goodman
02418eaad3
formatting fixes
2018-06-24 13:01:52 -04:00
Alex Goodman
6db7929a02
correct bounds checks on views
2018-06-24 12:57:25 -04:00
Alex Goodman
c9b1d3dd3c
remove root node from view; fix tests
2018-06-24 12:49:47 -04:00
Alex Goodman
3590a7cf46
added file attributes + headers
2018-06-24 12:20:12 -04:00
Will Murphy
348e88e70b
start adding search bar
2018-06-23 19:31:57 -04:00
Alex Goodman
90c86234c4
home grown item select
2018-06-21 23:22:04 -04:00
Alex Goodman
fd397ac932
dont traverse the tree root node
2018-06-20 17:07:13 -04:00
Alex Goodman
598d95f5f7
fix display modified parents; fix tests
2018-06-20 10:31:04 -04:00
Alex Goodman
a47105cc7d
decoupled node data scopes
2018-06-16 19:32:38 -04:00
Alex Goodman
2a67ef9cbb
add debug pane
2018-06-13 17:43:15 -04:00
Alex Goodman
d655e9436a
fix node string nil check
2018-06-11 09:41:30 -04:00
Alex Goodman
23289cc121
added some color
2018-06-11 09:22:38 -04:00
Alex Goodman
3602d7de31
ability to hide files based on difftype
2018-06-10 16:40:54 -04:00
Alex Goodman
093f648cc2
keep collapsed state in view while changing layers; closes #4
2018-06-08 20:39:13 -04:00
Alex Goodman
430bbaec7b
rm debug pane for now
2018-06-07 19:31:46 -04:00
Alex Goodman
a8cc8db4a5
added layer info
2018-06-07 18:56:22 -04:00
Alex Goodman
e67734d38d
Added debug panel; annotate filetree with changeinfo ( #7 )
2018-06-07 15:51:10 -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
Alex Goodman
d78abce2e6
refactor project structure; use subpackages
2018-06-04 21:30:17 -04:00
Alex Goodman
ed62646bac
formatting + makefile
2018-06-03 23:44:58 -04:00
Alex Goodman
db1fb9452c
abstracted layerview
2018-06-03 23:18:41 -04:00
Alex Goodman
0b86d01864
pulled treeview into a type
2018-06-03 22:56:02 -04:00
Alex Goodman
e9c85e6573
dont allow invalid layer browsing
2018-06-02 22:01:49 -04:00
Will Murphy
2767567707
add test for StackRange
2018-06-02 07:32:42 -04:00