-
Notifications
You must be signed in to change notification settings - Fork 236
Multi version generalization #12
Multi version generalization #12
Conversation
.gofmt.sh
Outdated
|
||
set -e | ||
|
||
files=$(find . -name "*.go" | grep -v iDiff/vendor | grep -v vendor/ | xargs gofmt -l -s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the grep -v iDiff/vendor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
.gofmt.sh
Outdated
exit 1 | ||
fi | ||
|
||
files=$(go vet ./structure_tests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
2c429bf
to
b594383
Compare
utils/package_diff_utils.go
Outdated
return 0, false | ||
} | ||
|
||
func multiVersionDiff(infoDiff []MultiVersionInfo, key string, map1, map2 map[string]PackageInfo) []MultiVersionInfo { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe more descriptive vars below besides "key" and "value" types would be helpful to understanding what's going on here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reworked the key/value naming in this function and diffMaps. Hopefully it's a little clearer what is happening.
lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's wait til travis is fixed before merging though
…s keys in the map to package info structs, adjusting multiversion differ to be less node specific, still need to adjust unit and integration tests accordingly.
…pyVersion folder didn't have sitepackages rather than looking through all of them
10545f4
to
e89d004
Compare
e89d004
to
10aa5d3
Compare
@nkubala @cftorres @aaron-prindle
#2
(Ideally to be merged before #1 so that pip differ is working accurately before being expanded to more package locations)