Is the value of Origin in https://packages.mozilla.org/apt/dists/mozilla/Release guaranteed to be stable?
I have installed the .deb version of Mozilla Firefox on Ubuntu. It was recently replaced by unattended-upgrades with the snap version. I get the impressions that is due to the fact that unattended-upgrades does not consider https://packages.mozilla.org/apt/dists/mozilla/Release as a source when running.
It seems that it would be possible to configure unattended-upgrades to include https://packages.mozilla.org/apt/dists/mozilla/Release.
The current value for "Origin" in https://packages.mozilla.org/apt/dists/mozilla/Release is "namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla" (to me pr-number looks like a pull request).
I would like to confirm whether or not this is a stable value for Origin, and if not - can a stable value be allocated?
所有回复 (2)
I think this is about priority where the snap version "appears" as newer in semver, it's around "1000" but might need more than that. I'll find the discussions and link them here.
As for the origin, I'm afraid that's a hash of one of the pods that are rotated and load–balanced on the cluster, so that doesn't seem like anything more than an ephemeral host to serve one request, and you'll get a different one a while later.
Nope I was wrong. It's just the project ID of the production bucket, and it's been that for long — and is actually hard–coded in many places in release management tooling: https://github.com/mozilla/firefox-dev/blob/8352bcb/taskcluster/kinds/release-generate-checksums/kind.yml#L65 so you can take that as the sanctioned source.
As for the priority, I think you might want to bump the Mozilla repo to 1001 and demote the snap one to -1 … but your plan to add it to unattended-upgrades should also work.