summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2014-01-06More packaging docsTodd Gamblin2-73/+277
2014-01-06Local specs now called "anonymous specs"Todd Gamblin6-92/+126
- anonymous specs have no name - "local spec" came from these first being used in multimethods, i.e. "name of the local Package" - not the most intuitive name.
2014-01-06Simpler prefix args.Todd Gamblin8-10/+10
2014-01-06Remove install methods from mock packages (not needed)Todd Gamblin5-44/+5
2014-01-06SPACK-14: Bugfix in Spec.normalize()Todd Gamblin6-32/+107
- Normalize now updates the provider index as it addes package dependencies. - Fixes problem where this breaks: a depends_on mpi a depends_on b b depends_on mpich - Packages now restrict the mpi dependency to mpich
2014-01-04Change deps on 'mpich' to 'mpi'Todd Gamblin2-2/+2
2014-01-04More packaging documentationTodd Gamblin2-13/+477
2014-01-03Bug fix in how class names are determinedTodd Gamblin1-2/+5
2013-12-26More packaging documentation.Todd Gamblin10-62/+509
2013-12-25install() now takes spec AND prefixTodd Gamblin21-62/+122
2013-12-25Some fixes recommended by PyCharmTodd Gamblin13-25/+27
2013-12-25Starting on packaging docs.Todd Gamblin3-77/+98
2013-12-24make create and checksum consistent.Todd Gamblin6-97/+183
- create now searches and prompts for checksums. - makes package creation easier
2013-12-23spack checksum works.Todd Gamblin3-25/+56
2013-12-23spack edit fixed.Todd Gamblin2-7/+1
2013-12-23Spack create works again w/new package format.Todd Gamblin5-10/+75
2013-12-23Another multimethod test for vdepsTodd Gamblin2-9/+8
2013-12-23constrain() now consistent with satisfies()Todd Gamblin5-32/+103
- Added checks to constrain() so that it is consistent with satisfies() - Added many more test cases for satisfiability and constraints on deps - Virtual packages are handled properly in satisfies() and constrain() - bugfix: mpileaks^mpich2 would satisfy mpileaks^mpi@3: - this case is now handled.
2013-12-22Fix for SPACK-13, and satisfies() now handles deps.Todd Gamblin11-121/+419
Added more test cases for multimethods. In doing so, (re)discovered that satisfies() really needs to handle dependencies properly. Implemented support for dependencies in satisfies, but constrain() now isn't consistent (as we do not currently constrain deps), so need to implement that. Virtual dependency support probably needs some deeper thought. i.e., there is probably an intermediate DAG form that would make the needed checks easier. Right now we have to build ProviderIndexes to figure out how virtual dependencies are set up. If the vdep were preserved in the DAG, then we could just check for things like incompatible providers directly.
2013-12-21SPACK-2: Multimethods for specs.Todd Gamblin11-220/+363
- multi_function.py -> multimethod.py - Added @when decorator, which takes a spec and implements matching for method dispatch - Added multimethod unit test, covers basic cases.
2013-12-21More docs.Todd Gamblin3-8/+15
2013-12-21Color tweaks for find.Todd Gamblin2-22/+47
2013-12-21Docs for spack findTodd Gamblin1-7/+90
2013-12-21Made formatting specs easier with format() syntax.Todd Gamblin2-32/+77
- Replaced existing str_no_deps() function with more flexible format() function. - Spec.tree() can take a format argument now, as well.
2013-12-21SPACK-1: Multi-version installation now works front to back with specs.Todd Gamblin40-235/+617
2013-12-18Make dirty installs part of package lifecycleTodd Gamblin1-1/+1
2013-12-18More on installing with virtual packagesTodd Gamblin1-0/+29
2013-12-18Added a target to upload docs automatically.Todd Gamblin1-0/+3
2013-12-18Finished basic usage.Todd Gamblin15-167/+512
2013-12-12Start of basic documentationTodd Gamblin22-129/+944
2013-12-12Better info command.Todd Gamblin2-0/+38
2013-12-09Documentation skeletonTodd Gamblin19-0/+1340
2013-12-09use get instead of setdefault for kwargs.Todd Gamblin1-4/+4
2013-12-09type(foo) == bar -> isinstance(foo, bar)Todd Gamblin5-19/+21
Changed type checks in most places.
2013-12-08Additional circular reference checkingTodd Gamblin1-4/+8
2013-12-08Fixes for virtual packages.Todd Gamblin14-117/+393
- Added more tests - cleaned up spec preorder traversal - fixed concretization
2013-12-07Better test output -- include totals.Todd Gamblin2-24/+55
2013-12-07Added support for virtual dependencies ("provides")Todd Gamblin10-155/+533
2013-12-01More stage tests.Todd Gamblin2-14/+49
2013-11-24Reworked stage paths to allow %u for username. Added stage test.Todd Gamblin8-66/+385
2013-11-23Gracefully handle lack of network connection.Todd Gamblin3-19/+31
2013-11-23Generalize package relations like depends_on, provides, conflicts.Todd Gamblin3-19/+34
All of these do the same thing. So they are all now generalized to a single closure function; just the name of the updated variable in the package is different.
2013-11-23Move concretization into its own class.Todd Gamblin5-56/+73
Allows easy overriding of a single policy.
2013-11-23Cleanup and comments.Todd Gamblin8-31/+60
2013-11-23Fix virtual method.Todd Gamblin1-2/+9
2013-11-23Added web spider capability for listing versions.Todd Gamblin18-55/+311
2013-11-20Update libdwarf URL.Todd Gamblin2-9/+8
2013-10-26First cut concretization works, with tests.Todd Gamblin18-119/+268
Mock packages now all have their own version lists.
2013-10-18Added unit tests for spec normalization.Todd Gamblin3-25/+135
2013-10-17spack test runs all tests by defaultTodd Gamblin1-6/+6
'spack test -a' formerly ran all test and 'spack test' listed available tests. Now, 'spack test' runs all tests and 'spack test -l' lists available ones.