Merge lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools
| Status: | Merged |
|---|---|
| Approved by: | James Westby on 2012-12-05 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 49 |
| Proposed branch: | lp:~james-w/python-oops-tools/recent-oopses |
| Merge into: | lp:python-oops-tools |
| Diff against target: |
232 lines (+163/-3) 6 files modified
src/oopstools/oops/static/oops.css (+7/-1) src/oopstools/oops/templates/report.html (+36/-0) src/oopstools/oops/test/__init__.py (+0/-2) src/oopstools/oops/test/test_report.py (+77/-0) src/oopstools/oops/test/testcase.py (+11/-0) src/oopstools/oops/views.py (+32/-0) |
| To merge this branch: | bzr merge lp:~james-w/python-oops-tools/recent-oopses |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Curtis Hovey (community) | code | Approve on 2012-12-04 | |
| j.c.sackett (community) | 2012-11-29 | Approve on 2012-11-29 | |
|
Review via email:
|
|||
Commit Message
Show the (paginated) oopses for each report.
Description of the Change
Hi,
Showing the day-old reports is of limited use, because you don't know
if there are issues with the site at this moment. To try and help with that
show the oopses, sorted with the most recent first, on the report page.
It uses pagination to keep the number of oopses displayed small.
Thanks,
James
| Launchpad PQM Bot (launchpad-pqm) wrote : | # |
The attempt to merge lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools failed.Below is the output from the failed tests.
find . -type f -name '*.py[co]' -exec rm -f {} \;
rm -f bin/buildout
rm -f src/oopstools/
bzr clean-tree --unknown --force
bzr up download-cache
python bootstrap.py \
--setup-
--download-
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Generated script '/home/
bin/buildout configuration:
Develop: '/home/
Uninstalling filetemplates.
Updating scripts.
Installing filetemplates.
Updating django.
Updating docs.
Updating tags.
bin/test
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
W: line 4 [buildbot-staging]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 2 [pqm]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 3 [pqm-oops-tools]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 1 [precise]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
I: [pqm-oops-tools chroot] Running command: "cd /home/pqm/
Nothing to delete.
+N dist/Twisted-
+N dist/lazr.
+N dist/lazr.
+N dist/lazr.
+N dist/lazr.
+N dist/lazr.
-D dist/lazr.
-D dist/lazr.
-D dist/lazr.
-D dist/lazr.
All changes applied successfully.
Updated to revision 531 of branch http://
/home/pqm/
DeprecationWa
/home/pqm/
DeprecationWa
/home/pqm/
category=
.......
=======
ERROR: test_recent_oopses (test_report.
-------
Traceback (most recent call last):
File "/home/pqm/...
| Launchpad PQM Bot (launchpad-pqm) wrote : | # |
The attempt to merge lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools failed.Below is the output from the failed tests.
find . -type f -name '*.py[co]' -exec rm -f {} \;
rm -f bin/buildout
rm -f src/oopstools/
bzr clean-tree --unknown --force
bzr up download-cache
python bootstrap.py \
--setup-
--download-
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Generated script '/home/
bin/buildout configuration:
Develop: '/home/
Uninstalling filetemplates.
Updating scripts.
Installing filetemplates.
Updating django.
Updating docs.
Updating tags.
bin/test
Creating test database for alias 'default'...
W: line 4 [buildbot-staging]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 2 [pqm]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 3 [pqm-oops-tools]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 1 [precise]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
I: [pqm-oops-tools chroot] Running command: "cd /home/pqm/
Nothing to delete.
Tree is up to date at revision 531 of branch http://
Traceback (most recent call last):
File "bin/test", line 58, in <module>
djangorecip
File "/home/
management.
File "/home/
utility.
File "/home/
self.
File "/home/
self.
File "/home/
output = self.handle(*args, **options)
File "/home/
super(Command, self).handle(*args, **kwargs)
File "/home/
failures = test_runner.
File "/home/
old_config = self.setup_
File "/home/
- 49. By James Westby on 2012-12-05
-
Show the (paginated) oopses for each report.

Looks good. Thanks, James.