Skip to content

libinput: symlink each stable version to its latest one

Sphinx wastes a lot of space, so having a fully separate doc tree for each version ends up in a lot of disk space wasted on checkout

It's useful to have separate version for each 1.x, but we don't need a separate tree for each 1.x.y.

So let's remove each 1.x.n for n < latest and symlink it to the respective latest version

Fixes #4 (closed)

This looks like this now:

$ ls -lv
...
lrwxrwxrwx 1 whot whot     6 Apr 29 09:07 1.16.0 -> 1.16.5
lrwxrwxrwx 1 whot whot     6 Apr 29 09:07 1.16.1 -> 1.16.5
lrwxrwxrwx 1 whot whot     6 Apr 29 09:07 1.16.2 -> 1.16.5
lrwxrwxrwx 1 whot whot     6 Apr 29 09:07 1.16.3 -> 1.16.5
lrwxrwxrwx 1 whot whot     6 Apr 29 09:07 1.16.4 -> 1.16.5
drwxr-xr-x 6 whot whot  4096 Feb 24 11:18 1.16.5
lrwxrwxrwx 1 whot whot     6 Apr 29 09:07 1.17.0 -> 1.17.1
drwxr-xr-x 6 whot whot  4096 Apr 28 21:25 1.17.1

And brings it down to 153M. Still not nothing, but better than before and anything else requires more effort.

cc @pq

Merge request reports