Enable single-addon package by default

James McCoy jamessan at debian.org
Sun Aug 21 19:15:16 UTC 2016


On Sun, Aug 21, 2016 at 09:09:30PM +0200, David Rabel wrote:
> I am thinking about another case: A package initially consists of one
> file. This file is symlinked because some user runs "vam install addon".
> Then the package is deleted. So the symlink point to nowhere. A newer
> version of this package contains the old file and a new one. This
> version is now installed, but no "vam install addon" is run. Then you
> have a halfway installed package, because one file is symlinked and the
> other is not.
> Is something like this possible?

Yes, which is exactly why the vim-scripts package is so stale.  Many of
the addons would cause that exact situation if they were updated.

> Does vim-addon-manager have some
> mechanism integrated to check for this? Something like "vam cleanup" or
> "vam --all remove addon" would be nice.

No, but this is the primary motivation behind switching to a symlink to
a directory rather than symlinking each individual file.  See #438482
and #827627.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB



More information about the pkg-vim-maintainers mailing list