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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 gerrit_instances = [ | 96 gerrit_instances = [ |
97 { | 97 { |
98 'url': 'chromium-review.googlesource.com', | 98 'url': 'chromium-review.googlesource.com', |
99 'shorturl': 'crosreview.com', | 99 'shorturl': 'crosreview.com', |
100 }, | 100 }, |
101 { | 101 { |
102 'url': 'chrome-internal-review.googlesource.com', | 102 'url': 'chrome-internal-review.googlesource.com', |
103 'shorturl': 'crosreview.com/i', | 103 'shorturl': 'crosreview.com/i', |
104 }, | 104 }, |
| 105 { |
| 106 'url': 'android-review.googlesource.com', |
| 107 }, |
105 ] | 108 ] |
106 | 109 |
107 google_code_projects = [ | 110 google_code_projects = [ |
108 { | 111 { |
109 'name': 'brillo', | 112 'name': 'brillo', |
110 'shorturl': 'brbug.com', | 113 'shorturl': 'brbug.com', |
111 }, | 114 }, |
112 { | 115 { |
113 'name': 'chromium', | 116 'name': 'chromium', |
114 'shorturl': 'crbug.com', | 117 'shorturl': 'crbug.com', |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 | 757 |
755 if __name__ == '__main__': | 758 if __name__ == '__main__': |
756 # Fix encoding to support non-ascii issue titles. | 759 # Fix encoding to support non-ascii issue titles. |
757 fix_encoding.fix_encoding() | 760 fix_encoding.fix_encoding() |
758 | 761 |
759 try: | 762 try: |
760 sys.exit(main()) | 763 sys.exit(main()) |
761 except KeyboardInterrupt: | 764 except KeyboardInterrupt: |
762 sys.stderr.write('interrupted\n') | 765 sys.stderr.write('interrupted\n') |
763 sys.exit(1) | 766 sys.exit(1) |
OLD | NEW |