Background Updates/Implementation Strategies: Difference between revisions

Jump to navigation Jump to search
Line 14: Line 14:
#If the OS supports removing files which are currently in use (*nix), it would just remove the existing installation and move the new directory in place of the old one.  
#If the OS supports removing files which are currently in use (*nix), it would just remove the existing installation and move the new directory in place of the old one.  
#If the OS doesn't support removing files which are currently in use (Windows), the old directory should be marked to be removed during the next reboot and Firefox should check at start up to see whether the previous directory is in use, and if not it should move the new directory in place of the old directory and then restart.
#If the OS doesn't support removing files which are currently in use (Windows), the old directory should be marked to be removed during the next reboot and Firefox should check at start up to see whether the previous directory is in use, and if not it should move the new directory in place of the old directory and then restart.
----
: [[User:LawrenceMandel|LawrenceMandel]] Do you mean reboot the OS or reboot Firefox? (I hope the latter.)
: [[User:LawrenceMandel|LawrenceMandel]] Do you mean reboot the OS or reboot Firefox? (I hope the latter.)
: (ehsan) Reboot the OS.  The user doesn't actually need to restart their system, the files will just stick around until that they do.  FWIW, this is how all applications remove files which are currently in use on Windows.
: (ehsan) Reboot the OS.  The user doesn't actually need to restart their system, the files will just stick around until that they do.  FWIW, this is how all applications remove files which are currently in use on Windows.
: [[User:LawrenceMandel|LawrenceMandel]] Perhaps a naive question but...in the case where Firefox is updated and restarted, the newly updated Firefox will be running. Will the old one still have files that the system considers "in use" that prevents them from being removed until a system reboot?
----
: [[User:LawrenceMandel|LawrenceMandel]] Eclipse's bundle mechanism supports the ability to register and unregister services with the software system. In this way an update can be applied to a running system without restarting the system. Even if the core executable required a different mechanism this may provide benefit as Firefox would not need to be restarted to update. Is there any way that we can update components of the Firefox system without restarting the system?
: [[User:LawrenceMandel|LawrenceMandel]] Eclipse's bundle mechanism supports the ability to register and unregister services with the software system. In this way an update can be applied to a running system without restarting the system. Even if the core executable required a different mechanism this may provide benefit as Firefox would not need to be restarted to update. Is there any way that we can update components of the Firefox system without restarting the system?
: (ehsan) Not easily.  We'd basically need to redesign everything from the ground up with that in mind.  I think that's outside of the scope of this project (and to be honest I'm not sure if it's feasible).
: (ehsan) Not easily.  We'd basically need to redesign everything from the ground up with that in mind.  I think that's outside of the scope of this project (and to be honest I'm not sure if it's feasible).
: [[User:LawrenceMandel|LawrenceMandel]] That was my expectation but thought I would ask anyway.


== Challenges  ==
== Challenges  ==
Confirmed users
2,473

edits

Navigation menu