dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

Finish cleaning up libarchive code for v0.3 release #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Remaining tasks in code which has been converted to use libarchive for package 
extraction:

- Call transform_path within extract_paths_to_stream so that the list of
  installed files is written in the clearest format.

- Improve debugging and error messages in pkg_extract.c and file_util.c.

- Handle ARCHIVE_RETRY properly, everywhere and limit number of consecutive
  retries. This return value is given by libarchive when an error has occured
  but retrying the function call may succeed.

- Recheck code for memory leaks.

- Check flags passed to extract_all. Particularly: Do we wish to support xattrs?

- Second pass at cleaning up header inclusion. The first pass has been good but
  there may still be unnecessary inclusions and a few missing inclusions.

(This is just here for me to track what needs doing before the next release)

Original issue reported on code.google.com by paul.betafive on 1 Mar 2014 at 3:19

GoogleCodeExporter commented 8 years ago
I'm happy with the current state of the code which uses libarchive for the v0.3 
release. There may be future improvements for following releases but this 
should be good enough for now.

Original comment by paul.betafive on 22 Apr 2014 at 11:45