]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/po:_remove_po_files_when_disabling_plugin.mdwn
Progress, links, an idea, improve table formatting.
[ikiwiki.git] / doc / todo / po:_remove_po_files_when_disabling_plugin.mdwn
1 ikiwiki now has a `disable` hook. Should the po plugin remove the po
2 files from the source repository when it has been disabled?
3
4 > pot files, possibly, but the po files contain work, so no. --[[Joey]] 
5
6 >> I tried to implement this in my `po-disable` branch, but AFAIK, the
7 >> current rcs plugins interface provides no way to tell whether a
8 >> given file (e.g. a POT file in my case) is under version control;
9 >> in most cases, it is not, thanks to .gitignore or similar, but we
10 >> can't be sure. So I just can't decide it is needed to call
11 >> `rcs_remove` rather than a good old `unlink`. --[[intrigeri]]
12
13 >>> I guess you could call `rcs_remove` followed by `unlink`. --[[Joey]]