feat(identity): rename user-visible identity to voculinux with one-time legacy import
The fork takes its own name everywhere a user can see it: binaries (voculinux, voculinux-gui), desktop entry, autostart, tray, D-Bus namespace (com.voculinux.Voculinux, no alias for the old name), config/data/cache dirs, single-instance lock, IBus engine identity, tray icons, resource prefixes, VOCULINUX_* environment names, and the update-checker user agent. The internal Python module stays vocalinux and the distribution metadata keeps the upstream URLs as provenance. On first run a previous Vocalinux install's config.json, custom dictionary, and portal restore token are copied once into the new locations (new config always wins, no merge, no write-back); models re-resolve through the pinned-checksum download path. An offline naming-sweep test proves no old-name strings remain on user-visible surfaces outside the allowlist. Refs #18
This commit is contained in:
@@ -35,11 +35,11 @@ def test_the_dispatch_input_never_reaches_the_shell():
|
||||
|
||||
def test_the_manifest_parses_as_sha256sum_writes_it():
|
||||
parsed = verify.parse_manifest(
|
||||
"0ee0d8e6 Vocalinux-0.16.2-x86_64.AppImage\n22deb51a *vocalinux-0.16.2.whl\n\n"
|
||||
"0ee0d8e6 Voculinux-0.16.2-x86_64.AppImage\n22deb51a *voculinux-0.16.2.whl\n\n"
|
||||
)
|
||||
assert parsed == {
|
||||
"Vocalinux-0.16.2-x86_64.AppImage": "0ee0d8e6",
|
||||
"vocalinux-0.16.2.whl": "22deb51a",
|
||||
"Voculinux-0.16.2-x86_64.AppImage": "0ee0d8e6",
|
||||
"voculinux-0.16.2.whl": "22deb51a",
|
||||
}
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ def test_provenance_asks_only_for_slsa_build_provenance(monkeypatch):
|
||||
|
||||
def test_a_release_missing_a_distribution_names_it():
|
||||
"""Comparing only what is left would pass while PyPI serves an unchecked file."""
|
||||
assert verify.check_pypi("0.16.2", {"Vocalinux-0.16.2-x86_64.AppImage": "aa"}) == [
|
||||
assert verify.check_pypi("0.16.2", {"Voculinux-0.16.2-x86_64.AppImage": "aa"}) == [
|
||||
"the release carries no .whl to compare against PyPI",
|
||||
"the release carries no .tar.gz to compare against PyPI",
|
||||
]
|
||||
@@ -130,9 +130,9 @@ def test_an_extra_pypi_distribution_fails(monkeypatch):
|
||||
|
||||
import urllib.request
|
||||
|
||||
wheel = "vocalinux-0.16.2-py3-none-any.whl"
|
||||
sdist = "vocalinux-0.16.2.tar.gz"
|
||||
extra = "vocalinux-0.16.2-extra.whl"
|
||||
wheel = "voculinux-0.16.2-py3-none-any.whl"
|
||||
sdist = "voculinux-0.16.2.tar.gz"
|
||||
extra = "voculinux-0.16.2-extra.whl"
|
||||
payload = {
|
||||
"urls": [
|
||||
{"filename": wheel, "digests": {"sha256": "aa"}},
|
||||
|
||||
Reference in New Issue
Block a user