Hi Suresh, Yes, your analyse is right on the spot. Perhaps I was a bit unclear.
As for the current solution, after uncompress/untar I do a move of dir to match the tarball (mv vim71 vim-7.1). The downside is that there has to be a special case for vim, no matter what logic is used to match tarball name and unpacked dir. It hasn't break anything to my knowledge. But of course, there is perhaps some system around generating those tarballs that would break? Change the name scheme on the tarball is also fine, <proj><ver>.tar.bz2 As Suresh points out, it is the consistency of tarball name and its unpacked dir I would like to see. As said originally, it's only a small request, so if this feels awkward, is messy to change well... I'd have to keep the special rule, not a big deal. :) /Per Suresh Govindachar` wrote: > > Per> [...] > Per> > Per> Most opensource packages are named like "<proj>- > Per> <version>.tar.gz", or bz2 for that matter. After > Per> uncompress/untar, the top directory is similar to tarball > Per> without extensions "<proj>-<version>". > Per> > Per> [...] > Per> > Per> Unfortunally, when uncompressing and untar'ing vim- > Per> 7.1.tar.bz2 it leaves me with a topdir named vim71. > Per> > Per> [...] > Per> > Per> Is it possible to have this reworked so that vim follows same > Per> scheme as about 99% of the rest of the world does? :) > > Tony replied indicating why appending the version to the name of > the vim directory is useful. > > Tony: I think you misunderstood Per. Per is for appending the > version to the vim directory; he is asking for consistency in the > version tag appended to the directory and the name of the tar > file. So Per would like > > vim-7.1.tar.bz2 to create vim-7.1 (instead of vim71) > > Perhaps Per would also be happy with vim71.tar.bz2. > > Personally, I think foo.tar.bz2 should create the directory foo. > > Barm> A change like this will break existing build scripts. > Barm> > Barm> I don't see how this different name can cause a problem. > Barm> Works fine for the FreeBSD port, Debian, etc. > > Not clear if in "change like this" Barm is referring to changing > the directory created to vim-7.1 or changing the name of the > tar-ball to vim71.tar.bz2. > > Per: Can't your script inspect vim-7.1.tar to find out the name > of the top directory (perhaps via tar -tf vim-7.1.tar)? > > --Suresh > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
