Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Remove ability to load blobs/projects from Git repos. #354

Merged
merged 8 commits into from
Oct 22, 2019
Merged

Conversation

patrickt
Copy link
Contributor

Due to internal architecture changes, we no longer need this facility. Since this entails a number of dependencies and a good deal of somewhat-involved code, let’s kill it.

@patrickt
Copy link
Contributor Author

Fixes #292 and #58.

@patrickt patrickt requested review from tclem and robrix October 21, 2019 20:54
Read (FromGitRepo path sha (ExcludePaths excludePaths)) k -> rethrowing (readBlobsFromGitRepo path sha excludePaths mempty) >>= k
Read (FromGitRepo path sha (ExcludeFromHandle handle)) k -> rethrowing (readPathsFromHandle handle >>= (\x -> readBlobsFromGitRepo path sha x mempty)) >>= k
Read (FromGitRepo path sha (IncludePaths includePaths)) k -> rethrowing (readBlobsFromGitRepo path sha mempty includePaths) >>= k
Read (FromGitRepo path sha (IncludePathsFromHandle h)) k -> rethrowing (readPathsFromHandle h >>= readBlobsFromGitRepo path sha mempty) >>= k
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have always loathed this code path and am glad to see it gone.

@@ -67,7 +67,6 @@ common dependencies
, semantic-source ^>= 0.0
, semilattices ^>= 0.0.0.3
, streaming ^>= 0.2.2.0
, streaming-bytestring ^>= 0.1.6
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don’t use this anywhere other than the parse-examples and semantic-python tests, so it can be dropped from the common one.

@patrickt patrickt merged commit 1c885f3 into master Oct 22, 2019
@patrickt patrickt deleted the git-out branch November 6, 2019 16:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants