Commit Graph

647 Commits

Author SHA1 Message Date
Robert Schumacher
c3b54a2e7b Merge from master 2017-04-12 22:57:23 -07:00
Robert Schumacher
7069fbbebc [vcpkg] Remove+indirect nearly all uses of iostreams 2017-04-12 22:48:52 -07:00
Alexander Karatarakis
3739e8e0b9 Use Util::keep_if() 2017-04-12 22:40:24 -07:00
Alexander Karatarakis
b578320d9c Add PackageSpec != operator 2017-04-12 22:40:24 -07:00
Alexander Karatarakis
e78827e8cc Remove AUTO_SELECTED && ALREADY_INSTALLED packages from the install plan 2017-04-12 22:05:04 -07:00
Alexander Karatarakis
2fa87fbb0a Simplify Remove plan generation 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
5131e955a8 Simplify Install plan generation 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
5cd921c2b5 edges() -> dependencies() 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
7f79f44b0c Rework create_install_plan() 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
4749d7d67d Move line below temp struct 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
88e0246c77 Improve create_remove_plan (still using Graph) 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
5afcd0afe0 Use status_db.find_installed() 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
ea42d5c686 Remove repeated #include 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
58f46ab652 Rework toposort and create_install_plan 2017-04-12 22:05:03 -07:00
Alexander Karatarakis
cfbfa0d813 Rename 2017-04-12 22:05:02 -07:00
Robert Schumacher
7326b6c64d Merge from master 2017-04-11 18:24:08 -07:00
Robert Schumacher
0bc21296c9 [vcpkg] Alias out standard filesystem headers to ensure clean separation. 2017-04-11 15:16:39 -07:00
Alexander Karatarakis
60090703b3 install target_triplet -> triplet 2017-04-10 13:12:49 -07:00
Alexander Karatarakis
c5557ba8cb ci target_triplet -> triplet 2017-04-10 13:11:36 -07:00
Alexander Karatarakis
ca3d013c36 build target_triplet -> triplet 2017-04-10 13:10:11 -07:00
Alexander Karatarakis
cb679871e0 [StatusParagraph] target_triplet -> triplet 2017-04-10 13:08:47 -07:00
Alexander Karatarakis
0f54ec446d [BinaryParagraph] target_triplet -> triplet 2017-04-10 13:06:44 -07:00
Alexander Karatarakis
6699737c6d [PackageSpec] target_triplet -> triplet 2017-04-10 13:06:28 -07:00
Alexander Karatarakis
3e94a8db42 PackageSpec.target_triplet() -> ".triplet() 2017-04-10 13:03:34 -07:00
Alexander Karatarakis
84e1a9d3e5 VcpkgCmdArguments.target_triplet -> ".triplet 2017-04-10 13:01:43 -07:00
Alexander Karatarakis
410aa5b43a default_target_triplet -> default_triplet 2017-04-10 13:00:33 -07:00
Alexander Karatarakis
cd0c8e1ca3 Tweak install input parsing to match remove 2017-04-10 12:58:32 -07:00
Alexander Karatarakis
f306e8770f Formatting 2017-04-10 12:58:19 -07:00
Robert Schumacher
b34c40a4e6 [vcpkg] Further work on filesystem abstraction layer. 2017-04-08 20:19:35 -07:00
Robert Schumacher
c434dc9986 [vcpkg] Initial addition of Filesystem abstraction to enable testing. 2017-04-08 16:26:26 -07:00
Alexander Karatarakis
12f09d3151 Use Triplet.canonical_name() or .to_string() 2017-04-07 17:53:57 -07:00
Alexander Karatarakis
2069028b06 Remove triplet operator<< overload 2017-04-07 17:45:17 -07:00
Alexander Karatarakis
13482879f8 Triplet.to_string() 2017-04-07 17:44:24 -07:00
Alexander Karatarakis
9c2287d0e8 Remove unneeded to_string() calls 2017-04-07 17:39:47 -07:00
Alexander Karatarakis
41c9026875 Remove PackageSpec& operator<< overload 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
18fa18a07b Remove PackageSpec.display_name() 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
e8dbe3ec4c vcpkg ci Update strings, similarly to vcpkg install 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
8b59a289f2 Use existing variable 2017-04-07 16:22:35 -07:00
Alexander Karatarakis
d075c27949 vcpkg ci Use switch-case 2017-04-07 16:22:34 -07:00
Alexander Karatarakis
e56d87c689 Remove to_printf_args(PackageSpec) 2017-04-07 16:22:34 -07:00
Alexander Karatarakis
199887fdcd Add missing break; 2017-04-07 15:48:22 -07:00
Alexander Karatarakis
24c2955b03 install command Add status for the building phase 2017-04-07 15:46:18 -07:00
Alexander Karatarakis
4839ea8944 Add UNKNOWN case 2017-04-07 15:45:14 -07:00
Alexander Karatarakis
a405d60fe3 Remove unneeded branch 2017-04-07 15:45:14 -07:00
Alexander Karatarakis
fabeefdb14 Use switch-case 2017-04-07 15:45:14 -07:00
Alexander Karatarakis
687e1d6a1b vcpkg install improve status message 2017-04-07 15:45:14 -07:00
Alexander Karatarakis
75838ddbcc vcpkg install: Print install plan and add --dry-run option 2017-04-07 15:45:14 -07:00
Alexander Karatarakis
c4d5763a53 Fix install plan to not include already installed packages
(unless they are explicitly requested by the user)
2017-04-07 15:45:14 -07:00
Alexander Karatarakis
ad24821dce Fix find_installed() 2017-04-07 15:45:13 -07:00
Alexander Karatarakis
66e6e6e9e2 Add RequestType to InstallPlan 2017-04-07 15:45:13 -07:00