| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Get stats about your activity. | 6 """Get stats about your activity. |
| 7 | 7 |
| 8 Example: | 8 Example: |
| 9 - my_activity.py for stats for the current week (last week on mondays). | 9 - my_activity.py for stats for the current week (last week on mondays). |
| 10 - my_activity.py -Q for stats for last quarter. | 10 - my_activity.py -Q for stats for last quarter. |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 'name': 'chromium-os', | 134 'name': 'chromium-os', |
| 135 }, | 135 }, |
| 136 { | 136 { |
| 137 'name': 'chrome-os-partner', | 137 'name': 'chrome-os-partner', |
| 138 }, | 138 }, |
| 139 { | 139 { |
| 140 'name': 'google-breakpad', | 140 'name': 'google-breakpad', |
| 141 }, | 141 }, |
| 142 { | 142 { |
| 143 'name': 'gyp', | 143 'name': 'gyp', |
| 144 } | 144 }, |
| 145 { |
| 146 'name': 'skia', |
| 147 }, |
| 145 ] | 148 ] |
| 146 | 149 |
| 147 bugzilla_instances = [ | 150 bugzilla_instances = [ |
| 148 { | 151 { |
| 149 'search_url': 'http://bugs.webkit.org/buglist.cgi', | 152 'search_url': 'http://bugs.webkit.org/buglist.cgi', |
| 150 'url': 'wkb.ug', | 153 'url': 'wkb.ug', |
| 151 'user_func': user_to_webkit_email, | 154 'user_func': user_to_webkit_email, |
| 152 }, | 155 }, |
| 153 ] | 156 ] |
| 154 | 157 |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 print '\n\n\n' | 943 print '\n\n\n' |
| 941 | 944 |
| 942 my_activity.print_changes() | 945 my_activity.print_changes() |
| 943 my_activity.print_reviews() | 946 my_activity.print_reviews() |
| 944 my_activity.print_issues() | 947 my_activity.print_issues() |
| 945 return 0 | 948 return 0 |
| 946 | 949 |
| 947 | 950 |
| 948 if __name__ == '__main__': | 951 if __name__ == '__main__': |
| 949 sys.exit(main()) | 952 sys.exit(main()) |
| OLD | NEW |