packaging greasemonkey scripts
Brian Murray
brian at ubuntu.com
Wed Jun 17 03:16:14 UTC 2009
On Mon, May 25, 2009 at 10:43:54PM +0200, Mike Rooney wrote:
> Hello QAers,
>
> One of the UDS sessions was about packaging the greasemonkey scripts,
> so that they are both easier to install and easier to get updates for.
> We decided to initially pursue compiling the scripts as a firefox
> extension and then packaging that. As a first step I created an
> extension that is just the karma suffix script, and I've attached it
> for testing. It seems to work for me, but getting some QA is always
> good! Just right-click on your greasemonkey and disable it, drag the
> attached xpi on to firefox, and restart FF. Then you should hopefully
> see karma suffixes, but none of the other scripts.
>
> If this seems to work well we should figure it if we want one
> extension which contains them all, or separate extensions for each and
> a single metapackage for easy installation of all of them. Any
> opinions there?
When drafting the specification for packaging these scripts[1] it was
decided that we'd try and create a unified greasemonkey script that
incorporates most of them into one. As such I've created the
lp_unified.user.js[2] greasemonkey script that includes the same
functionality as - lp_patches.user.js, lp_karma_suffix.user.js,
lp_question_comment.user.js and lp_reporter_comments.user.js.
But wait there's more! I've also compiled this lp_unified.user.js
script into a Firefox extension called firefox-bugsquad-lp-improvements
and uploaded it to the gm-dev-launchpad team PPA[3]. It's working
fairly well for me but I'm interested to hear how it works for others
too.
Before installing the package you should disable the greasemonkey
scripts it replaces as otherwise you might be seeing double! I'll be
working more with the stock replies and tagging scripts soon.
Thanks to Mike Rooney for helping to get things started!
[1] https://wiki.ubuntu.com/QATeam/Specs/PackageGreasemonkeyScripts
[2]
http://bazaar.launchpad.net/~gm-dev-launchpad/launchpad-gm-scripts/master/files
[3] https://edge.launchpad.net/~gm-dev-launchpad/+archive/ppa
--
Brian Murray @ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-quality/attachments/20090616/87399fbe/attachment.pgp>
More information about the Ubuntu-qa
mailing list