summaryrefslogtreecommitdiff
path: root/lib/spack/docs/mirrors.rst
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-31 12:21:04 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-10 01:29:53 -0800
commitb0377da771d9154956a408a59e97000049d7c2fb (patch)
tree548b118762d9f6ae3d88acf0b289bb9349b2116d /lib/spack/docs/mirrors.rst
parentdd0ae255ad8669c57ca2f560da6cd20bb4ee9179 (diff)
downloadspack-b0377da771d9154956a408a59e97000049d7c2fb.tar.gz
spack-b0377da771d9154956a408a59e97000049d7c2fb.tar.bz2
spack-b0377da771d9154956a408a59e97000049d7c2fb.tar.xz
spack-b0377da771d9154956a408a59e97000049d7c2fb.zip
update mirror config documentation.
- mirrors.yaml uses Spack's OrderedDict rather than lists.
Diffstat (limited to 'lib/spack/docs/mirrors.rst')
-rw-r--r--lib/spack/docs/mirrors.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/docs/mirrors.rst b/lib/spack/docs/mirrors.rst
index 7581a0e9ed..b20fedb55f 100644
--- a/lib/spack/docs/mirrors.rst
+++ b/lib/spack/docs/mirrors.rst
@@ -186,7 +186,7 @@ Each mirror has a name so that you can refer to it again later.
``spack mirror list``
----------------------------
-If you want to see all the mirrors Spack knows about you can run ``spack mirror list``::
+To see all the mirrors Spack knows about, run ``spack mirror list``::
$ spack mirror list
local_filesystem file:///Users/gamblin2/spack-mirror-2014-06-24
@@ -196,7 +196,7 @@ If you want to see all the mirrors Spack knows about you can run ``spack mirror
``spack mirror remove``
----------------------------
-And, if you want to remove a mirror, just remove it by name::
+To remove a mirror by name::
$ spack mirror remove local_filesystem
$ spack mirror list
@@ -205,11 +205,11 @@ And, if you want to remove a mirror, just remove it by name::
Mirror precedence
----------------------------
-Adding a mirror really just adds a section in ``~/.spack/mirrors.yaml``::
+Adding a mirror really adds a line in ``~/.spack/mirrors.yaml``::
mirrors:
- - local_filesystem: file:///Users/gamblin2/spack-mirror-2014-06-24
- - remote_server: https://example.com/some/web-hosted/directory/spack-mirror-2014-06-24
+ local_filesystem: file:///Users/gamblin2/spack-mirror-2014-06-24
+ remote_server: https://example.com/some/web-hosted/directory/spack-mirror-2014-06-24
If you want to change the order in which mirrors are searched for
packages, you can edit this file and reorder the sections. Spack will