|
From: Jason H. <jh...@ap...> - 2011-02-21 04:35:35
|
Bug fixes and enhancements: When installing a package and applying permissions to files attempt to use lchown/lchmod on symlinks. Previously permissions on symlinks were ignored. Not all systems support lchown/lchmod, on those systems this process will be skipped. Silence some harmless warnings from the library used to validate the syntax of the tpkg.yml file when making a package. Fix an issue in the client Rakefile introduced in the last release (2.2.2) that led to client packages with an invalid directory structure. The package_toplevel_directory now only reads the necessary first few blocks of the package rather than reading the whole package. That change should speed up operations involving larger packages. Minor API changes: - Metadata#write no longer takes a retain_format argument. No code existed to do anything with that argument, nor were any callers within the tpkg code base passing a value to retain_format. - Metadata#add_tpkg_version no longer rescues Errno::EACCES. Callers will need to rescue it if desired. - Metadata#get_native_deps now always returns an array. Previously it would sometime (but not always) return nil instead of an empty array if there were no native dependencies. That behavior was more-or-less documented and intended, so this qualifies as an API change rather than a bug fix. - Metadata#initialize now takes an additional parameter, the path to the metadata file. Previously this had to be set via an accessor call after instantiating an instance of Metadata. (For those on the tpkg-devel list I accidentally sent this to tpkg-devel first. Resending to tpkg-users.) |