Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Issue 2980603003: Flesh out the mmutex binary wrapper and test for existence of lockfile (Closed)

Created:
3 years, 5 months ago by charliea (OOO until 10-5)
Modified:
3 years, 5 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Flesh out the mmutex binary wrapper and test for existence of lockfile The logic in this CL is uninteresting, but I mostly want to make sure that the wrapper, directory structure, and test harness are set up correctly before getting too much further. BUG=416072 Review-Url: https://codereview.chromium.org/2980603003 Committed: https://github.com/luci/luci-go/commit/6553a52aeef59501c0b106ff07113b83ad6d179a

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : Change tempdir directory to work on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -1 line) Patch
A mmutex/cmd/mmutex/.gitignore View 1 1 chunk +1 line, -0 lines 0 comments Download
A mmutex/cmd/mmutex/exclusive.go View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M mmutex/cmd/mmutex/main.go View 1 2 3 1 chunk +37 lines, -1 line 0 comments Download
A mmutex/lib/flock.go View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A mmutex/lib/flock_test.go View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
charliea (OOO until 10-5)
3 years, 5 months ago (2017-07-11 20:02:10 UTC) #2
iannucci
lgtm as a step https://codereview.chromium.org/2980603003/diff/20001/mmutex/cmd/mmutex/main.go File mmutex/cmd/mmutex/main.go (right): https://codereview.chromium.org/2980603003/diff/20001/mmutex/cmd/mmutex/main.go#newcode19 mmutex/cmd/mmutex/main.go:19: var isExclusive = flag.Bool("x", false, ...
3 years, 5 months ago (2017-07-11 20:52:15 UTC) #3
charliea (OOO until 10-5)
PTAL I figure there significant enough changes (where I'm not 100% sure what I'm doing) ...
3 years, 5 months ago (2017-07-11 23:26:16 UTC) #4
iannucci
lgtm :) https://codereview.chromium.org/2980603003/diff/40001/mmutex/cmd/mmutex/main.go File mmutex/cmd/mmutex/main.go (right): https://codereview.chromium.org/2980603003/diff/40001/mmutex/cmd/mmutex/main.go#newcode46 mmutex/cmd/mmutex/main.go:46: var cmdExclusiveLock = &subcommands.Command{ I would recommend ...
3 years, 5 months ago (2017-07-12 01:34:59 UTC) #5
charliea (OOO until 10-5)
On 2017/07/12 01:34:59, iannucci wrote: > lgtm :) > > https://codereview.chromium.org/2980603003/diff/40001/mmutex/cmd/mmutex/main.go > File mmutex/cmd/mmutex/main.go (right): ...
3 years, 5 months ago (2017-07-12 02:15:30 UTC) #6
charliea (OOO until 10-5)
https://codereview.chromium.org/2980603003/diff/40001/mmutex/cmd/mmutex/main.go File mmutex/cmd/mmutex/main.go (right): https://codereview.chromium.org/2980603003/diff/40001/mmutex/cmd/mmutex/main.go#newcode46 mmutex/cmd/mmutex/main.go:46: var cmdExclusiveLock = &subcommands.Command{ On 2017/07/12 01:34:59, iannucci wrote: ...
3 years, 5 months ago (2017-07-12 02:17:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2980603003/100001
3 years, 5 months ago (2017-07-12 02:19:44 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Win Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/374d7016fbcffd10)
3 years, 5 months ago (2017-07-12 02:32:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2980603003/120001
3 years, 5 months ago (2017-07-12 13:53:24 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 13:59:20 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://github.com/luci/luci-go/commit/6553a52aeef59501c0b106ff07113b83ad6d179a

Powered by Google App Engine
This is Rietveld 408576698