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

Issue 2681693004: [cipd] ignore package folders missing current link. (Closed)

Created:
3 years, 10 months ago by iannucci
Modified:
3 years, 10 months ago
Reviewers:
Vadim Sh.
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

[cipd] ignore package folders missing current link. For bad packages which include .cipd/pkgs guts, it's possible for empty folders to pollute the pkgs space with description.json files such that multiple pkg folders contain 'valid' contents for the same package. R=vadimsh@chromium.org BUG=689359 Review-Url: https://codereview.chromium.org/2681693004 Committed: https://github.com/luci/luci-go/commit/c571b954b15cdf9132da0f08c355fdf2a600c2f2

Patch Set 1 #

Total comments: 2

Patch Set 2 : do cleanup instead #

Patch Set 3 : more logging #

Total comments: 2

Patch Set 4 : Add tests #

Patch Set 5 : skip tests on windows #

Patch Set 6 : Make it work on windows #

Patch Set 7 : Make it actually work on windows #

Patch Set 8 : Add current.txt too #

Patch Set 9 : third time is the charm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -25 lines) Patch
M cipd/client/cipd/local/deployer.go View 1 2 3 3 chunks +76 lines, -25 lines 0 comments Download
M cipd/client/cipd/local/deployer_test.go View 1 2 3 4 5 6 7 8 3 chunks +155 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (14 generated)
iannucci
3 years, 10 months ago (2017-02-08 09:03:07 UTC) #1
iannucci
I'm actually a bit unsure of this change... I'm worried that we might end up ...
3 years, 10 months ago (2017-02-08 09:18:16 UTC) #6
iannucci
On 2017/02/08 09:18:16, iannucci wrote: > I'm actually a bit unsure of this change... I'm ...
3 years, 10 months ago (2017-02-08 09:51:32 UTC) #7
Vadim Sh.
On 2017/02/08 09:51:32, iannucci wrote: > On 2017/02/08 09:18:16, iannucci wrote: > > I'm actually ...
3 years, 10 months ago (2017-02-08 20:14:32 UTC) #8
Vadim Sh.
https://codereview.chromium.org/2681693004/diff/1/cipd/client/cipd/local/deployer.go File cipd/client/cipd/local/deployer.go (right): https://codereview.chromium.org/2681693004/diff/1/cipd/client/cipd/local/deployer.go#newcode445 cipd/client/cipd/local/deployer.go:445: err = fmt.Errorf("invalid package dir, no description.json and no ...
3 years, 10 months ago (2017-02-08 20:22:28 UTC) #9
Vadim Sh.
seems fine... lgtm https://codereview.chromium.org/2681693004/diff/40001/cipd/client/cipd/local/deployer.go File cipd/client/cipd/local/deployer.go (right): https://codereview.chromium.org/2681693004/diff/40001/cipd/client/cipd/local/deployer.go#newcode562 cipd/client/cipd/local/deployer.go:562: logging.Warningf(ctx, "removing bad directory: %q (%s)", ...
3 years, 10 months ago (2017-02-09 00:54:54 UTC) #10
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/2681693004/60001
3 years, 10 months ago (2017-02-09 01:56:04 UTC) #13
iannucci
https://codereview.chromium.org/2681693004/diff/40001/cipd/client/cipd/local/deployer.go File cipd/client/cipd/local/deployer.go (right): https://codereview.chromium.org/2681693004/diff/40001/cipd/client/cipd/local/deployer.go#newcode562 cipd/client/cipd/local/deployer.go:562: logging.Warningf(ctx, "removing bad directory: %q (%s)", fullPkgPath, err) On ...
3 years, 10 months ago (2017-02-09 01:56:22 UTC) #14
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/3439675722336a10)
3 years, 10 months ago (2017-02-09 02:07:26 UTC) #16
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/2681693004/80001
3 years, 10 months ago (2017-02-09 02:15:05 UTC) #19
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/2681693004/160001
3 years, 10 months ago (2017-02-09 02:52:56 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 02:59:00 UTC) #26
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://github.com/luci/luci-go/commit/c571b954b15cdf9132da0f08c355fdf2a600c2f2

Powered by Google App Engine
This is Rietveld 408576698