|
From: Thomas L. <ta...@gm...> - 2014-01-06 16:46:43
|
Here's a second release candidate for 0install 2.6 (2.6-rc2): http://0install.net/tools/0install.xml 0install 2.6 completes the transition from Python to OCaml :-) There is no remaining Python code in 0install and, therefore, no need to have Python installed in order to build or run it. Notes: 0install now runs the unit-tests when you build it, and will abort if they fail. Please report any problems. You can remove "test" from the "all" target in ocaml/Makefile if it's a problem for you (also, the tests are only run if oUnit is installed). Changes since 2.6-rc1 - On non-Linux platforms, use Lwt_glib's lwt_into_glib mode. This requires a Git checkout of LWT, but that's better than the other option, which doesn't work at all. Note: if you don't build the GTK GUI, there's no problem (and therefore Windows is unaffected, as it never builds the GUI). - Fixed race when cancelling downloads. The main thread might set the progress report to "finished" and then the download thread gets some more data and sets it back to "in-progress" before the cancel takes effect. This meant that the GUI would continue showing the progress bar even after cancelling. - Don't strip the 0install binary. That prevents the GTK plugin from loading on OS X. Reported by Anders F Björklund. - Detect Python even if python-gobject is missing. Reported by Anders F Björklund. - Some internal code cleanups: there are .mli interfaces for more modules and the APIs have been cleaned up a bit (the biggest change is that XML elements are now immutable, and can therefore be safely shared). Changes since 2.5 New features: - Added "0install slave" subcommand. This makes it possible to control 0install using a JSON API. The "sample_client.py" file shows how to invoke 0install from Python. Currently, the only operation available is "select", which downloads feeds and does a solve, but more can be added - let me know what you need. Changes: - Migrated GTK GUI to OCaml. It mostly looks the same, but the "0desktop" box has changed to a more compact icon view display. Also, displaying the app list is now the default (and the 0desktop --manage option is gone). - The console progress display has changed slightly: it now shows the progress of one download at a time rather than all at once. The downloads still happen in parallel, though. - The install script now allows using $DESTDIR and installing to /usr/local (Anders F Bjorklund). - You can now do "0install store ..." instead of "0store ..." (which still works). If you do this, you get tab-completion too! Bug fixes: - Cope with dpkg-query returning a non-zero exit status. It returns 1 if the package isn't found. - Fixed cancelling of downloads. Throwing an exception back to ocurl's set_writefunction handler left the connection in a bad state. - Fixed Utils.slice when start and end are both given (Tim Cuthbertson) (this case was never used by the current code). - Fixed unit-tests when $TEMP is a symlink. Reported by Anders F Björklund. - Don't use the non-portable -D flag to install (Anders F Bjorklund). To make it work with BSD install(1) in addition to GNU install(1), make sure to use "install -d && install" rather than install -D. - Fixed installation error when share/0install.net doesn't exist. Reported by Alberto Colombo. - Don't warn about the default bin dir not being in PATH when destroying an app. Developer-visible changes: - Pick a random unused port for the test server during unit-testing. Avoids conflicts with other programs and makes it possible to run the tests in parallel. - If $ZEROINSTALL_CRASH_LOGS is set to a directory, record all log messages in memory. If 0install logs a warning or reports an error, dump the complete log to a timestamped file in this directory. -- Dr Thomas Leonard http://0install.net/ GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA |