Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
sam boyer 39b615e656 Implement overrides in the solver
This is still a bit suboptimal, because we lose context on what the
original constraint actually was. Fixing that would entail changes to
workingConstraint (which we could deal with later).
2016-07-27 14:24:22 -04:00
sam boyer e4a3f929a4 Func to mapify two []ProjectConstraint slices
Really just intended for root project's use.
2016-07-26 23:31:12 -04:00
sam boyer 1423ffc917 More assorted renamings
Also restore a "reflect" import that got dropped.
2016-07-26 23:15:48 -04:00
sam boyer a1c8ddf528 Merge branch 'test-errors' into overrides 2016-07-26 22:24:54 -04:00
sam boyer 813fbd4a62 Add more support funcs for data generation 2016-07-26 16:27:39 -04:00
sam boyer 74270825c7 Move ignores out of params, into RootManifest 2016-07-26 00:17:13 -04:00
sam boyer ce1e67d3fe Basically overhaul tracing 2016-07-21 16:11:37 -04:00
sam boyer 7662870dc5 Touch up Solver docs 2016-07-16 21:04:43 -04:00
sam boyer dda7cbd91b s/vsolver/gps/g
Buhbye vsolver, you were a nice interim name while you lasted.
2016-07-12 14:56:12 -04:00
sam boyer e59000375d Put my name on TODOs 2016-07-12 00:44:02 -04:00
sam boyer a69be9eb82 such rename, much docs
s/ProjectName/ProjectRoot/, s/ProjectDep/ProjectConstraint/, and a
ton of explanatory docs.
2016-07-09 00:18:22 -04:00
sam boyer 643ee4e6fc Make SolveArgs.Manifest fully optional 2016-07-08 21:16:34 -04:00
sam boyer aa53773923 Allow bimodalIdentifier to carry preferred version 2016-07-03 07:41:54 -05:00
Sam Boyer f7ea6d6b79 Unexport ProjectAtom and Dependency.
Fixes sdboyer/gps#34.
2016-06-29 22:57:23 -04:00
Sam Boyer 269a50492d Unexport ProjectInfo
Really, it barely needs to exist at all anymore. Pursuant to sdboyer/gps#34.
2016-06-29 22:11:59 -04:00
Sam Boyer 67a37f94ac Remove emptyProjectAtom for nilpa 2016-06-21 23:00:50 -04:00
Sam Boyer 0afa53b648 Fix almost everything up
Just need to deal with prefix matching and trailing slashes.
2016-06-21 00:54:00 -04:00
Sam Boyer 60d6b5a9c1 Designate new types for listing packages 2016-06-19 20:22:56 -04:00
Sam Boyer a2c9916c49 Converting queues to bimodality (incremental) 2016-06-15 11:07:22 -04:00
Sam Boyer dfb768bd7f Select root in its own method, update Dependency
Dependency now has a concept of the specific packages on which it relies
2016-06-11 01:14:10 -04:00
Sam Boyer c7bd172b31 Many little things 2016-06-10 23:13:42 -04:00
Sam Boyer c79c74bab3 Sketch of replacement for getDependenciesOf() 2016-06-10 23:00:56 -04:00
Sam Boyer 77fe62926c Take atoms out of ProjectInfo 2016-05-03 22:10:40 -04:00
Sam Boyer e469009b63 Use full ProjectIdentifier in root lock map 2016-05-03 21:56:56 -04:00
Sam Boyer de575c2a5e Also change field name on ProjectAtom 2016-05-02 22:01:21 -04:00
Sam Boyer 7df0e7afb9 Convert ProjectAtom to use an ident 2016-05-02 22:00:06 -04:00
Sam Boyer 8c3e7ddb37 Swap in ProjectIdentifier in most places
Now, have to convert ProjectAtom
2016-04-28 20:17:20 -04:00
Sam Boyer f14e377797 Split out manifest and lock into their own files 2016-04-28 20:17:20 -04:00
Sam Boyer 310aa87ba4 Maybe the new struct 2016-04-28 20:17:20 -04:00
Sam Boyer e3d2b6e762 Make SimpleLock conform to Lock, again 2016-04-21 12:55:24 -04:00
Sam Boyer d4181c3a23 Make result an interface; add err to Solve()
Also use []byte instead of string for opts hash digest
2016-04-21 11:12:40 -04:00
Sam Boyer 6065d6fbd2 Encompass args to solver in SolveOpts 2016-04-20 14:52:46 -04:00
Sam Boyer 9eb0850150 Add *solver.Hash() 2016-04-19 20:21:56 -04:00
Sam Boyer 38d954ec13 Add flag to allow upgrade/change for all 2016-04-19 11:19:36 -04:00
Sam Boyer 40f4190258 Add Simple{Lock,Manifest} for ephemeral metadata
These are really intended for use by on-the-fly conversions being done
by analyzers.
2016-04-18 22:34:08 -04:00
Sam Boyer efb561af49 Correctness - hide LockedProject's fields 2016-04-16 22:47:00 -04:00
Sam Boyer eccd7c026e Numerous fixups and docs:
- Stop passing ProjectAtom pointer internally in solver
 - Re-add Name() to Manifest interface
 - Re-export Revision; otherwise we'd just need another interface
 - Add LockedProject type
 - Change from direct lookup to slice listing of LockedProjects on Lock interface
2016-04-16 20:33:07 -04:00
Sam Boyer eaeb7d6f46 Drop Manifest.Name() for the moment
Super fun method/field clash in glide, woot
2016-04-15 23:22:11 -04:00
Sam Boyer 048d3b5bb5 Have analyzers return Manifest and Lock directly
Also, buncha docs on Manifest and Lock
2016-04-15 21:57:35 -04:00
Sam Boyer 9d57c369aa New, better naming scheme 2016-03-31 01:10:09 -04:00
Sam Boyer bdd3e88655 Remove detritus, unexport some things 2016-03-17 12:45:36 -04:00
Sam Boyer 934e61fc36 First set of working (and failing) tests 2016-03-17 11:14:27 -04:00
Sam Boyer 73a046a6fe Other basic bits; ready to start testing 2016-03-16 23:15:51 -04:00
Sam Boyer 54a0b20636 Split out into separate files 2016-03-16 16:34:09 -04:00
Sam Boyer d7b90e6ec6 Fix remaining compile errors; finish backtrack() 2016-03-16 12:35:27 -04:00
Sam Boyer 94d843b14d First pass at constraint compositing 2016-03-16 12:06:49 -04:00
Sam Boyer a902ddeed5 Add Constraint interface and helpers 2016-03-15 23:48:02 -04:00
Sam Boyer 32daac36e3 Clear out compile errors from main solver 2016-03-15 20:27:19 -04:00
Sam Boyer dd31877cd9 Refactor VersionQueue
Mostly good now, but still have the "exist"-ness thing to be handled in
the PackageManager (soon to be SourceManager).
2016-03-15 13:07:16 -04:00
Sam Boyer 36ad5dcbf3 Toss in initial WIP 2016-03-14 23:36:42 -04:00