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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 'supports_owner_modified_query': True, | 69 'supports_owner_modified_query': True, |
70 'requires_auth': False, | 70 'requires_auth': False, |
71 'email_domain': 'chromium.org', | 71 'email_domain': 'chromium.org', |
72 }, | 72 }, |
73 { | 73 { |
74 'url': 'breakpad.appspot.com', | 74 'url': 'breakpad.appspot.com', |
75 'supports_owner_modified_query': False, | 75 'supports_owner_modified_query': False, |
76 'requires_auth': False, | 76 'requires_auth': False, |
77 'email_domain': 'chromium.org', | 77 'email_domain': 'chromium.org', |
78 }, | 78 }, |
| 79 { |
| 80 'url': 'webrtc-codereview.appspot.com', |
| 81 'shorturl': 'go/rtcrev', |
| 82 'supports_owner_modified_query': True, |
| 83 'requires_auth': False, |
| 84 'email_domain': 'webrtc.org', |
| 85 }, |
79 ] | 86 ] |
80 | 87 |
81 gerrit_instances = [ | 88 gerrit_instances = [ |
82 { | 89 { |
83 'url': 'chromium-review.googlesource.com', | 90 'url': 'chromium-review.googlesource.com', |
84 'shorturl': 'crosreview.com', | 91 'shorturl': 'crosreview.com', |
85 }, | 92 }, |
86 { | 93 { |
87 'url': 'chrome-internal-review.googlesource.com', | 94 'url': 'chrome-internal-review.googlesource.com', |
88 'shorturl': 'crosreview.com/i', | 95 'shorturl': 'crosreview.com/i', |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 my_activity.print_issues() | 852 my_activity.print_issues() |
846 return 0 | 853 return 0 |
847 | 854 |
848 | 855 |
849 if __name__ == '__main__': | 856 if __name__ == '__main__': |
850 try: | 857 try: |
851 sys.exit(main()) | 858 sys.exit(main()) |
852 except KeyboardInterrupt: | 859 except KeyboardInterrupt: |
853 sys.stderr.write('interrupted\n') | 860 sys.stderr.write('interrupted\n') |
854 sys.exit(1) | 861 sys.exit(1) |
OLD | NEW |