Page MenuHomeSoftware Heritage

Copy /src/ to a temporary directory before building.
ClosedPublic

Authored by vlorentz on May 4 2020, 11:48 AM.

Details

Summary

For some reason, pip used to work without write access to the source
directory, but doesn't anymore; so from now on we'll copy the source
somewhere writeable.

This solves the permission issues we had with private directories
not being available in docker; so swhclean is no longer needed.

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd added a subscriber: olasd.

No amount of wrangling setup.py has worked to actually perform a build in a read-only dir, so I guess we can do that instead. Bleh.

This revision is now accepted and ready to land.May 4 2020, 12:00 PM