summaryrefslogtreecommitdiffstats
path: root/first-steps-towards-support-for-bugzilla-gnome-org.rst
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2015-09-24 22:47:45 +0200
committerMatěj Cepl <mcepl@cepl.eu>2015-09-24 22:49:48 +0200
commit8fcd5369775dcb4b825f6728c9df93369539a853 (patch)
treee21025360e9c32c5be96bc5640b0c5a29ca92280 /first-steps-towards-support-for-bugzilla-gnome-org.rst
parent87b5b78bdab9f174795224f08eadfc8d79eae9ef (diff)
downloadblog-source-8fcd5369775dcb4b825f6728c9df93369539a853.tar.gz
Initial rewrite of posts for pelican
Diffstat (limited to 'first-steps-towards-support-for-bugzilla-gnome-org.rst')
-rw-r--r--first-steps-towards-support-for-bugzilla-gnome-org.rst53
1 files changed, 53 insertions, 0 deletions
diff --git a/first-steps-towards-support-for-bugzilla-gnome-org.rst b/first-steps-towards-support-for-bugzilla-gnome-org.rst
new file mode 100644
index 0000000..58f8468
--- /dev/null
+++ b/first-steps-towards-support-for-bugzilla-gnome-org.rst
@@ -0,0 +1,53 @@
+First steps towards support for bugzilla.gnome.org
+##################################################
+
+:date: 2010-08-06T07:19:00
+:category: computer
+:tags: jetpack, firefox
+
+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
+ :alt: bugzilla page with eliminated unnecessary fields
+
+
+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/