lp:~db-keen/tanzanite/ruby-archive

Created by Daniel Brumbaugh-Keeney and last modified

The Ruby archive library reads, writes, extracts metadata, and has many convenience methods for dealing with a variety of Ar, Tar, Cpio, Shar, and LBR archives. It's relatively new, so you may still want to check to make sure it's working as you would expect. I'm still adding support for more exotic varieties of these archives, so let me know if you have archives it can't handle, or know of another type of archive. (I'll add others, but these 5 are the only kinds I know of. Note that I have no plans to include _compressed_ archive formats.)

Get this branch:
bzr branch lp:~db-keen/tanzanite/ruby-archive
Only Daniel Brumbaugh-Keeney can upload to this branch. If you are Daniel Brumbaugh-Keeney please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Daniel Brumbaugh-Keeney
Project:
Tanzanite
Status:
Development

Recent revisions

13. By Daniel Brumbaugh-Keeney

fixed bug in Archive::Ar.get_format which prevented it from recognizing all AR archives
added Archive::Ar.read_meta
added executables
added warning about long filenames to Archive::Ar.pack
made archive/generic workable, with test suite
moved io_helpers and deb_helpers out of test_ar.rb
fixed possible unclosed and undeleted tempfiles in test_ar.rb
made test_ar.rb pass with 376 assertions :)

12. By Daniel Brumbaugh-Keeney

added list of compatible software
added JAR, XAR, and ISO resources
genericized i18n
fixed eof bug in Archive::Cpio.byteread
fixed some simple bugs in test/helpers.rb
removed test/playground
tidied test/test_ar.rb test_originals_round_trip
updated playground hardcoded file paths (should be removed)
moved test_cpio.sh out of test_cpio.rb (should be merged back in)

11. By Daniel Brumbaugh-Keeney

added checksum for tar archives
updated some tests for new directory configuration
added minimal handling for long file names in guitar (truncation default)
added missing bsdtar formats to test archive builder
added cpio to test archive builder
added resources page to documentation
added LBR archive format specification to documentation
added a bit-by-bit description of LBR archives ( was incomplete )
updated formats list

10. By Daniel Brumbaugh-Keeney

moved in testing folders
added license notice to archiver_spec.rb

9. By Daniel Brumbaugh-Keeney

fixed block sizing
fixed end-of-archive padding
fixed symlink metadata
fixed mtime padding (was " ", is "\0")
added linked file name
fixed test generator shell commands
added archiver spec

8. By Daniel Brumbaugh-Keeney

general improvements (sorry, I'm pretty lazy with VCS lately)
switched to single gettext text domain

7. By Daniel Brumbaugh-Keeney

renaming things back to normal

6. By Daniel Brumbaugh-Keeney

merged in archive-ar

5. By Daniel Brumbaugh-Keeney

added generic archive stuff
added generic archive reader class
added generic archive entry class

4. By Daniel Brumbaugh-Keeney

removed test.moved dir leftover from merge

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.