CVS log for doc/el_GR.ISO8859-7/share/tools/checkupdate/checkupdate.py
Up to [FreeBSD] / doc / el_GR.ISO8859-7 / share / tools / checkupdate
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 21 13:55:35 2009 UTC (2 years, 7 months ago) by keramida
Branches: MAIN
CVS tags: RELEASE_9_0_0, RELEASE_8_2_0, RELEASE_8_1_0, RELEASE_8_0_0, RELEASE_7_4_0, RELEASE_7_3_0, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
Trim '\r' and '\n' from filenames read from stdin. The input line is printed in debug levels >= 4. If it includes the newline we read from stdin, debug messages include empty lines, so this should keep the debug output a bit more compact.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 9 19:53:54 2008 UTC (3 years, 7 months ago) by pgj
Branches: MAIN
CVS tags: RELEASE_7_2_0, RELEASE_7_1_0, RELEASE_6_4_0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +84 -18 lines
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
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 16 21:53:10 2008 UTC (3 years, 7 months ago) by keramida
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +17 -9 lines
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.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 15 17:12:47 2008 UTC (3 years, 7 months ago) by keramida
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -5 lines
checkupdate: Losen a bit the %SOURCE% path validation check. It's to return a pathname that doesn't exist, so if it contains a '/' character it's probably a valid path with a small typo. Let the rest of the script handle its non-existence, which it already does fine.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 15 16:36:55 2008 UTC (3 years, 7 months ago) by keramida
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -2 lines
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.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 15 16:28:48 2008 UTC (3 years, 7 months ago) by keramida
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +44 -14 lines
checkupdate: only report the files that actually *need* updates Instead of reporting all the files of our input file list, add a few checks in checkinfo() to report only the files that may be of interest to translators looking for something cool to do.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jun 15 15:45:36 2008 UTC (3 years, 7 months ago) by keramida
Branches: MAIN
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'
