Created attachment 378476 [details] [diff] [review] patch bug 396510 removed the command line option -install-global-extension to install extensions on the trunk. An alternative method is to place a text file with the same name as the UUID of an extension either in the application's extensions directory or the extensions directory of the profile. The approach I've chosen is to unzip the extensions into /tmp/sisyphus/extensions/<extensionname> and to drop a text file into the application's extensions directory. testing/sisyphus/bin/get-extension-uuid.pl uses XML::Simple to parse the install.rdf file to obtain the UUID for the extension. Note that it uses namespaces and therefore requires a SAX Parser such as XML::SAX::Expat. A follow up bug will be to create an uninstaller to remove the UUID file from the application's extensions directory.
http://hg.mozilla.org/tracemonkey/rev/f5f7bc23b5c9 rsayre, when you do your merges back to mozilla-central will you pick up pushes to testing/sisyphus?
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
/cvsroot/mozilla/testing/sisyphus/bin/get-extension-uuid.pl,v <-- get-extension-uuid.pl initial revision: 1.1 /cvsroot/mozilla/testing/sisyphus/bin/install-extensions-2.html,v <-- install-extensions-2.html new revision: delete; previous revision: 1.1 /cvsroot/mozilla/testing/sisyphus/bin/install-extensions.sh,v <-- install-extensions.sh new revision: 1.10; previous revision: 1.9 /cvsroot/mozilla/testing/sisyphus/bin/library.sh,v <-- library.sh new revision: 1.16; previous revision: 1.15
You need to log in before you can comment on or make changes to this bug.