Merge lp:~urbanape/bindwood/fix-544528 into lp:bindwood

Proposed by Zachery Bir
Status: Merged
Approved by: Rodrigo Moya
Approved revision: 21
Merge reported by: Zachery Bir
Merged at revision: not available
Proposed branch: lp:~urbanape/bindwood/fix-544528
Merge into: lp:bindwood
Diff against target: 50 lines (+4/-3)
4 files modified
chrome.manifest (+1/-1)
config_build.sh (+1/-1)
install.rdf (+1/-1)
modules/bindwood.jsm (+1/-0)
To merge this branch: bzr merge lp:~urbanape/bindwood/fix-544528
Reviewer Review Type Date Requested Status
Rodrigo Moya (community) Approve
Stuart Colville (community) Approve
Review via email: mp+22096@code.launchpad.net

Description of the change

This branch fixes some of the packaging glitches that were present in the 1.0 package added to lucid. These glitches also manifest themselves in the .xpi built with build.sh, so the easiest way to test is to build a local .xpi, install it, and launch firefox with a dummy database:

Stop using a current Bindwood:

  * If you have any version of Bindwood currently installed on your system (bindwood or xul-ext-bindwood packages):

    * Temporarily uninstall it via synaptic.

  * If you have a symlink extension from previous testing, remove the symlink

Back up prefs and prepare Firefox for new version. With Bindwood uninstalled, you can launch Firefox freely and not worry about bookmark interactions.

  * In Firefox, visit the about:config page and create two new preferences to backup existing prefs:

    * bindwood.last_seq.bak with the value from bindwood.last_seq

    * bindwood.latest_modified.bak with the value from bindwood.latest_modified

  * Reset the two existing preferences:

    * bindwood.last_seq

    * bindwood.latest_modified

  * If it's not present already, create a boolean preference called bindwood.debug and set it to true

Build new .xpi:

  * In a checkout of this branch, run `./build.sh`

  * Right-click on the resulting .xpi file in Nautilus and choose to open it with Firefox, and install the .xpi.

  * Quit (don't restart) Firefox.

Launch Firefox with a dummy database name:

  * `BINDWOOD_DB=some_test_database_name firefox &`

  * You should see a window pop up saying that it is performing the first sync.

  * When it's finished, visit your local Couch DB futon instance and look for the 'some_test_database' and verify that bookmarks, folders, and feeds are accounted for.

To post a comment you must log in.
Revision history for this message
Stuart Colville (muffinresearch) wrote :

Works as expected.

review: Approve
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Looks good

review: Approve
Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Followed steps and got expected results.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'chrome.manifest'
2--- chrome.manifest 2010-01-26 21:24:59 +0000
3+++ chrome.manifest 2010-03-25 02:43:17 +0000
4@@ -1,4 +1,4 @@
5 content bindwood content/
6-resource bindwood content/
7+resource bindwood modules/
8 locale bindwood en locale/en/
9 overlay chrome://browser/content/browser.xul chrome://bindwood/content/browserOverlay.xul
10
11=== modified file 'config_build.sh'
12--- config_build.sh 2009-09-16 22:21:04 +0000
13+++ config_build.sh 2010-03-25 02:43:17 +0000
14@@ -4,6 +4,6 @@
15 CHROME_PROVIDERS="content locale"
16 CLEAN_UP=1
17 ROOT_FILES="couchdb_env.sh"
18-ROOT_DIRS="defaults"
19+ROOT_DIRS="defaults modules"
20 BEFORE_BUILD=
21 AFTER_BUILD=
22
23=== modified file 'install.rdf'
24--- install.rdf 2010-02-01 00:19:15 +0000
25+++ install.rdf 2010-03-25 02:43:17 +0000
26@@ -4,7 +4,7 @@
27
28 <Description about="urn:mozilla:install-manifest">
29 <em:id>bindwood@ubuntu.com</em:id>
30- <em:version>1.0</em:version>
31+ <em:version>1.0.1</em:version>
32 <em:type>2</em:type>
33
34 <!-- Target Application this extension can install into,
35
36=== added directory 'modules'
37=== renamed file 'content/bindwood.jsm' => 'modules/bindwood.jsm'
38--- content/bindwood.jsm 2010-02-01 00:17:15 +0000
39+++ modules/bindwood.jsm 2010-03-25 02:43:17 +0000
40@@ -175,6 +175,7 @@
41 var nsifile = Cc["@mozilla.org/file/local;1"]
42 .createInstance(Ci.nsILocalFile);
43 nsifile.initWithPath(couchdb_env_script.path);
44+ nsifile.permissions = 0755;
45
46 // create an nsIProcess2 to execute this bash script
47 var process = Cc["@mozilla.org/process/util;1"]
48
49=== renamed file 'content/couch.jsm' => 'modules/couch.jsm'
50=== renamed file 'content/oauth.jsm' => 'modules/oauth.jsm'

Subscribers

People subscribed via source and target branches