tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mk/scripts/remove_todo broken?



On 08.02.2021 12:08, Frederic Fauberteau wrote:
I just run 'make commit-changes-entry' on editors/zim after committing an update and it only updates doc/CHANGES-2021 but not doc/TODO that however contains an entry for editors/zim.

FYI, I updated editors/zim to 0.73.5 and doc/TODO contains:
         o zim-0.65

IIRC, a message was printed to notice when versions mismatch between doc/TODO and the actual update.

The script mk/scripts/remove_todo works just as I expect:

$ grep zim doc/TODO > before
$ cp before after
$ ./mk/scripts/remove_todo after zim 0.73.5
$ diff -u before after

Next I turned to a higher level:

$ cd editors/zim
$ bmake -n todo-entry-remove
set -e; .../remove_todo .../TODO py27-zim 0.59nb23

And there it is.  The package in editors/zim is named pyXX-zim, while
the entry in doc/TODO is only zim.  That's why it is not removed.

Roland


Home | Main Index | Thread Index | Old Index