summaryrefslogtreecommitdiffstats
path: root/_posts/first-steps-towards-support-for-bugzilla-gnome-org.rst
diff options
context:
space:
mode:
Diffstat (limited to '_posts/first-steps-towards-support-for-bugzilla-gnome-org.rst')
-rw-r--r--_posts/first-steps-towards-support-for-bugzilla-gnome-org.rst53
1 files changed, 53 insertions, 0 deletions
diff --git a/_posts/first-steps-towards-support-for-bugzilla-gnome-org.rst b/_posts/first-steps-towards-support-for-bugzilla-gnome-org.rst
new file mode 100644
index 0000000..ae5e27a
--- /dev/null
+++ b/_posts/first-steps-towards-support-for-bugzilla-gnome-org.rst
@@ -0,0 +1,53 @@
+title: First steps towards support for bugzilla.gnome.org
+categories:
+ - computer
+ - jetpack
+date: 2010-08-06T07:19:00
+tags:
+---
+
+After return from Guadec_ I was greatly encouraged by the interest
+I've met there. I thought on the spot about making a specific child
+object for Gnome bugzilla (similar to MozillaBugzilla), which would
+liquidate unnecessary buttons from bugzilla. However, another request
+I've got was from Luis_ and he asked me to get an ability to eliminate
+unnecessary buttons so he can use bugzilla for his MoFo legal work
+(which is an interesting idea in itself ;)).
+
+In the end I have decided that it would be actually easy to keep all
+business logic still in JSON file (and not having some
+``if (this.hostname === "bugzilla.gnome.org")`` hardwired in the code).
+So with the current (`git`_, unreleased) version you can add this bit of
+code into configData of your JSON file::
+
+ "killNodes": {
+      "bugzilla.gnome.org": [
+           "stocklinks", true
+       ]
+ },
+
+and the script will kill element with id ``'stocklinks'`` upon the
+startup. For Luis, instead of one string, it could be an array with more
+IDs. So this is the current look of bugzilla.gnome.org in my Firefox
+
+.. image:: http://4.bp.blogspot.com/_de4d8QAtRzI/TFuaXoLYPLI/AAAAAAAAAsc/h7xi7usNXXk/s400/bts-gnome-first.png
+ :scale: 66%
+ :align: center
+ :target: http://4.bp.blogspot.com/_de4d8QAtRzI/TFuaXoLYPLI/AAAAAAAAAsc/h7xi7usNXXk/s1600/bts-gnome-first.png
+
+
+However, while testing the script I found that bgo is still very heavily
+modified (although apparently not `an obsolete one anymore`_) and my
+script breaks somewhere. I have fixed one inconsistency (apparently,
+``'mailto:'`` is not good enough for their email addresses ;)), but
+there is still something which breaks generation of new buttons. I'll
+work on it when I can.
+
+.. _Guadec:
+ http://guadec.org/index.php/guadec/2010/
+.. _Luis:
+ http://tieguy.org/blog/
+.. _git:
+ git://git.fedorahosted.org/bugzilla-triage-scripts.git
+.. _`an obsolete one anymore`:
+ https://lpsolit.wordpress.com/2010/07/15/please-upgrade/