Hello again.

Been away for a while, but I'm back at it again.
Got a couple of questions also.

So, using the format 7z *might* cause a problem due to the endianness of 
the format.

*1.* How does the current extraction of tar.gz/zip files handle this issue? 
As far as I know the extraction is done in hudson.tools.FilePath, but not 
sure how it handles different endianness.

*2.* Does the extractor code need to find out what kind of endian, big or 
little, that is being used and then extract the tool differently depending 
on the endianness? Or is this handled automatically somehow?

*3.* Should I consider a different format entirely, considering that 7z 
doesn't store user/group or permission bits etc? (See [3.1] below)
If yes, Is RAR a better alternative?


*[3.1] SevenZ*
"The format is very Windows/Intel specific, so it uses little-endian byte 
order, doesn't store user/group or permission bits, and represents times 
using NTFS timestamps (100 nanosecond units since 1 January 1601). Hence 
the official tools*recommend against using it for backup purposes on *nix*, 
and recommend .tar.7z or .tar.lzma or .tar.xz instead."


Best regards,
Martin Hjelmqvist

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e953446c-d3ea-45e1-b71f-9b376053bee9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to