My Bag of Squid

.. to kick down the beach. So stand back.

Monday, January 09, 2006

Minor Bugzilla Bug - But Enough is Clearly Enough

What the hell is with Bugzilla's stupid reverse-dependency diagram? In what drunken fantasy do humans ever demonstrate a progression of idea from right to left instead of left to right?

Apparently, the people at bugzilla think backward, but I sure as hell do not. But I've taken it for a few years now, actually, and tonight I have no idea what charged me with the goal of fucking fixing the problem.

It was remarkably easy:
diff -uBb /var/www/html/bugzilla/showdependencygraph.cgi\~ /var/www/html/bugzilla/showdependencygraph.cgi
--- /var/www/html/bugzilla/showdependencygraph.cgi~ 2003-04-24 14:15:48.000000000 -0700
+++ /var/www/html/bugzilla/showdependencygraph.cgi 2006-01-09 01:58:03.000000000 -0800
@@ -65,7 +65,7 @@
my $key = "$blocked,$dependson";
if (!exists $edgesdone{$key}) {
$edgesdone{$key} = 1;
- print $fh "$blocked -> $dependson\n";
+ print $fh "$dependson -> $blocked\n";
$seen{$blocked} = 1;
$seen{$dependson} = 1;
}

Diff finished at Mon Jan 9 01:58:08
Yeah. That was kinda It. It now turns stupid graphs into sensible graphs:
Not a really big difference, in the grand scheme of things? Okay, tough guy, then check this shit out:

That's where it starts to get annoying: working left-to-right, bottom-to-top with that kind of a large layout, when everything else in your existence is top-down and left-to-right, really fucks with your head.

I'm glad, and a little embarrassed, that it was merely a one-line fix. Why the hell can't the BZ people have done this? Too busy working on shiny logos and fucking theme work, I guess.

0 Comments:

Post a Comment

<< Home