Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: pkgsrc-changes
Date: 04/22/2001 14:44:47
Module Name: pkgsrc
Committed By: zuntum
Date: Sun Apr 22 11:44:47 UTC 2001
Modified Files:
pkgsrc/time/devtodo: Makefile distinfo
pkgsrc/time/devtodo/pkg: PLIST
Added Files:
pkgsrc/time/devtodo/patches: patch-aa
Log Message:
o use ${MASTER_SITE_SOURCEFORGE}, not hardcoded ftp1.sourceforge.net
o add quoting to MAKE_ENV
o add patch-aa to install scripts to PREFIX/share/examples/devtodo
instead of hardcoded SYSCONFDIR/profile.d
o install todorc into PREFIX/share/examples/devtodo instead of
PREFIX/etc/todorc
o update to version 0.1.5:
* Added a binary database format. The default is still XML, but you can
change this using the new --database-loaders option. You can transparently
convert your existing XML databases to binary format (or vice-versa) by
simply changing the load order. For example, to change from XML to binary,
put this in your ~/.todorc: database-loaders binary,xml
The next time you modify an XML format database, it will be saved in binary
format. The man page has more information. I recommend only using the binary
format if you are actually having performance problems, as if something
goes awry, manually fixing the XML database is *much* easier. But if you do
use it, it might be an idea to use it in conjunction with --backup.
* Added user-defineable formatting for both display output and TODO generated
output. This is cool. Look for the section FORMATTING in the man page.
* Added a new filter, which I've wanted for ages. It constists of a single '-',
'+' or '='. A '-' stops display of all items except those explicitly specified
in the rest of the filter whereas a '+' overrides all other filters to display
all items. A '=' is the default behaviour. This is brilliant if you want
to narrow the view down to just one item: todo --filter -,29 (*Note*: Slightly
superceded by the modification to the semantics of numeric filters, which now
display *only* the numbers specified if the = (or no) prefix is used - see
two points down for more information).
* Modified the numeric filters. Ranges can now be specified by doing this:
todo --filter 1-20. If a '-' sign precedes the range it explicitly excludes
all these items. This can also be used in most other places indices are used.
ie. todo --done 10.1-20 would mark items 10.1 through 10.20 as done.
* Modified behaviour of numeric filters slightly. If prefix is '=' or none,
*only* those items are displayed. Before, this was a nop.
* Patch to todorl.h courtesy of Philippe M. Chiasson that fixes compilation
problems on RH 7.0.
* Priority defaults to medium if a blank line is entered at the "priority>"
prompt (thanks to Alexei Gilchrist for this idea, along with quite a few
others :))
* Removed --fallback-database - the semantics were too clunky and generally
confusing.
* Added --global-database <filename> and -G,--global to replace
--fallback-database. Basically, you specify a file with --global-database
(defaults to ~/.todo_global) then whenever you pass -G or --global to todo it
will use the global database. Much simpler than the way --fallback-database
behaved. This idea was courtesy, once again, of Alexei Gilchrist. Good stuff!
* todo can now automatically backup the database to a user specified number
of levels. Use the option --database [<n>] to do this, where <n> is the
optional number of revisions to keep (defaults to 1). This option is best
specified in your ~/.todorc.
* Numbers can once again be used to specify priorities when entering them from
the 'priority>' prompt (requested by Alexei Gilchrist).
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/time/devtodo/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/time/devtodo/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/time/devtodo/patches/patch-aa
cvs rdiff -r1.2 -r1.3 pkgsrc/time/devtodo/pkg/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.