Greetings,
The following webrev contains fixes for the following issues:
7908 publishing api and tools should use os.stat not os.lstat for
file size
webrev:
http://cr.opensolaris.org/~swalker/pkg-7908/
Change Summary:
* changed misc.get_data_digest and actions/generic pkg.size calculation
logic to use os.stat instead of os.lstat since actual data size is
needed in both cases, and so symbolic links must be followed.
* Added unit test to verify that "add file" succeeds when the specified
local file to publish is a symbolic link to a file instead of the actual
file (previously this would cause pkgsend to hang when attempting to
publish a file using /dev/null or a link to a file).
* Removed unnecessary pkg.size calculation logic in pkgsend and
simplified add subcommand logic.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss