Vim Tips Wiki
Register
(mark as duplicate and add category)
m (Updating Duplicate, that was the wrong duplicate Tip number is all.)
Line 1: Line 1:
 
{{review}}
 
{{review}}
{{Duplicate|743}}
+
{{Duplicate|744}}
 
{{TipImported
 
{{TipImported
 
|id=747
 
|id=747

Revision as of 00:12, 8 January 2011

Duplicate tip

This tip is very similar to the following:

These tips need to be merged – see the merge guidelines.

Tip 747 Printable Monobook Previous Next

created June 17, 2004 · complexity intermediate · author Michael Jarvis · version 6.0


I try to always keep up to date on the latest and greatest patches and runtime files. It's pretty easy to install the patches against the source code, but there are no patches for the runtime files.

What I do is use an FTP mirroring tool (with a shell script wrapper) that keeps the runtime directory in my source code up-to-date. I personally use the fmirror tool (from ftp://ftp.sunet.se/pub/nir/ftp/utilities/fmirror/) but I would think any decent tool would work. Every so often, usually when applying a source patch, I run this script, and watch the output to see if any of the runtime files have been updated. If so, I change into the vim63/src directory (or whatever version we're at) and do a "make installruntime".

Here's the command I use for fmirror:

/usr/bin/fmirror -k \
 -l $HOME/src/vim63/runtime \
 -p user@domain.com \
 -r /pub/vim/runtime \
 -s ftp.vim.org \
 -S -V3

If there are no changes, I see something like this:

07:36:06 /pub/vim/runtime @ ftp.vim.org -> /home/michael/src/vim63/runtime
07:36:06 Connecting to ftp.vim.org...
07:36:06 Connected.
07:36:08 Remote timezone: -119 minutes from GMT
07:36:11 Mirror finished.

If there are changes, I see the files being downloaded.

Then it's as simple as "cd vim63/src && make installruntime".

Comments

This is pretty out-of-date, and I now use rsync instead of fmirror.


See also Get latest releases for syntax highlighting, runtime, plugins etc (the present page may need merging e.g. by making it a comment on the linked page) — Tonymec 09:59, March 30, 2010 (UTC)