Hi All,
@vsoch submitted a PR to update Singularity to the new, Go-based,
Singularity v3.0.
https://github.com/spack/spack/pull/11094
It's languishing and I'd love to see it get merged.
There's a very long conversation thread, but it's mostly us trying to
figure out a bug that I had written and was effectively blind to. The
PR is ready to go as is. If/when something like #11331 or #10412 is
merged, this package can take advantage of it, but there's no reason
to wait.
Thanks,
g.
ps, a bit more detail...
The only thing unusual about the package is that it extends the
`do_stage` step and moves the source directory into
`src/
github.com/sylabs/singularity` after unpacking it (and sets
GOPATH) so that the Go machinery works as expected.
There's a long bit in the conversation about problems she was seeing
that I wasn't; in a nutshell I was nervously creating
`src/
github.com/sylabs/singularity` before calling `shutils.move` and
that was messing things up when we called `source_path` in the
arguments to `shutil.move`. Whether it succeeded or failed depended
on the order things were returned in a directory listing.
Eventually @vsoch figured it out and I achieved understanding. I
appreciate her use of the Nerf clue stick.