Skip to content

Add VCS Support - #30

Merged
pombredanne merged 2 commits into
aboutcode-org:masterfrom
TG1999:vcs_urls
Jul 21, 2020
Merged

Add VCS Support#30
pombredanne merged 2 commits into
aboutcode-org:masterfrom
TG1999:vcs_urls

Conversation

@TG1999

@TG1999 TG1999 commented Jul 6, 2020

Copy link
Copy Markdown
Collaborator

Signed-off-by: TG1999 tushar.goel.dav@gmail.com

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! I need to understand more about this PR. The commit messages are telling me nothing. And I think that you have carried in way too much details from pip. Can you explain what you did, which exact version you started from, etc?

Comment thread fetchcode/vcs/__init__.py Outdated
@@ -0,0 +1,15 @@
# Expose a limited set of classes and functions so callers outside of

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be a doctring for the module.

Take fork from pip https://github.com/pypa/pip/tree/20.1.1
Make a wrapper function to use VCS functionality from pip

Signed-off-by: TG1999 <tushar.goel.dav@gmail.com>
Comment thread tests/test_vcs.py

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like the right approach, testing-wise, unless I am missing something.

I think the only addition would be to add more mock tests like you have here to thoroughly test the VCS support of fetchcode.

@TG1999

TG1999 commented Jul 15, 2020

Copy link
Copy Markdown
Collaborator Author

Yeaah sure, I will add more tests now :)

Signed-off-by: TG1999 <tushar.goel.dav@gmail.com>

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks good to me, though the diff is quite large.

@pombredanne anything to add here?

@pombredanne

Copy link
Copy Markdown
Member

All good. Merging!

@pombredanne
pombredanne merged commit 5e4d51d into aboutcode-org:master Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants