Cache and stream scan results - #354
Merged
Merged
Conversation
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
cache-and-stream-scan-results
branch
from
November 7, 2016 05:48
0b50ab1 to
c3a8509
Compare
* cache scan results on disk * stream json at the end * use diskcache * partially tested and unstable, some tests failing Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
cache-and-stream-scan-results
branch
from
November 7, 2016 06:27
c3a8509 to
f1fcc9d
Compare
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
pombredanne
force-pushed
the
cache-and-stream-scan-results
branch
from
November 7, 2016 15:58
f1fcc9d to
07d7f62
Compare
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* somehow, some data structures cannot be pickled with HIGHEST_PROTOCOL * But they pickle alright with no proptocol set Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* this is a Python pickle bug * somehow, some data structures cannot be pickled with HIGHEST_PROTOCOL * But they pickle alright with no proptocol set Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* this is a workaround for a Python pickle bug that shows up indirectly in: grantjenks/python-diskcache#32 * the workaround is use a subclass of diskcache.Disk that does not use pickle.HIGHEST_PROTOCOL Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* this was temporarily activated as a debug helper Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This was referenced Nov 7, 2016
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds support to cache scan results on disk on a file-by-file basis and stream from disk to file the final scan output.
This should fix #267 #279 and #341