From: Thomas L. <ta...@gm...> - 2017-03-25 19:13:11
|
0install 2.12.1 is now available (source and generic binaries): http://0install.net/install-source.html http://0install.net/install-linux.html#generic This is mainly small updates to the build to cope with various changes in upstream packages. Since 2.12.1: Bug fixes - Display feed modification times in UTC. Before, the error message for a replay attack displayed the times as local times, but with a Z on the end indicating UTC. This also meant that the unit-tests required an installed timezone database, otherwise it would display a different result. - Work around buggy GnuPG 2.1.16. GnuPG 2.1.16 sets some high bits in error codes by mistake. Reported by ciryat (Void Linux) and Lucas Nussbaum (Debian) See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846834 - Unit-tests failed if run from directory containing "0.1". This would occur when installing with opam on OCaml 4.00.1. Updates for upstream changes - Use _ascii string functions. Avoids warnings on OCaml 4.03. Adds compat support in Common for using these on 4.02. - Use Unix.bind in tests because Lwt_unix.bind's signature will change in Lwt 3.0. - Depend on new lwt_react and lwt_glib packages. - ocaml/myocamlbuild.ml: restrict link_gtk to shared linking (Gabriel Scherer). With ocamlbuild 0.11, the ocamlbuild rules regarding cmx, cmxa and cmxs have been changed, and the build path is now `gui_gtk.cmx -> gui_gtk.cmxa -> gui_gtk.cmxs`. - Depend on ocurl >= 0.7.9. Hopefully this version fixes all the incompatibilities with Windows and OS X. Code clean-ups - Allow building without running unit-tests. This is useful for opam, which makes running the tests a separate and optional step. - Split host Python detection into its own module. - Move recipe XML spec details to Element module. - Move some XML bits out of General. Moved xmlns_ns to Element (its only user). Moved Empty XML namespace to Qdom. - Move stability_level type to its own file. - Split system type into multiple interfaces. Some functions now only ask for #filesystem, #environment or #processes. This makes it clearer what functionality is actually needed. - Remove some unused imports. - Add abstract type for Gpg command. Hopefully makes it clearer when we need the full system vs when we just need access to Gpg. Also, add interfaces for Trust_box and Preferences_box, and move Preferences_box's combo helper to Gtk_utils. Trust_box no longer needs access to config or system. - Add interface for Requirements module. - Remove Common.yes_no_maybe type. This was only used for the GUI, and it's clearer to use polymorphic variants there instead. - Drop support for OCaml 4.00 and 4.01. Removes another use of camlp4. - Remove some left-over OCaml 3 support. - Remove support for ocurl < 0.7.1. These versions sometimes cause mysterious hangs and 0.7.1 has been out for years now. Also removes more uses of camlp4. CI tests - Fix AppVeyor (Windows) tests: - Update to latest appveyor.yml. The old version no longer worked. However, the new version tries to run the unit-tests, which never worked on Windows. - Disable some Unix-only tests on Windows. - Accept Windows paths in tests. - Improve Makefile test for Windows. On AppVeyor, OS is CYGWIN_NT-6.3-WOW not Windows_NT. - Make fake_system hardlink only require read access on the source. Needed to copy the runenv binary. - Fake out `windows_api` in tests. - Fix unit-test collection of stdout on Windows. We were trying to unlink the temporary file while it was still open, which Windows doesn't allow. Many tests are now flagged to skip windows (search for `skip_if on_windows`). It would be good to fix some of these. In particular, tests involving `tar` don't work (Windows tar vs Cygwin tar?), and `st_mtime` is often `-1` for some reason. - Enable deprecation warnings. Also, for CI builds, turn deprecation warnings into errors. - Enable Travis tests for OCaml 4.04. - Update Travis tests to test on trusty. ocurl no longer installs on precise. -- talex5 (GitHub/Twitter) http://roscidus.com/blog/ GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC |