ADD_TODO(1)

NAME
add_todo - add entries to /usr/pkgsrc/doc/TODO

SYNOPSIS
add_todo [-f] package

DESCRIPTION
add_todo adds an entry for package to the /usr/pkgsrc/doc/TODO file. The package argument needs to be of the form “PKGNAME-PKGVERSION”, e.g., “pkgsrc-todo-1.1”. add_todo checks if the package exists in pkgsrc by looking for an entry for it in the CHANGES-* files (to catch typos). It also checks if the update was already committed, i.e., if an entry for it or a newer version exists in any CHANGES-* files. This second check can be overridden by using the -f flag.

add_todo assumes that the contents of /usr/pkgsrc/doc are up-to-date. The TODO file needs to be committed manually afterwards.

FILES

/usr/pkgsrc/doc/TODO
    add_todo adds entries to this file.

/usr/pkgsrc/doc/CHANGES-*
    add_todo checks these files before adding entries.

AUTHORS
Thomas Klausner <wiz@NetBSD.org>

BUGS
add_todo currently can't add an entry at the end of the list.

add_todo should check if a package was removed before adding an entry for it.

add_todo should check if a package was downgraded; this information is currently disregarded.