Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Chris Jerdonek
7783c47131
Hide security-sensitive strings in VCS command log messages ( #6890 )
2019-08-21 03:22:57 -07:00
Chris Jerdonek
393f626276
Add type annotations to VCS methods passing an url to run_command().
2019-08-16 16:20:56 -07:00
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +05:30
johnthagen
d25e7410d0
Fix Subversion class method definition order ( #6614 )
...
* Fix Subversion class method definition order
* Move switch and update method to group with other instance methods.
Remove `svn info` from list of commands that need get_remote_call_args in docstring
2019-06-15 15:18:48 -07:00
Chris Jerdonek
5c89643d3d
Remove importing from vcs in pip/_internal/__init__.py.
...
This also renames the current vcs/__init__.py to vcs/versioncontrol.py.
2019-06-03 01:18:36 -07:00
johnthagen
eb3db3b032
Add type hints to methods to improve documentation and type safety
2019-05-23 07:38:22 -04:00
johnthagen
fcbefc01e1
Merge branch 'master' into svn-interactive-final
2019-05-22 14:49:29 -04:00
johnthagen
a708240d2b
Document why get_remote_call_options is not needed for svn info invocation
2019-05-22 07:05:35 -04:00
Chris Jerdonek
68c105c29d
Make VersionControl.fetch_new() an instance method.
2019-05-22 00:11:07 -07:00
johnthagen
00efe18954
Remove unnecessary get_remote_call_options() invocation for local `svn info` call
2019-05-21 07:13:53 -04:00
johnthagen
b47bc7ad5c
Properly support interactive Subversion features based on Subversion client version
2019-05-20 07:37:20 -04:00
johnthagen
1c07d87c9c
Move Subversion.__init__() and call_vcs_version().
2019-05-18 13:34:50 -07:00
johnthagen
a83a78ef4d
Add Subversion interactive support.
2019-05-18 13:34:45 -07:00
Chris Jerdonek
0ea639d644
Remove url as an instance attribute of the VersionControl class.
2019-05-06 22:59:18 -04:00
johnthagen
c8e9caa8a7
Add Subversion.get_vcs_version method ( #6390 )
...
Add Subversion.get_vcs_version method to return the version of the currently installed Subversion client.
2019-04-17 00:34:19 -07:00
Chris Jerdonek
a829362e6a
Make fetch_new() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
977d3f6f8c
Make is_commit_id_equal() a class method.
2019-03-22 00:04:55 -07:00
Chris Jerdonek
22e4be1410
Address review comment: make two methods static.
2019-03-17 00:27:09 -07:00
Chris Jerdonek
12e41eef8b
Make VersionControl.get_base_rev_args() a class method.
2019-03-16 01:21:30 -07:00
Chris Jerdonek
e1e94530ad
Make VersionControl.make_rev_args() a class method.
2019-03-16 01:15:48 -07:00
Chris Jerdonek
3ba489864b
Make VersionControl.get_url_rev_and_auth() a class method.
2019-03-16 01:13:25 -07:00
Chris Jerdonek
67b384b8c7
Make VersionControl.get_netloc_and_auth() a class method.
2019-03-16 01:04:44 -07:00
Chris Jerdonek
fdbfde03e1
Implement get_src_requirement() in the VersionControl base class.
2019-03-01 11:01:25 -08:00
Chris Jerdonek
8d45557ff1
Make get_src_requirement() a class method.
2019-01-09 01:52:24 -08:00
Chris Jerdonek
8a036105dd
Make get_revision() and get_revision_hash() class methods.
2019-01-09 01:52:19 -08:00
Chris Jerdonek
8a771d027d
Make get_remote_url() a class method.
2019-01-09 01:24:16 -08:00
Chris Jerdonek
41f058b4f5
Make _get_subdirectory(), _get_svn_url_rev(), and _is_local_repository() class methods.
2019-01-09 01:24:16 -08:00
Pradyun Gedam
71b6e95322
Remove an unused Subversion method that expects dependency links
2019-01-02 17:27:06 +05:30
Pradyun Gedam
7222cb8fdb
Remove --process-dependency-links and related support code
2019-01-02 17:27:06 +05:30
Chris Jerdonek
7e8e706791
Rename VersionControl.get_url() to get_remote_url().
2018-11-09 22:55:59 -08:00
Chris Jerdonek
07900ed732
Change VersionControl.get_src_requirement() to accept the project name.
2018-11-08 04:24:05 -08:00
Chris Jerdonek
520df5356f
Add misc.make_vcs_requirement_url().
2018-09-25 01:31:34 -07:00
Pradyun Gedam
2b3609a37d
Merge pull request #5664 from cjerdonek/issue-5375-svn-ssh-auth
...
Fix #5375 : add editable install support for svn+ssh URLs with a username
2018-08-22 08:33:08 +05:30
Chris Jerdonek
d5af777d0d
Fix issue #5624 : installing a Git ref for installs after the first.
2018-08-08 00:16:57 -07:00
Chris Jerdonek
e1d60f850b
Fix #5375 : add editable install support for svn+ssh URLs with a username.
2018-07-29 01:08:15 -07:00
Chris Jerdonek
58b21d18dc
Add split_auth_from_netloc() to misc.py.
2018-07-25 10:35:50 -07:00
Pradyun Gedam
8df8e53901
Merge branch 'master' into refactor/introduce-models
2018-07-24 01:35:56 +05:30
Pradyun Gedam
a2968978c9
Merge pull request #5606 from cjerdonek/vcs-parse-url-once
...
Change VersionControl to parse the URL only once inside get_url_rev().
2018-07-22 23:37:01 +05:30
Barney Gale
05eacbcf63
Address review feedback
2018-07-20 22:48:12 +01:00
Chris Jerdonek
c6e65a0e40
Rename methods to get_netloc_and_auth() and get_url_rev_and_auth().
...
This addresses review comments by @xavfernandez.
2018-07-19 09:13:05 -07:00
barneygale
814b4bd52a
Remove vestigial `VersionControl.get_info()` method.
2018-07-18 01:38:12 +01:00
Chris Jerdonek
977d0740fb
Add more explanation to parse_netloc()'s docstrings.
...
This addresses @pradyunsg's review comments.
2018-07-17 08:40:15 -07:00
Chris Jerdonek
e37a17cc09
Change VersionControl to parse the URL only once to start.
2018-07-15 15:03:06 -07:00
Chris Jerdonek
1f6e1e51ec
Make get_url_rev() accept an url argument.
2018-07-11 00:51:38 -07:00
Chris Jerdonek
701d010c02
Implement VersionControl.obtain() in the base class.
2018-07-08 22:46:25 -07:00
Chris Jerdonek
64d205e896
Refactor out a new VersionControl.fetch_new() method.
2018-07-07 21:55:55 -07:00
Pradyun Gedam
39995b32db
Move Link to models
2018-06-24 02:38:21 +05:30
Jeremy Zafran
5bc94f3348
Move remove_auth_from_url and test from Subversion class to pip._internal.utils.misc
2018-04-27 00:41:54 -04:00
Giftlin Rajaiah
7bb73f60ad
Fix local variable 'base_url' referenced before assignment ( #4914 )
...
Fixes #4908
2017-12-17 20:12:39 +05:30