Friday, September 24, 2010

Re: Why Vimball archives are evil?

Excerpts from Stahlman Family's message of Sat Sep 25 03:47:27 +0200 2010:
> without it, I'm not sure that the average Windows user would know what
> to do with a gzipped tar file.
The average Windows user does not even know that Vim exists :)

I did an un-scientific survey of plugins
> on the Vim site and concluded that .zip was a much more popular archive
> format than tar.gz. Although my personal preference is for tar.gz, I'm
> wondering whether .zip makes more sense, as a sort of "lowest common
> denominator": I rarely, if ever, have issues opening .zip files on a
> Linux system, but have to use Linux tools to open tar.gz files on a
> Windows system. Thus, the choice of .zip for plugin archives might be
> analogous to the use of Unix line endings for plugin scripts, on the
> grounds that either Unix or DOS format works on Windows, but only Unix
> format works on Linux.
>
> Is there an official recommendation on this subject? I haven't noticed
> any guidelines on the scripts upload page, which simply refers to a
> "collection of bundled files". I seem to remember at some point seeing a
> script page that provided both .zip and some other format, but I'm not
> sure how this would work in practice: the upload file dialog allows you
> to specify only one file, so each archive format would have to be
> uploaded separately: i.e., distinct version numbers and release notes
> (though I suppose they could be identical).

As author/ maintainer of vim-addon-manager I tried to imagine what would
be best for Windows users as welle The result is that I added code to
vim-addon-manager which fetches windows versions of the linux tools. As
alternative you can get 7z once and be done - cause it supports all
those formats (but vimball of course).
I also had the idea using a proxy: vim-addon-manager asking my v-server
to compress *any* source (including git, svn etc) as .zip file for
windows users on the fly. I didn't implement it yet cause I use Windows
seldomly.

However if users tell me this would help them I'd take the time and get
that done. Then you still have a dependency on curl or such..

Providing mirrors repacking all .tar.gz as zip for windows users should
be no problem. Do Windows Vim users want this?

At some time you start hacking scripts and fixing bugs.. Then installing
git or such might be of value anyway..

You can even think about providing a VimL builder cloing the Mootools
bulider:
http://mootools.net/core
Select plugyins and get a .zip containing all files..

Again: Do Windows Vim users want this?

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: