diff options
author | Paul Ferrell <51765748+Paul-Ferrell@users.noreply.github.com> | 2019-11-20 17:00:44 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-23 23:03:03 -0800 |
commit | c15e55c6686dc5640f36e833902b9ce3889bb13b (patch) | |
tree | cb8f1e71bf2fa9d226597951a14acfc0f1a1c550 /etc | |
parent | fe4ccdd5554165bce515b62f2d70944d0513339d (diff) | |
download | spack-c15e55c6686dc5640f36e833902b9ce3889bb13b.tar.gz spack-c15e55c6686dc5640f36e833902b9ce3889bb13b.tar.bz2 spack-c15e55c6686dc5640f36e833902b9ce3889bb13b.tar.xz spack-c15e55c6686dc5640f36e833902b9ce3889bb13b.zip |
mirror bug fixes: symlinks, duplicate patch names, and exception handling (#13789)
* Some packages (e.g. mpfr at the time of this patch) can have patches
with the same name but different contents (which apply to different
versions of the package). This appends part of the patch hash to the
cache file name to avoid conflicts.
* Some exceptions which occur during fetching are not a subclass of
SpackError and therefore do not have a 'message' attribute. This
updates the logic for mirroring a single spec (add_single_spec)
to produce an appropriate error message in that case (where before
it failed with an AttributeError)
* In various circumstances, a mirror can contain the universal storage
path but not a cosmetic symlink; in this case it would not generate
a symlink. Now "spack mirror create" will create a symlink for any
package that doesn't have one.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions