| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 'supports_owner_modified_query': True, | 77 'supports_owner_modified_query': True, |
| 78 'requires_auth': False, | 78 'requires_auth': False, |
| 79 'email_domain': 'chromium.org', | 79 'email_domain': 'chromium.org', |
| 80 }, | 80 }, |
| 81 { | 81 { |
| 82 'url': 'breakpad.appspot.com', | 82 'url': 'breakpad.appspot.com', |
| 83 'supports_owner_modified_query': False, | 83 'supports_owner_modified_query': False, |
| 84 'requires_auth': False, | 84 'requires_auth': False, |
| 85 'email_domain': 'chromium.org', | 85 'email_domain': 'chromium.org', |
| 86 }, | 86 }, |
| 87 { | |
| 88 'url': 'webrtc-codereview.appspot.com', | |
| 89 'shorturl': 'go/rtcrev', | |
| 90 'supports_owner_modified_query': True, | |
| 91 'requires_auth': False, | |
| 92 'email_domain': 'webrtc.org', | |
| 93 }, | |
| 94 ] | 87 ] |
| 95 | 88 |
| 96 gerrit_instances = [ | 89 gerrit_instances = [ |
| 97 { | 90 { |
| 98 'url': 'chromium-review.googlesource.com', | 91 'url': 'chromium-review.googlesource.com', |
| 99 'shorturl': 'crosreview.com', | 92 'shorturl': 'crosreview.com', |
| 100 }, | 93 }, |
| 101 { | 94 { |
| 102 'url': 'chrome-internal-review.googlesource.com', | 95 'url': 'chrome-internal-review.googlesource.com', |
| 103 'shorturl': 'crosreview.com/i', | 96 'shorturl': 'crosreview.com/i', |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 | 747 |
| 755 if __name__ == '__main__': | 748 if __name__ == '__main__': |
| 756 # Fix encoding to support non-ascii issue titles. | 749 # Fix encoding to support non-ascii issue titles. |
| 757 fix_encoding.fix_encoding() | 750 fix_encoding.fix_encoding() |
| 758 | 751 |
| 759 try: | 752 try: |
| 760 sys.exit(main()) | 753 sys.exit(main()) |
| 761 except KeyboardInterrupt: | 754 except KeyboardInterrupt: |
| 762 sys.stderr.write('interrupted\n') | 755 sys.stderr.write('interrupted\n') |
| 763 sys.exit(1) | 756 sys.exit(1) |
| OLD | NEW |