Commit graph

4 commits

Author SHA1 Message Date
Gabor Pali
0f1a3acc70 Add new features and their documentation to keramida's 'checkupdate'
utility:
- "compact mode": generate a compact report for commit logs
- "patch mode": the long awaited ``patch preview'' mode :) (supports
  both cvs and svn)
- "picky mode": a few enhancements for creating more reasonable reports
  (enabled by default, but one can turn them off)

Reviewed by:  keramida
Approved by:  keramida
2008-07-09 19:53:54 +00:00
Giorgos Keramidas
ee79bbf7a4 Add a -t (tuple mode) option to checkupdate.py, which switches
from preparsed human-readable output to printing a raw Python
tuples for each flist input file.  Manolis has post-processing
tools that can easily use this format, so this makes life easier
for him.
2008-06-16 21:53:10 +00:00
Giorgos Keramidas
7477abce2e checkupdate: Add a new -e option that reports 'everything'.
When the -e option is enabled, report file revision information
for 'everything', including files that don't need a translation
update.
2008-06-15 16:36:55 +00:00
Giorgos Keramidas
70a69003cb Add a new Python-based utility we wrote for the FreeBSD Greek
documentation project (and anyone else interested to use it).
In the translated files, we have added special `tags' some time
in the past, using the format:

    %SOURCE%    en_GR.ISO8859-1/articles/foo/file.sgml
    %SRCID%     1.5

to denote that this translation was based on revision 1.5 of the
file referenced in `%SOURCE%'.

The `checkupdate' utility makes parsing and checking of these
tags easier.  It expects to receive a list of files to check in
standard input, so it can be run by typing:

    find el_GR.ISO8859-7 | checkupdate

This should report in standard output something like:

: el_GR.ISO8859-7/articles/compiz-fusion/Makefile rev. 1.1
:     1.1        -> 1.1         en_US.ISO8859-1/articles/compiz-fusion/Makefile
:
: el_GR.ISO8859-7/articles/compiz-fusion/article.sgml rev. 1.1
:     1.3        -> 1.5         en_US.ISO8859-1/articles/compiz-fusion/article.sgml

We will keep extending the `checkupdate.py' script to add more
features, like a "patch preview" mode.  The version committed
here works well enough for now, and it already shows a lot of
files that we have to update in el_GR.ISO8859-7 :)

Inspired by:    pgj's shell based version of `checkupdate'
2008-06-15 15:45:36 +00:00