for -> 2.0.0.x de [windows only] updates, only offer the partial



12 years ago
12 years ago


(Reporter: moco, Assigned: preed)


4.x (triaged)
Windows XP
Dependency tree / graph
Bug Flags:
blocking1.8.1.2 +

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [software update config])

for -> de updates, only offer the partial

this depends on bug #367084, which will be a fix to updater.exe that will fix the users default files (and remove the read only attribute) so that a future, complete upgrade (or a future, partial upgrade to those default files) will succeed.

we can't offer them a complete update, as that will fail and leave them in a state where they can never (automatically) update again.
linux de had this bug, so we might want to do the same thing there, too.

the app.update.url format doesn't have the OS_VERSION, but it does have the build target (%BUILD_TARGET%), so we should be able to tell linux from mac and windows.

Summary: for -> de updates, only offer the partial → for -> de [all] and -> [linux] updates, only offer the partial
from bug #367084, this doesn't appear to be a problem for linux, or linux/mac, only windows.

from my tests, only windows will fail on a complete software update if, for example, bookmarks.html is "read only".  (For the other platforms, remove() of a file with perms of 0400 will succeed.)

juan, can you confirm?

If I'm right, and not seeing things, then for this bug all we'll need to work about is windows, 2001, de, and for them, only serve the partial update with the fix for bug #367084.
at todays meeting, preed emphasized that we can serve partials to broken de windows users, as long as nothing has changed since

rob helmer and I just double checked that in the l10n/de/browser/profile on the MOZILLA_1_8_BRANCH directory, no changes have been made since (we did a cvs diff -r FIREFOX_2_0_0_1_RELEASE)

So, as long as no one changes those files before, we should be ok.

c'ing axel, so that he can prevent changes to l10n/de/browser/profile on the MOZILLA_1_8_BRANCH.
juan confirms this is windows only.  see bug #367084 comment #7.  updating summary.
Summary: for -> de [all] and -> [linux] updates, only offer the partial → for -> de [windows only] updates, only offer the partial

Comment 5

12 years ago
Assuming for a minute that the partial update fails for a user, what happens?

Do we have any numbers of the downloads of the full updates to get an idea how often that happens? And are all those working on admin-installed firefoxes with user accounts? Just wondering.
In the future, when we release, we need to keep de windows to be a partial update to, as a complete from -> will fail (for the same reason that -> complete will fail.).

These users will be forced to go from -> (by partial), and from there, go to (and beyond.)
Summary: for -> de [windows only] updates, only offer the partial → for -> 2.0.0.x de [windows only] updates, only offer the partial
this AUS / patcher tweak for windows should block
Flags: blocking1.8.1.2?

Comment 8

12 years ago
Preed:  Is this simply a change to the snippet to serve partial patch for both the partial and complete update paths?  If so, you should be the owner.
Flags: blocking1.8.1.2? → blocking1.8.1.2+
Whiteboard: [software update config]

Comment 9

12 years ago
Reassigning to Preed after discussing this with him.  We are not going to be making any AUS server side changes, so we need to make sure we create snippets that only serve partial patches.
Assignee: morgamic → preed
for the partial that we offer to, we can't include changes to these files:


(determined using a bad de build, and "find ./ -not -perm -u=w" (thanks rhelmer!)

Comment 11

12 years ago
Can we do this one more time for all builds? I did see watches in particular on search plugins (may have been old sherlock ones, though), so I'm not that sure.

In addition, is this still windows only? I saw another bug comment talking about the linux build, too.
> Can we do this one more time for all builds?

axel, rhelmer did it last night and I he found and removed all the watches under l10n/de.

> In addition, is this still windows only? 

yes, we only need to provide the partial updates to windows, as the updater on mac and linux are able to remove files with read only permissions.
note, jay and I just met and triple checked and confirmed that yes, we really do need to do this.

otherwise, here is what could happen to de users if we serve the a complete update.  they will first get a prompt:

"one or more files could not be update.  please make sure all other appications are closed and that you have permission to modify files, and then restart"

on restart, under the help menu, they will have "apply downloaded update now..." since the update.mar on disk is ok, and the status is pending.

they are now stuck in this loop and will get the prompt again.

I believe the plan is to offer a true partial and a complete, which is really the partial.

if a user fails both partials, they might be hitting the dreaded update.status == null problem that leaves the user stuck.  jay and I were able to reproduce this (by failing both partials by setting update.status == failed).

i believe there is a bug on the update.status == null issue, I'll go find it.
> i believe there is a bug on the update.status == null issue, I'll go find it.

see bug #333908

Comment 15

12 years ago
We ended up releasing the partial because it was causing problems for .de users in the normal state... as I remember.

But has shipped, so...
Last Resolved: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.