Austin Ziegler
7/11/2005 5:45:00 PM
On 7/11/05, Stefan Lang <langstefan@gmx.at> wrote:
> On Monday 11 July 2005 18:32, Austin Ziegler wrote:
>> On 7/10/05, Stefan Lang <langstefan@gmx.at> wrote:
>>> Rant comes with parts of Mauricio Fernandez and Austin Ziegler's
>>> archive-tar-minitar to create (gzipped) tar archives on
>>> platforms where no tar command is available.
>> I'm curious as to why you chose to import parts of the code
>> rather than making it a dependency?
> Actually, I thought long about this before I decided to import the
> code. There are mainly two reasons:
Ok. It just makes a bit more work for you ;) There's nothing, at
least in Minitar's licence, that prevents this.
>> FWIW, I never use tar anymore in generating my distributions, as
>> the only major features that ardchive-tar-minitar is missing is
>> symlink support (it's missing more than that, but the symlink
>> support is the only one that's really important for a
>> distribution purpose).
> Yes, symlink support would be great. You don't intend to implement
> it for archive-tar-minitar? Would it be much work? I'd do it if
> only I knew more about the format of tar archives.
Theoretically, it shouldn't take much work at all. I'd have to dive
back into the code, but I'm a bit busy with work, articles, and
preparing for RubyConf to do so right now.
The hardest part about symlink support is not adding, but unpacking,
because the behaviour on Windows must be to make an actual COPY of
the file in question, since there are no file symlinks on Windows.
(And I don't think that Ruby supports junctions for directory
hardlinks.)
-austin
--
Austin Ziegler * halostatue@gmail.com
* Alternate: austin@halostatue.ca