On Fri, Aug 13, 2010 at 7:38 PM, Thomas Guettler <h...@tbz-pariv.de> wrote: > burc...@gmail.com wrote: >> Hi, >> >> On Thu, Aug 12, 2010 at 9:54 PM, Thomas Guettler <h...@tbz-pariv.de> wrote: >>> Hi, >>> >>> a colorized debug page helps a lot. More than 99% of errors >>> are in my code, and not in django's. This patch gives "own" code >>> a different color. >>> >>> It is assigned to "buriy" since 6 months. >>> >>> http://code.djangoproject.com/ticket/11834 >>> >>> Why not commit? >> >> I'm buriy. Patch creator. >> >> The agreement between core devs and me (or at least how i get it) was >> that we decided that this patch needs to be a part of larger "debug >> page usability improvement suite". >> My decision is that until that, the patch is "incomplete" to allow >> only in-house use. > > Django: The web framework for perfectionists with deadlines.... > But where/when is the deadline? It's for django jobs, not django development itself. > I think with "release early, release often" you get perfect code > faster. Unfortunately, 1) I have a lot of hobbies, 2) typical commit time even for perfect patch is almost a year! and almost no one applies patches from django tickets. 3) and current state of patch works excellent for my projects.
I had few useful thoughts about changing the way Django development contributions gets accepted and committed -- but all I get from this mailing list that all attempts to improve any process is just a waste of time. Core devs have no time even to accept working & looking good patches -- and rarely have time to review patches not looking good or working wrong! So why should I bother to write patches fast? But, if I have fans waiting for this feature, this is one good reason! >> I can do all development changes for all suite (and finish this patch >> of course), if we discuss how it should be done. >> >> My issue needs few improvements: >> - docs & tests > > AFAIK the current debug page has no docs and tests, too. At least we need tests for color choosing based on packages paths -- this can be customized by yourself. >> - ability to hide some traceback elements, keeping notice they are >> hidden -- it's so easy to shot yourself in foot otherwise. > > Please explain this. What do you want to hide? The page is for developers > only. The most of comments I got when developing this plugin were related to hiding some non-interesting parts of traceback. While I for myself tried this and find it confusing, i'm not sure if other should be able to do this -- and they might already try to do this with current patch. >> - better display for decorators -- i think they either don't deserve >> separate line or should be displayed as @decorator in the short debug >> output. > > I want to see the stacktrace the way it is (nested function calls) You get it already. >> - grouping template tags together and pretty display for them -- >> please see below. >> >> At least, after my issue, there are 2 others: >> - DEBUG_SHOW_DJANGO_TRACEBACK option ( >> http://code.djangoproject.com/ticket/13148 ) >> - output for template tags should be improved, since we're displaying >> 4 traceback blocks instead of template tag itself. There was a code >> written for this already somewhere, there was screenshot available, >> and it was discussed in this group, but i can't find it right now. Can >> anyone point me at it? And don't you want pretty output for templates lines? >> And yes, I don't know where to find designers to get a look at my >> implemented improvements, I'd like contact them when I'm ready. > > I am not a designer, but here is my opinion: Your patch highlights > own code quite good. But there are too many colors. I like the > colors of http://www.djangoproject.com/ > Why not use or copy parts if this style? > > I would just increase the size of "own" code, no different colors. > It would be nice if you could define a list of apps that > you consider "stable" and which should be displayed small. I'll try this, but colors are usually much better for visual distinction of items. I can make a special page, and show you and others resulting screenshots after your suggestions, and everyone who wants to add their 2cents. -- Best regards, Yuri V. Baburov, ICQ# 99934676, Skype: yuri.baburov, MSN: bu...@live.com -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.