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

Issue 11607007: Add support for specifying my_activity.py list format. (Closed)

Created:
8 years ago by nyquist
Modified:
8 years ago
Reviewers:
cmp, cjhopman
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org
Visibility:
Public.

Description

Add support for specifying my_activity.py list format. This adds the possibility to specify the format for your activity through: -f <format>, --output-format=<format> <format> is specified as in strings.format(...). It is also possible to specify the output format for specific activity types. This enables users to use other formats such as Markdown: [%(title)s](%(url)s) This CL also adds support for new variables such as author, and adds a generic framework for adding more variables. BUG=166519 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=174203

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Addressed comments. #

Patch Set 4 : Fix lint errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -25 lines) Patch
M my_activity.py View 1 2 3 6 chunks +84 lines, -25 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
nyquist
cjhopman: PTAL
8 years ago (2012-12-17 23:00:09 UTC) #1
cjhopman
https://codereview.chromium.org/11607007/diff/1/my_activity.py File my_activity.py (left): https://codereview.chromium.org/11607007/diff/1/my_activity.py#oldcode713 my_activity.py:713: print '%s %s' % ( Could this use string.format() ...
8 years ago (2012-12-17 23:03:51 UTC) #2
cjhopman
https://codereview.chromium.org/11607007/diff/1/my_activity.py File my_activity.py (right): https://codereview.chromium.org/11607007/diff/1/my_activity.py#newcode719 my_activity.py:719: def print_issue(issue, output_format): To ensure that the different formatters ...
8 years ago (2012-12-17 23:08:27 UTC) #3
nyquist
PTAL. * Addressed comments * Added support for author * Added generic framework for optional ...
8 years ago (2012-12-19 07:08:11 UTC) #4
cjhopman
https://codereview.chromium.org/11607007/diff/6001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/11607007/diff/6001/my_activity.py#newcode914 my_activity.py:914: 'By default, all activity will be printed on the ...
8 years ago (2012-12-20 17:29:38 UTC) #5
nyquist
PTAL
8 years ago (2012-12-20 17:54:24 UTC) #6
cjhopman
lgtm
8 years ago (2012-12-20 17:59:00 UTC) #7
nyquist
cmp@: PTAL for owners rubberstamp.
8 years ago (2012-12-20 18:01:09 UTC) #8
nyquist
https://codereview.chromium.org/11607007/diff/6001/my_activity.py File my_activity.py (right): https://codereview.chromium.org/11607007/diff/6001/my_activity.py#newcode914 my_activity.py:914: 'By default, all activity will be printed on the ...
8 years ago (2012-12-20 18:01:56 UTC) #9
cmp
lgtm
8 years ago (2012-12-20 18:44:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/11607007/11002
8 years ago (2012-12-20 19:23:08 UTC) #11
commit-bot: I haz the power
8 years ago (2012-12-20 19:26:51 UTC) #12
Message was sent while issue was closed.
Change committed as 174203

Powered by Google App Engine
This is Rietveld 408576698