want sql statements interleaved in html comments

Bug #626673 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Won't Fix
Wishlist
Unassigned

Bug Description

It might be nice if there was a Launchpad facility by which sql queries could be logged into the generated html soon after they are run. This could be turned on by a feature flag or a url component or both.

This seems to require giving TAL a method to say "please emit $x as a comment as soon as is legal and convenient" and then just arranging to call that from storm.

At the moment html generation is slow and we do too many queries so it may have a substantial performance impact. However it could still be useful as an option.

Revision history for this message
Martin Pool (mbp) wrote :

(just a wish; Robert asked for a bug to be filed; I may tackle it eventually but would be interested to hear whether anyone wants it.)

Revision history for this message
Gary Poster (gary) wrote :

Stuart and I think this would be very difficult without forking template code.

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Robert Collins (lifeless) wrote :

I'm going to wontfix this: we're moving to:
 - doing data retrieval upfront
 - sql on a different server to template rendering

either of these would diminish the usefulness of this bug; the combination kills it entirely :)

Changed in launchpad:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.