This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
[WIP] VerifyDepTree and DigestFromDirectory use godirwalk #1084
Closed
Closed
Changes from 8 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
502d835
digest uses godirwalk
karrick f149f35
more simplified node type detection
karrick 6dd14f9
digestNoAction constant name describes purpose of values
karrick 157c30f
updated godirwalk
karrick ab1cacf
updated godirwalk
karrick 4109fb9
update godirwalk to cleaner version v1.2.4
karrick be2c05c
eliminated unused variables
karrick ac6f562
vendor'd package in accordance with guidance from travis ci
karrick e058b2f
Don't assume every git repository has a HEAD
BartSchuurmans 8a131bd
Add test for gitSource.listVersions() without HEAD
BartSchuurmans caca12a
cmd/dep: Standardize import logic for importers
carolynvs 41d353e
cmd/dep: Support new importer rules
carolynvs d61e44e
cmd/dep: Switch to special importer testdata set
carolynvs fa8e165
cmd/dep: Move import test execution into testcase
carolynvs acd473f
cmd/dep: Validate warnings in import testcases
carolynvs f0e0e3a
cmd/dep: Document every baseImporter function
carolynvs 7d5628c
cmd/dep: Simplify pinned constraint check
carolynvs 7e85ef6
cmd/dep: fix parallel tests
carolynvs 49a2eb4
cmd/dep: verify empty locks are skipped
carolynvs 0321346
gps: source cache: fix flaky bolt test clock by forcing future timestamp
jmank88 94dec0f
Fix naming convention for test
BartSchuurmans 59d1d75
Nicer error reporting in test
BartSchuurmans 5332f3a
Don't rely on local git config in test
BartSchuurmans f380ff7
Fix test when git is not set up
BartSchuurmans 5c9e128
Fix file:// URI on Windows
BartSchuurmans 3d84357
gps: fix unwrapVcsErr to handle nil causes
jmank88 4626497
gps: add unwrapVcsErr nil cause test
jmank88 5e17c34
cmd/dep: fix setting importer tests as parallel
carolynvs a1f23c2
cmd/dep: disable running importer tests in parallel
carolynvs b40a93c
Clarify when to run ensure if vendor is not committed
carolynvs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
could you explain the benefit of having a fixed number of iterations, rather than relying (as
BenchmarkDigestFromDirectory()
does) on the testing system to either a) empirically determine an appropriate threshold and/or b) allow the user to control it via CLI args?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.
When comparing flame graphs, I want to compare how many cycles were spent in the corresponding functions for the same input. Those numbers are skewed if we run version A 500 times, and version B only 100 times. Therefore, forcing the iteration count to a particular number ensures an apples to apples comparison.
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.
gotcha, wfm 👍