Implementation.id doesn't have to be path or digest
commitd6f66c31953b5e7f25dce7c69085bcae955246d0
authorThomas Leonard <talex5@gmail.com>
Sun, 21 Feb 2010 16:45:38 +0000 (21 16:45 +0000)
committerThomas Leonard <talex5@gmail.com>
Sun, 21 Feb 2010 17:05:25 +0000 (21 17:05 +0000)
tree37db53ee8bcd7cbe37fd4ab2e1a21553ca09101b
parentfdfb44190a1968112a90a24fc8f9a79087a84551
Implementation.id doesn't have to be path or digest

If the local-path attribute is present, this is the path and the ID can be any string.
For non-local implementations, we keep a list of digests (for different algorithms). If
the ID contains an '=' then it is added to this list, for backwards compatibility.

The Selections XML format also supports <manifest-digest> and the local-path attribute.
13 files changed:
tests/selections.xml
tests/test-gui
tests/testdistro.py
tests/testdownload.py
tests/testmodel.py
tests/testselections.py
zeroinstall/injector/fetch.py
zeroinstall/injector/model.py
zeroinstall/injector/policy.py
zeroinstall/injector/run.py
zeroinstall/injector/selections.py
zeroinstall/injector/solver.py
zeroinstall/zerostore/__init__.py