From af92250c7e0c7fc59cfb4381928ed4a547f2dcf3 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 15 Mar 2015 00:08:58 -0700 Subject: Add google analytics to docs. --- lib/spack/docs/_themes/sphinx_rtd_theme/layout.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html b/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html index 0314a8028a..f629e7d933 100644 --- a/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html +++ b/lib/spack/docs/_themes/sphinx_rtd_theme/layout.html @@ -87,6 +87,17 @@ + + + -- cgit v1.2.3-70-g09d2 From 8364f0404c01c1f22012b9029eabcdf862bd7bbb Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 24 Mar 2015 08:40:14 -0700 Subject: Add some options to spec command. --- lib/spack/spack/cmd/spec.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/spack/spack/cmd/spec.py b/lib/spack/spack/cmd/spec.py index e2cb5689c0..407519313c 100644 --- a/lib/spack/spack/cmd/spec.py +++ b/lib/spack/spack/cmd/spec.py @@ -33,20 +33,27 @@ import spack.url as url description = "print out abstract and concrete versions of a spec." def setup_parser(subparser): + subparser.add_argument('-i', '--ids', action='store_true', + help="show numerical ids for dependencies.") subparser.add_argument('specs', nargs=argparse.REMAINDER, help="specs of packages") + def spec(parser, args): + kwargs = { 'ids' : args.ids, + 'indent' : 2, + 'color' : True } + for spec in spack.cmd.parse_specs(args.specs): print "Input spec" print "------------------------------" - print spec.tree(color=True, indent=2) + print spec.tree(**kwargs) print "Normalized" print "------------------------------" spec.normalize() - print spec.tree(color=True, indent=2) + print spec.tree(**kwargs) print "Concretized" print "------------------------------" spec.concretize() - print spec.tree(color=True, indent=2) + print spec.tree(**kwargs) -- cgit v1.2.3-70-g09d2 From 744df776919017d7f02161a96cf96e92ca8eb48b Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 24 Mar 2015 09:28:47 -0700 Subject: add mailing list links to README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 69632b8933..0f1b2dd467 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,18 @@ Documentation [Full documentation](http://scalability-llnl.github.io/spack) for Spack is also available. +Contributing to Spack +------------------------ + +Spack is an open source project, and we welcome contributions in the +form of new packages, bugfixes, or even core development. If you are +interested in contributing to spack, the first step is to join the +mailing list. Click the link below and send the resulting email to +subscribe: + + * **[Subscribe](mailto:majordomo@lists.llnl.gov?subject=subscribe&body=subscribe%20spack)** + * **[Unsubscribe](mailto:majordomo@lists.llnl.gov?subject=unsubscribe&body=unsubscribe%20spack)** + Authors ---------------- Spack was written by Todd Gamblin, tgamblin@llnl.gov. -- cgit v1.2.3-70-g09d2 From b2f54bac9572ce75d8129fb147a6deec3aaca221 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Tue, 24 Mar 2015 09:58:32 -0700 Subject: Add contributions section to README.md --- README.md | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0f1b2dd467..0befb38c7c 100644 --- a/README.md +++ b/README.md @@ -32,18 +32,36 @@ Documentation [Full documentation](http://scalability-llnl.github.io/spack) for Spack is also available. -Contributing to Spack +Get Involved! ------------------------ -Spack is an open source project, and we welcome contributions in the -form of new packages, bugfixes, or even core development. If you are -interested in contributing to spack, the first step is to join the -mailing list. Click the link below and send the resulting email to -subscribe: +Spack is an open source project. Questions, discussion, and +contributions are welcome. Contributions can be anything from new +packages to bugfixes, or even new core features. + +### Mailing list + +If you are interested in contributing to spack, the first step is to +join the mailing list. We're currently using LLNL's old-fashioned +mailing list software, so you'll need to click the links below and +send the resulting email to subscribe or unsubscribe: * **[Subscribe](mailto:majordomo@lists.llnl.gov?subject=subscribe&body=subscribe%20spack)** * **[Unsubscribe](mailto:majordomo@lists.llnl.gov?subject=unsubscribe&body=unsubscribe%20spack)** +### Contributions + +At the moment, contributing to Spack is relatively simple. Just send us +a [pull request](https://help.github.com/articles/using-pull-requests/). +When you send your request, make ``develop`` the destination branch. + +Spack is using a rough approximation of the [Git +Flow](http://nvie.com/posts/a-successful-git-branching-model/) +branching model. The ``develop`` branch contains the latest +contributions, and ``master`` is always tagged and points to the +latest stable release. + + Authors ---------------- Spack was written by Todd Gamblin, tgamblin@llnl.gov. -- cgit v1.2.3-70-g09d2