Skip to content

Commit 19f9444

Browse files
author
Alexandre Lissy
committed
Bug 2031290 - Enterprise: PackageKit DBus handling for Updates
1 parent 31bc07f commit 19f9444

20 files changed

Lines changed: 3559 additions & 164 deletions

browser/components/enterprise/modules/Updates.sys.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ export const Updates = {
185185
);
186186
}
187187

188+
lazy.log.warn(
189+
`FeltUpdates: appUpdaterCallback: STATUS.DOWNLOADING: downloadedBytes:${downloadedBytes} totalBytes:${totalBytes} => percent:${percent}`
190+
);
188191
this._document.querySelector("#felt-updates-progress").value = percent;
189192
break;
190193
}

python/sites/mach.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ pth:tools/moztreedocs
5656
pth:xpcom/ds/tools
5757
pth:xpcom/geckoprocesstypes_generator
5858
pth:xpcom/idl-parser
59+
pypi-optional:dbus-python==1.3.2:linux
5960
# glean-sdk may not be installable if a wheel isn't available
6061
# and it has to be built from source.
6162
pypi-optional:glean-sdk==67.3.2:telemetry will not be collected
@@ -64,6 +65,7 @@ pypi-optional:orjson>=3.10:json operations will be slower in various tools
6465
# We aren't (yet) able to pin packages in automation, so we have to
6566
# support down to the oldest locally-installed version (5.4.2).
6667
pypi-optional:psutil>=5.4.2:telemetry will be missing some data
68+
pypi-optional:python-dbusmock==0.32.2:linux
6769
pypi-optional:rtoml>=0.11.0:toml operations will be slower in various tools
6870
pypi-optional:zstandard>=0.11.1,<=0.25.0:zstd archives will not be possible to extract
6971
vendored-fallback:pyyaml:third_party/python/pyyaml/lib/:faster native loading is disabled

testing/enterprise/manifest.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ subsuite = "enterprise"
3030

3131
["test_felt_browser_new_window_from_cli.py"]
3232

33+
["test_felt_browser_packagekit_no_firefox_update.py"]
34+
35+
["test_felt_browser_packagekit_one_firefox_update.py"]
36+
3337
["test_felt_browser_rapid_new_tabs_from_cli.py"]
3438
run-if = [
3539
"os == 'mac'",
@@ -64,7 +68,9 @@ run-if = [
6468

6569
["test_felt_browser_updater_errors.py"]
6670

67-
["test_felt_browser_updates_apply.py"]
71+
["test_felt_browser_updates_apply_from_packagekit.py"]
72+
73+
["test_felt_browser_updates_apply_from_updater.py"]
6874

6975
["test_felt_browser_updates_basic.py"]
7076

0 commit comments

Comments
 (0)