Commit Graph

19 Commits

Author SHA1 Message Date
Jelmer Vernooij eb7d4b2178
Bazaar: Export directly from the remote branch.
This significantly improves performance, since it allows the remote
server to directly stream a tarball that just contains the requested
revision rather than the full repository contents.
2019-01-20 17:46:31 +00: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
Chris Jerdonek 520df5356f Add misc.make_vcs_requirement_url(). 2018-09-25 01:31:34 -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 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
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 729990c986
Round 1 of Cleanups (#4844)
* misc: fix typo
* misc: 🎨 cleanup parenthesis
* misc: 🎨 minor simplifications
* tests: fix test_console_to_str_warning
2017-12-25 15:23:27 +05:30
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
Renamed from pip/vcs/bazaar.py (Browse further)