Commit Graph

400 Commits

Author SHA1 Message Date
Martin A. Brown 9f5b7c2ded use unicode literals here, too 2016-05-16 09:37:46 -07:00
Martin A. Brown 47b2930264 add --version handling logic in driver.py 2016-05-16 09:30:18 -07:00
Martin A. Brown e879f2e638 adding --version to CLI config 2016-05-16 09:29:53 -07:00
Martin A. Brown fb027155ed bumping version to tldp-0.7.13 2016-05-13 12:29:20 -04:00
Martin A. Brown 59fc4484fe bumping version to tldp-0.7.12 2016-04-30 18:18:29 -04:00
Martin A. Brown 8a554a430d adding 2016 LDP copyright to each file 2016-04-29 11:02:02 -04:00
Martin A. Brown 32d2d55c28 switching to absolute_import 2016-04-29 11:01:37 -04:00
Martin A. Brown 53c476cebc pyflakes/pep8 adjustments 2016-04-28 12:12:41 -04:00
Martin A. Brown 174e759d14 bumping version to 0.7.11 2016-04-28 11:05:36 -04:00
Martin A. Brown 66291ca237 flakes: remove reference to operator 2016-04-28 11:05:15 -04:00
Martin A. Brown 35b80575b6 remove reference to unused statfiles 2016-04-28 11:05:05 -04:00
Martin A. Brown d8e9ef181f bumping version to 0.7.10 2016-04-27 15:57:33 -04:00
Martin A. Brown f33966956c bumping version to tldp-0.7.9 2016-04-27 14:12:42 -04:00
Martin A. Brown a3180238bd move VERSION to a single location 2016-04-27 13:52:56 -04:00
Martin A. Brown 3693264ca2 switch to using the doc.__name__, not doc.formatname 2016-04-20 22:38:45 -07:00
Martin A. Brown c947cfaf57 and remove the build directory, if empty 2016-04-18 12:25:20 -07:00
Martin A. Brown e268b80e84 remove "random" text from MD5SUMS file
remove the date/time and hostname from the MD5SUMS file (why did I ever think
that was a good idea?)
2016-04-15 07:43:29 -07:00
Martin A. Brown 6ec7e84c2d remove reference to mtime functions 2016-04-02 11:58:56 -07:00
Martin A. Brown 0b8ae435f8 correct the justification of the text 2016-04-02 11:58:35 -07:00
Martin A. Brown af80925d70 remove references to unused statinfo stuff 2016-04-02 11:58:19 -07:00
Martin A. Brown 5ca7ee9a16 not using statinfo any longer 2016-04-02 11:54:05 -07:00
Martin A. Brown d4237eec58 report on failure/success count during the job
this allows somebody to kill the build in the middle, if there were any
failures
2016-04-02 10:54:35 -07:00
Martin A. Brown 45a0d2120c fetch MD5s for sources; ignore index.sgml files
instead of fetching statinfo, switch to using the MD5 of all files in the
source file set
also ignore any (annoying and) stray index.sgml files
2016-04-02 10:50:54 -07:00
Martin A. Brown 5a06b49967 load the MD5 file, if present
if the MD5 file is not present, then an earlier version of the tldp package
generated the output directory, and we should re-run
if the MD5 file is present in the output directory, load it into the dict()
data structure and return it, so that a stale-check can be completed
2016-04-02 10:49:15 -07:00
Martin A. Brown 5dcc255cc6 calculate stale by MD5s; swap stale/broken
move the stanza that identifies the broken output directories up higher in the
file; it's a simpler chunk of code
adjust the detection of stale-ness by referring to an output MD5 file and
compare with the available source files
2016-04-02 10:47:45 -07:00
Martin A. Brown dccbab5b39 call the MD5 generation util function 2016-04-02 10:47:07 -07:00
Martin A. Brown 691a4bf8d6 make sure to sort the files by name 2016-04-02 10:46:43 -07:00
Martin A. Brown 93390cd467 add tools for computing and sorting source MD5s 2016-04-02 10:45:53 -07:00
Martin A. Brown 84c703a89e skip the MD5SUM file 2016-04-01 23:23:23 -07:00
Martin A. Brown 5530c8f38f and use the MD5SUMS location specified in the OutputDocument 2016-04-01 22:38:35 -07:00
Martin A. Brown 49b2ee57ae add a place to capture the MD5 data of the source 2016-04-01 22:37:53 -07:00
Martin A. Brown 753774c5e9 compute and generate an MD5SUMS file for each source document 2016-04-01 22:19:25 -07:00
Martin A. Brown 9fac28f160 record md5sum info for each source file 2016-04-01 22:18:39 -07:00
Martin A. Brown 673ddaf3e9 skip any directories on stat expedition 2016-04-01 22:17:53 -07:00
Martin A. Brown f5af96d1bf make pep8 a bit happier 2016-04-01 21:33:23 -07:00
Martin A. Brown aef4d6e3ee and generate the directory listing with full (relative) path 2016-04-01 21:10:43 -07:00
Martin A. Brown f5cb7c9e8b support better handling of verbose CLI/config
now ldptool understands --verbose, --verbose yes, --verbose false
2016-03-28 14:06:46 -07:00
Martin A. Brown 8cbdeab558 provide directory existence feedback to user
instead of bailing with an obnoxious error message, or silently ignoring a
command-line option of a directory, squawk to STDERR with the problem and
provide (possibly redundant, but maybe informative) traceback
2016-03-28 11:11:22 -07:00
Martin A. Brown 8de5158eb7 flakes noticed an extra import, removing 2016-03-28 11:10:45 -07:00
Martin A. Brown c442debc51 specify default loglevel in function signature 2016-03-28 11:10:27 -07:00
Martin A. Brown 4658f3101e pep8 improvement 2016-03-28 11:09:43 -07:00
Martin A. Brown 9c3ed36bc2 fix publish function so it propagates return code 2016-03-27 02:26:42 -07:00
Martin A. Brown c0233a73b2 deal with 2/3 naming for stringy things 2016-03-27 01:02:44 -07:00
Martin A. Brown deaee034fc make an end run around the XSL/fop problem
teach the DocBook4 XML utility itself to set fop.extensions = 0 and
fop1.extensions = 1 until such time as the upstream ldp-docbook-xsl packages
can be repaired and/or adjusted
2016-03-27 00:44:00 -07:00
Martin A. Brown f2ef7d2184 support --script mode anywhere and don't chdir() 2016-03-24 09:00:20 -07:00
Martin A. Brown 746197d954 match up the detail method on the OutputDirectory with the SourceDocument 2016-03-18 20:06:52 -07:00
Martin A. Brown d094e9365a specify the footer to use 2016-03-16 16:12:25 -07:00
Martin A. Brown e4b5c5d8bb need to fall back to iso-8859-1 for SGML docs 2016-03-15 13:26:03 -07:00
Martin A. Brown dfd65b43f3 use an empty (unicode_literal) string to trick future print() [function] to producing unicode strings rather than Py2 byte strings 2016-03-14 22:27:15 -07:00
Martin A. Brown 3f92a7a95c everybody gets unicode_literals 2016-03-14 22:18:09 -07:00