0install 2.11
Thomas Leonard <[email protected]> Thu, 4 Feb 2016 19:51:19 +0000
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAG4opy_Am=b7UL3M8JSfp_PCMgU9EoQz46FzDgFNQRT68uRcmg@mail.gmail.com> |
0install 2.11 is now available (source and generic binaries):
http://0install.net/install-source.html
http://0install.net/install-linux.html#generic
Since 2.10:
New features
- Add support for PackageKit >= 0.9.1.
Warning was:
0install: obus(signal): failed to cast signal from ":1.21",
interface "org.freedesktop.PackageKit.Transaction", member "Details"
with signature "a{sv}" to "ssusst"
- Allow specifying a required implementation exactly. In addition to
version numbers and ranges (e.g. "2.4..!3") you can now require a
particular implementation by its feed and unique ID within the feed.
The syntax is "=FEED/ID", where ID is escaped using the underscore
escaping scheme used elsewhere. This is mostly useful for tools.
Changes
- New layout for $ZEROINSTALL_PORTABLE_BASE:
Before:
- config/0install.net/...
- data/0install.net/...
- cache/0install.net/...
After:
- config/...
- data/...
- cache/...
This is to match the behaviour of the Windows version of 0install
(which was the only thing using ZEROINSTALL_PORTABLE_BASE). Requested
by Bastian Eicher.
Bug fixes
- Fixed error if ~/bin is in $PATH but doesn't exist. Error was:
$ 0install add app feed
open_temp_file failed: /home/user/bin/tmp-55724b.new: No such file
or directory
Reported by Alex Eng.
- Fix "config --dry-run". Error was:
Bug: 'atomic_write' called in --dry-run mode
- When listing the input files used for a solve, we used the interface
configuration path instead of the feed path (found by the new stricter
Paths code; see below). This meant that we wouldn't automatically
recalculate if the feed settings changed.
Code clean-ups
- Added all solver test cases from the 0install-win tests to the OCaml
code (Bastian Eicher).
- Add Zeroinstall.Paths helpers. This provides a more type-safe API
for reading and writing config, data and cache paths. In particular,
this avoids duplicating the escaping code each time a path is used.
- In --dry-run mode: instead of modifying the existing config object,
create a new one and start again. Avoids having to track down all the
places that may have stashed a copy of the old config. The
config.system field is now immutable.
- Move $ZEROINSTALL_PORTABLE_BASE test from Basedir to Paths. This
doesn't have anything to do with the XDG basedir standard, and
shouldn't affect non-0install paths (e.g. "share/applications").
- Depend on camlp4 in the opam file. It's no longer installed by default.
--
Dr Thomas Leonard http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140