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

Issue 2243483003: Add LogDog stream name normalization function. (Closed)

Created:
4 years, 4 months ago by dnj
Modified:
4 years, 4 months ago
Reviewers:
martiniss
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://github.com/luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Add LogDog stream name normalization function. Add a LogDog stream normalization function. This will take an arbitrary stream name and make a best-effort attempt to convert it to a valid LogDog stream name. BUG=chromium:628770 TEST=unittest - Unit test for the new function runs successfully. Committed: https://github.com/luci/luci-py/commit/6a5120210cd8214bcbaec031333e3148520d57df

Patch Set 1 #

Patch Set 2 : Allow multi-segment normalization. #

Total comments: 4

Patch Set 3 : Use string constants. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -0 lines) Patch
M client/libs/logdog/streamname.py View 1 2 3 chunks +63 lines, -0 lines 0 comments Download
M client/libs/logdog/tests/streamname_test.py View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
dnj
PTAL
4 years, 4 months ago (2016-08-11 20:17:55 UTC) #2
martiniss
lgtm https://codereview.chromium.org/2243483003/diff/20001/client/libs/logdog/streamname.py File client/libs/logdog/streamname.py (right): https://codereview.chromium.org/2243483003/diff/20001/client/libs/logdog/streamname.py#newcode75 client/libs/logdog/streamname.py:75: out.append(prefix) Doing iteration over every character in a ...
4 years, 4 months ago (2016-08-11 20:24:43 UTC) #3
dnj
https://codereview.chromium.org/2243483003/diff/20001/client/libs/logdog/streamname.py File client/libs/logdog/streamname.py (right): https://codereview.chromium.org/2243483003/diff/20001/client/libs/logdog/streamname.py#newcode75 client/libs/logdog/streamname.py:75: out.append(prefix) On 2016/08/11 20:24:43, martiniss wrote: > Doing iteration ...
4 years, 4 months ago (2016-08-11 20:42:29 UTC) #4
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/2243483003/40001
4 years, 4 months ago (2016-08-11 21:20:04 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 21:23:00 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-py/commit/6a5120210cd8214bcbaec031333e3148520d57df

Powered by Google App Engine
This is Rietveld 408576698