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
0435316fde
Move path_to_url() to utils/urls.py.
2019-09-24 02:01:52 -07: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
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
Chris Jerdonek
68c105c29d
Make VersionControl.fetch_new() an instance method.
2019-05-22 00:11:07 -07:00
Chris Jerdonek
0573d7f81f
Merge pull request #6408 from cjerdonek/vcs-remove-url-attribute
...
Remove url as an attribute of VersionControl
2019-05-07 15:17:56 -04:00
Pradyun Gedam
422d989056
Merge pull request #5931 from xrmx/fix5059
...
Remove last use of SafeConfigParser
2019-05-07 11:37:37 -04:00
Chris Jerdonek
0ea639d644
Remove url as an instance attribute of the VersionControl class.
2019-05-06 22:59:18 -04: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
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
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
Riccardo Magliocchetti
376abc0655
remove last user of SafeConfigParser
...
Fixes #5059
2018-10-30 12:11:04 +01:00
Chris Jerdonek
520df5356f
Add misc.make_vcs_requirement_url().
2018-09-25 01:31:34 -07:00
Chris Jerdonek
59b8a80c9b
Remove two unreachable returns in VersionControl.get_src_requirement().
2018-09-20 00:34:05 -07:00
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
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
Chris Jerdonek
da30b7007d
Address @pradyunsg's review comment.
2017-10-05 02:32:54 -07:00
Chris Jerdonek
d646aaca72
Choose a better name, and other clean-ups.
2017-10-05 02:32:54 -07:00
Chris Jerdonek
d1b9441595
Change check_version() to accept a commit hash / id.
2017-10-05 02:32:54 -07:00
Chris Jerdonek
3e56733df4
Add a RevOptions class ( #4707 )
...
* Add the RevOptions class, and test.
* Start using the RevOptions class.
* Add news file.
* Update for mypy.
* Fix test after rebasing.
* Address @xavfernandez's review comments.
2017-10-02 00:21:11 +02:00
Donald Stufft
95bcf8c5f6
Move all internal APIs to pip._internal
2017-08-31 14:53:00 -04:00