Sam Boyer
a0cbc91205
Merge pull request sdboyer/gps#21 from sdboyer/tracelog
...
Implement tracelog
2016-05-04 15:34:28 -04:00
Sam Boyer
fcbaa48129
Custom trace error strings, improved tree output
2016-05-04 15:30:16 -04:00
Sam Boyer
d5aba4a3d8
Completely excise logrus
2016-05-04 00:18:13 -04:00
Sam Boyer
0c40950c43
Fix up err msgs a bit and attach to tests
2016-05-04 00:09:04 -04:00
Sam Boyer
8f036e6103
Basics of trace logger
2016-05-03 23:55:36 -04:00
Sam Boyer
ddcbc4b8c1
Merge pull request sdboyer/gps#19 from sdboyer/uri
...
Separate local name and network name concepts
2016-05-03 22:23:52 -04:00
Sam Boyer
fb624a7e2c
Update README a tad
2016-05-03 22:21:03 -04:00
Sam Boyer
0fe6c330b0
Comment and TODO cleanup
2016-05-03 22:13:31 -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
2c5065cd4c
Move alternate sourcing up to nsv splitters
2016-05-03 21:56:26 -04:00
Sam Boyer
bbfe8769f0
Buncha docs
2016-05-03 21:07:42 -04:00
Sam Boyer
65faed87e0
Force test passing, for now
...
REALLY need to firm up the error/failure system.
2016-05-03 11:10:14 -04:00
Sam Boyer
ca0ac51960
Add ident align check and simple test
...
Not working yet, need to refactor the way we check errs in tests
2016-05-03 09:47:48 -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
e00401fdae
s/smcache/smAdapter/
2016-04-28 20:17:20 -04:00
Sam Boyer
b812a4ce18
Break smcache from SourceManager interface
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
8cd4741e74
Basic tests covering up/downgrade and through lock
2016-04-28 09:45:42 -04:00
Sam Boyer
4517a6848d
Merge pull request sdboyer/gps#17 from sdboyer/inter-sm
...
Introduce intermediary smcache within the solver
2016-04-28 01:00:20 -04:00
Sam Boyer
9e43ffdb23
Use different temp dirs for windows friendliness
...
This is a temporary dodge around the actual issue, though.
2016-04-28 00:48:33 -04:00
Sam Boyer
16b7a9254b
Remove upgrade flag from SourceManager
2016-04-27 23:19:05 -04:00
Sam Boyer
55e138ecab
Integrate smcache into solver
2016-04-27 23:04:19 -04:00
Sam Boyer
914d2a3a5b
Add basic smcache type
2016-04-27 23:00:43 -04:00
Sam Boyer
85f973c4f9
Don't be verbose in appveyor
2016-04-26 01:44:49 -04:00
Sam Boyer
fcd88e9ab5
Split up and move satisfiable method into sep file
2016-04-25 23:08:53 -04:00
Sam Boyer
a4cb621e29
Handle any and none constraints correctly
2016-04-24 22:15:52 -04:00
Sam Boyer
3770769a65
Update glide.yaml to experimental new format
2016-04-24 21:30:30 -04:00
Sam Boyer
03d600c657
Ensure local is synced pre-update, and prefer revs
2016-04-24 20:59:56 -04:00
Sam Boyer
67887449c9
Allow specifying of underlying rev in fixtures
...
The change in the previous commit revealed a bug in the test framework:
when we started passing the full paired version back from a lock, rather
than just the human-readable version, it caused that locked version to
not get excluded by the logic in versionQueue.advance(), as lock
versions had revs that manifest versions did not.
The change here allows specification of underlying revs on both sides.
It's a bit more verbose, but it helps keep us more honest.
2016-04-24 20:57:04 -04:00
Sam Boyer
6ff1799645
Use Version() method of LockedProject in solver
...
Otherwise there are nils when there should be just revs.
2016-04-24 15:28:02 -04:00
Sam Boyer
c6aab52ff4
Err check on mkdir, fix constraint output
2016-04-22 08:35:34 -04:00
Sam Boyer
acc78165f6
Defer after we know we don't have nil pointer
2016-04-21 16:15:30 -04:00
Sam Boyer
77d24e67e3
Try out appveyor
2016-04-21 16:05:09 -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
af120c9b66
Stop including root project in results
2016-04-20 14:34:44 -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
4d9528434e
Allow creation of anyConstraint{} via func
2016-04-18 23:05:15 -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
1113f0ada6
Wrong bool check on vendor-lock-exit strategy
2016-04-16 19:38:29 -04:00
Sam Boyer
ce5374be1a
Update README a bit
2016-04-16 11:04:03 -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