1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
TODO
====
* Add warnings if either `$HOME` or `$TARGET` do not begin with a
slash. This can cause broken symlinks but may also break the test
suite. :-)
* Idea from Pietro Abate: Excludes for wildcards, like "all from
`.cache/*` except `.cache/duplicity`".
* Honor `$XDG_` variables in `unburden-home-dir.list` for alternative
locations of `.cache` and friends.
* Set `$XDG_CACHE_HOME` before other programs using this variable run,
so that they use the wanted location even without moving files
around or adding symlinks.
Likely needs another `Xsession.d` file with a very low number.
* Write test so that `mv` doesn't fall into interactive mode. Basically
test what the previous commit ("2ec069d Unconditionally move files")
fixed. To reproduce: Have directories to move off as well as a
directory which is already moved off.
* Warning if `UNBURDEN_HOME=no` or `UNBURDEN_HOME=off` is set in
`~/.unburden-home-dir` (which would be for the `Xsession.d` hook).
* Sorting subroutines.
* Split off documentation so that it can be shipped as man pages as
well as viewed in the web. The idea is to use something like `pandoc
-t man -s -o README.1 README.md`
* Maybe use POD instead of Markdown as base format.
* Call `rsync` in dry-run mode if `unburden-home-dir` is called in
dry-run mode instead of not calling `rsync` at all in that case.
* Find a nice way to handle the global `unburden-home-dir.list`, maybe
by by using something like `/etc/unburden-home-dir.list.d/`,
`/etc/unburden-home-dir/list.d/` or maybe even put symlinks to the
(splitted) example file(s) in there.
I've wrote a Perl interface to `run-parts` named
[Run::Parts](https://metacpan.org/release/Run-Parts) as standalone
Perl module which is already used by `aptitude-robot`, too.
* Check if there are common tasks of xdg-user-dirs (its package
description is not so helpful there) of if it can be useful for
unburden-home-dir.
* Slow find/rsync, e.g. "sh -c find
'/home/abe/.conkeror.mozdev.org/conkeror/$FOO/Cache' -print0 | xargs
-0 lsof -F c"
|