Enable single-addon package by default

David Rabel David.Rabel at NoreSoft.com
Mon Aug 8 19:00:12 UTC 2016


Hi Vim-Package Team,
Hi Andrea,

I built a package for the vim addon vim-lastplace (
https://packages.debian.org/unstable/vim-lastplace ).

I am not quite satisfied that the addon is not enabled by default. While
it makes sense to have the addons disabled by default in a package like
vim-scripts with a lot of addons, no one who installs a package with
only one vim addon wants it to be disabled by default. In fact I think
that most people will be surprised why it does not work and I fear that
not all of them will make it to the README.Debian. ;-)
Also if the addon is installed on a multi-user system and a user wants
to disable it, he or she can still do this easily by using "vim-addons
disable lastplace".

When I was looking around a little bit I found that vim-tabular handles
this by declaring vim-addon-manager as a dependency and provide a
preinst, postinst and prerm script. I like this solution and think about
adopting it for vim-lastplace.

BUT as this is my first package and the Debian New Maintainers' Guide
discourages to use this kind of scripts for novice maintainers, I am not
sure and wanted to here your opinion.

As this is not a big package and the scripts are very short and straight
forward, I don't see a problem here. What do you think?

Yours,
  David

PS @Andrea: The README.Debian file of vim-tabular is not up to date,
saying that vim-tabular is not enabled by default.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20160808/65ee1555/attachment.sig>


More information about the pkg-vim-maintainers mailing list