Pradyun Gedam
58c594c06b
Prepare isort for black
2020-09-23 21:47:47 +05:30
Pradyun Gedam
25ab172b55
Update linter: isort
2020-09-23 19:52:28 +05:30
Devesh Kumar Singh
ab3ee7191c
Remove on_returncode parameter from call_subprocess
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
94882fd1ed
Remove show_stdout from run_command args
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
8adbc216a6
Create call_subprocess just for vcs commands
2020-05-23 19:13:13 +05:30
Devesh Kumar Singh
0d2ca67729
Changed ValueError to InstallationError
2020-03-30 22:29:40 +05:30
Devesh Kumar Singh
106bd0d77f
Raise an exception if revision is empty in git url
2020-03-29 12:04:48 +05:30
Jason R. Coombs
3511d3d493
Convert the remaining '%' formatters to '.format'. Fixes #6973 .
2020-03-06 12:43:03 -05:00
Nitesh Sharma
ce1e0f470a
Move UI helpers to cli subpackage ( #6727 )
2020-02-21 14:01:13 +05:30
Pradyun Gedam
313740f6ee
Merge pull request #7593 from uranusjr/hg-under-git
...
Detect all registered VCS and choose inner-most
2020-02-08 17:34:31 +05:30
Tzu-ping Chung
8b0146b748
Use double backtick in comments
...
Co-Authored-By: Christopher Hunt <chrahunt@gmail.com>
2020-02-08 17:53:58 +08:00
Deepak Sharma
d31cf696e8
string_formatting
2020-01-30 20:33:00 +05:30
Tzu-ping Chung
62ffc7b165
Clarify why the max(key=len) logic works
2020-01-14 22:19:33 +08:00
Tzu-ping Chung
2d3e8f72e6
Detect all registered VCS and choose inner-most
2020-01-14 00:30:27 +08:00
Christopher Hunt
1b4c0866ab
Remove untyped defs ( #7382 )
2019-11-19 11:46:26 +08:00
Stéphane Bidoul (ACSONE)
9cad519521
Cache wheels built from immutable Git requirements
...
Cache wheels that are built from Git requirements
that contain an immutable revision (i.e. a sha).
2019-11-03 22:54:33 +01:00
Stéphane Bidoul (ACSONE)
18a58815a1
Refactor _get_used_vcs_backend
2019-11-01 12:53:54 +01:00
tbeswick
24a2be8af6
Reverting `VersionControl.controls_location()` to pre PR state. Its an optimization that belongs in another PR.
2019-10-11 16:44:45 +13:00
tbeswick
f197479dc8
Fixed LF getting converted to CRLF in last commit.
2019-10-11 14:30:30 +13:00
tbeswick
f81f3c902c
Removed `get_repo_root_dir()`, this functionality is now included in `Git.get_subdirectory()` and `Mercurial.get_subdirectory()`.
...
Added `find_path_to_setup_from_repo_root()` function to perform the
common parts of `get_subdirectory()`.
2019-10-11 12:27:17 +13:00
TonyBeswick
bcbaee7aa5
Merge branch 'master' into master
2019-10-08 18:39:08 +13:00
tbeswick
c6906f1a38
- Abstracted out common `get_subdirectory()` code in `Git` and `Mercurial`, adding `get_repo_root_dir()` for the vcs specific code.
...
- Reverted behaviour of `Git.controls_location()` and `Mercurial.controls_location()` to call the vcs command if the base `VersionControl.controls_location()` doesn't detect the vcs directory.
- Added `log_failed_cmd` argument `VcsSupport.run_command()` to allow vcs commands to be tried without logging errors if they aren't present.
- Corrected indentation.
- Removed `expect_stderr=True` in `test_freeze_mercurial_clone_srcdir` as its not required.
2019-10-08 18:15:22 +13:00
Pradyun Gedam
2eafb0218b
Update all the imports as needed
2019-09-30 11:15:24 +05:30
Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
tbeswick
b2bae62641
Fixed problem where vcs commands were being called even if they're not installed, causing errors to be logged.
2019-09-25 11:40:38 +12:00
Chris Jerdonek
3303c11828
Remove index.py and req/constructors.py's dependence on download.py.
2019-09-13 09:57:04 -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
Pradyun Gedam
537b0fca12
Change isort multi_line_output to 3
2019-07-22 10:15:27 +05:30
Chris Jerdonek
1a7f76fe1c
Remove strict_optional=False for vcs/subversion.py.
2019-07-14 23:07: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