Rename the global lock from pants.run to pants.workdir.file_lock

Review Request #3668 - Created April 8, 2016 and submitted

Information
Eric Ayers
pants
zundel/rename-global-lock-file
3163
800c5d0...
Reviewers
pants-reviews
kwlzn, nhoward_tw, patricklaw, stuhood

This change renames the global lock in pants to keep it from conflicting with implementations prior to https://rbcommons.com/s/twitter/r/3633/

In prior implementations (using the python lockfile module) the presence of the file itself signals the lock.
After the change to use OwnerPrintingInterProcessFileLock which uses the fastener's library, the file will be left behind after the lock
is released. This causes problems if you later invoke an older version of pants in a workspace after using the updated version of pants
(for example, which switching back to an older branch in the repo.)

CI is running at https://travis-ci.org/pantsbuild/pants/builds/121803515

Eric Ayers
Mateo Rodriguez
Yi Cheng
Patrick Lawson
Stu Hood
Eric Ayers
Eric Ayers
Eric Ayers
Review request changed

Status: Closed (submitted)

Change Summary:

Thanks all. Commit e8f4b7f

Loading...