• Bryan C. Mills's avatar
    cmd/go/internal/modfetch/codehost: add lockfiles for repos · a2b4ac6c
    Bryan C. Mills authored
    The lockfile guards calls that may change the repo's filesystem contents.
    
    We don't know how robust VCS implementations are to running
    simultaneous commands, and this way we don't need to care: only one
    'go' command at a time will modify any given repository.
    
    If we can guarantee that particular VCS implementations are robust
    enough across all of the VCS tool versions we support, we may be able
    to remove some of this locking to improve parallelism.
    
    Updates #26794
    
    Change-Id: I578524974f5015629239cef43d3793aee2b9075c
    Reviewed-on: https://go-review.googlesource.com/c/146381
    Run-TryBot: Bryan C. Mills <bcmills@google.com>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    a2b4ac6c
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...