[Pkg-puppet-devel] The 0.24.5-3 changelog
Micah Anderson
micah at riseup.net
Wed May 27 14:12:34 UTC 2009
* Micah Anderson <micah at riseup.net> [2009-05-27 09:58-0400]:
> * Andrew Pollock <apollock at debian.org> [2009-05-27 07:45-0400]:
>
> I'm not a vim user, so I'm not sure of this one, looking at the
> launchpad bug[0] it indicates that the vim version number in the name of
> the syntax file was wrong (if the version of vim is 7.2 and the syntax
> file is installed as vim71, then it wont get found). The debian/rules
> does this for vim installation:
>
> # Vim auto-syntax-highlighting stuff
> $(INSTALL) -m0644 ext/vim/syntax/puppet.vim \
> $(CURDIR)/debian/puppet/usr/share/vim/vim71/syntax/
> $(INSTALL) -m0644 ext/vim/ftdetect/puppet.vim \
> $(CURDIR)/debian/puppet/usr/share/vim/addons/ftdetect/
>
> This says to me that we are installing the vim highlighting into a vim71
> directory. A quick question on #debian-devel told me that we can just
> s/vim71/vimcurrent/ as 'vimcurrent' is a symlink to the most current
> installed version. So I've made that change and pushed it.
Ok, now I think this is wrong. "You may not install files into a symlink
of another package", it makes the package un-upgradable. Even doing a
readlink on the path to get the real path isn't any good because then a
binNMU is needed on each vim change.
Any other ideas? Anyone think of a package that does vim syntax
highlighting installs that we could look at for some inspiration? It
would be nice if we didn't have to track vim installation versions
because it will mean we will constantly have the installation wrong and
not notice it until someone reports a bug.
micah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090527/955025c2/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list