lp://qastaging/errors
- Get this branch:
- bzr branch lp://qastaging/errors
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 663. By Skia
-
Improve internal server error template page (LP: #1841273)
The page now at least indicates that the site had an internal error.
I loved the joke, but apparently, it's not funny anymore given that we have a
bug about it 🙃 - 662. By Skia
-
api: restrict the /instance end-point only to authenticated users
This is a quickly hacked together restriction on the end-point that allows
fetching OOPSes, because this data shouldn't be publicly accessible, for privacy
reasons.The implementation isn't great at all, but at least works for now.
- 661. By Skia
-
Add /api/1.
0/dayoops/ <date> endpoint This supports the following GET parameters:
* limit: int - how much results to get
* release: str - a release to filter the OOPSes on
* details: bool - whether or not to include the 'ProblemType' for each OOPS in
the responseAll those parameters have quirks and are mostly hacked together. For example,
using release without a high limit doesn't really work. Also, details might
quickly get you to hit timeouts.The use case driving these changes was about querying OOPSes that have
ProblemType=AptSolver. The database doesn't allow that easily, so we ended up
with juliank doing something like this:
* query one dayoops with a very high limit
* query the same page with a restriction on `release` for each released version
* substract the second set from the first, because `AptSolver` OOPSes actually
don't have a `DistroRelease` entry, so always get filtered out when specifying
`release`.Yes, this is madness, I know, thank you.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)