Software Update:Testing: Difference between revisions

m
upgrading use of deprecated sha1
m (upgrading use of deprecated sha1)
 
(2 intermediate revisions by 2 users not shown)
Line 28: Line 28:
         <patch type="partial"
         <patch type="partial"
               URL="http://download.mozilla.org/foo/bar-partial"
               URL="http://download.mozilla.org/foo/bar-partial"
               hashFunction="SHA1"  
               hashFunction="sha256"  
               hashValue="f11cd48adbbb57f32b5582c6096bed8d483bd927"
               hashValue="68e656b251e67e8358bef8483ab0d51c6619f3e7a1a9f0e75838d41ff368f728"
               size="324344"/>
               size="324344"/>
         <patch type="complete"
         <patch type="complete"
               URL="http://download.mozilla.org/foo/bar-complete"
               URL="http://download.mozilla.org/foo/bar-complete"
               hashFunction="SHA1"  
               hashFunction="sha256"  
               hashValue="f11cd48adbbb57f32b5582c6096bed8d483bd927"
               hashValue="68e656b251e67e8358bef8483ab0d51c6619f3e7a1a9f0e75838d41ff368f728"
               size="6243443"/>
               size="6243443"/>
       </update>
       </update>
Line 66: Line 66:
     is the size (in bytes) of the update .mar file. This is currently unused
     is the size (in bytes) of the update .mar file. This is currently unused
     but should be supplied.
     but should be supplied.
   - <patch hashFunction="SHA1" ..>
   - <patch hashFunction="sha256" ..>
     Hash function names are stored here:
     Hash function names are stored here:
     http://lxr.mozilla.org/seamonkey/source/caps/idl/nsICryptoHash.idl
     https://dxr.mozilla.org/mozilla-central/source/netwerk/base/nsICryptoHash.idl
     Test invalid values for hash function name
     Test invalid values for hash function name
   - <patch hashValue=".." ..>
   - <patch hashValue=".." ..>
Line 115: Line 115:
         incompatibilities with enabled extensions, prompt with UI otherwise.
         incompatibilities with enabled extensions, prompt with UI otherwise.
     2 - download minor updates only, prompt for major updates, regardless
     2 - download minor updates only, prompt for major updates, regardless
         of whether or not all enabled extensions are compatible.  
         of whether or not all enabled extensions are compatible.
  Note: The following applies to Gecko 1.9.1 / Firefox 3.5 and below
   BOOLEAN - app.update.log.*                Default: false
   BOOLEAN - app.update.log.*                Default: false
     enables logging for various Update Service components, set preferences
     enables logging for various Update Service components, set preferences
Line 123: Line 124:
       Checker, Downloader, UpdateService, General, UpdateManager,  
       Checker, Downloader, UpdateService, General, UpdateManager,  
       UI:DownloadingPage, UI:CheckingPage, UI:LicensePage, etc.  
       UI:DownloadingPage, UI:CheckingPage, UI:LicensePage, etc.  
  Note: The following applies to Gecko 1.9.2 / Firefox 3.6 and above
  BOOLEAN - app.update.log                  Default: false
    enables logging for the Application Update Service components
   WSTRING - app.update.url.manual          Default: <url>
   WSTRING - app.update.url.manual          Default: <url>
     the default update service XML file URL
     the default update service XML file URL
Line 198: Line 202:
* preferably some test extensions that you can hand edit
* preferably some test extensions that you can hand edit


Open the file ''<tt>compatibility.ini</tt>'' in your profile and change the line that reads something like:
Open the file '''<tt>compatibility.ini</tt>''' in your profile and change the line that reads something like:


<pre>LastVersion=1.0+_2005071915/1.8b4_2005071915</pre>
<pre>LastVersion=1.0+_2005071915/1.8b4_2005071915</pre>
Line 204: Line 208:
to have a number different than the one shown, e.g.:
to have a number different than the one shown, e.g.:


<tt>LastVersion=1.0+_2005071915/1.8b4_20050719</tt>'''<tt>00</tt>'''
<tt>LastVersion=1.0+_2005071915/1.8b4_20050719'''00'''</tt>


Now, open prefs.js in your profile and:
Now, open prefs.js in your profile and:
Line 216: Line 220:
and make sure there is no line like this:
and make sure there is no line like this:


<tt>user_pref("''extensions.lastVersion''", "5.0");</tt> or similar.  
<tt>user_pref("'''extensions.lastVersion'''", "5.0");</tt> or similar.  


Now start Firefox. A wizard UI should appear and allow you to check for updates to your incompatible extensions.
Now start Firefox. A wizard UI should appear and allow you to check for updates to your incompatible extensions.
canmove, Confirmed users
637

edits