Commit Graph

483 Commits

Author SHA1 Message Date
Martin A. Brown 369d53eb35 be louder about the signature finding (or not) 2016-03-02 23:51:27 -08:00
Martin A. Brown 17772e948c call xmllint before doing any other work
important to validate the document before processing it;
Note!  Adding this feature flushed out a number of sketchy corners of a few of
our documents, but almost everything validated already.
2016-03-02 23:50:19 -08:00
Martin A. Brown a7e9b1102d and grabbing David Horton's CSS file 2016-03-02 23:33:53 -08:00
Martin A. Brown b0e30303cf snatching the stuff packaged by Frank Lichtenheld 2016-03-02 23:32:37 -08:00
Martin A. Brown fbb69658a7 better organization for DSSSL and XSL files 2016-03-02 23:27:10 -08:00
Martin A. Brown 86b83be257 bumping version to 0.4.5 2016-03-01 23:01:36 -08:00
Martin A. Brown 2094199462 pyflakes/pep8 fixes 2016-03-01 22:58:37 -08:00
Martin A. Brown ee88d451a8 pyflakes/pep8 fixes 2016-03-01 22:53:07 -08:00
Martin A. Brown 78e67c0e6c pep8/pyflakes 2016-03-01 22:47:15 -08:00
Martin A. Brown 6e11db3957 add a test case for when user specifies only stem as arg 2016-03-01 22:46:57 -08:00
Martin A. Brown 7f26728ec1 say "source" documents instead of "total" (less confusing) 2016-03-01 22:41:16 -08:00
Martin A. Brown cd551329d8 bumping version to 0.4.4 2016-03-01 22:24:27 -08:00
Martin A. Brown 9cb92dce7c build() only returns 0 (success) for all builds
before, the build() function lacked the logic to retain, and return that there
was a failure during the building of one of the documents; it now returns
a 1, which is passed directly to sys.exit(), if any single build fails
2016-03-01 22:21:29 -08:00
Martin A. Brown 97181b167a temporarily forgetting about other doctypes 2016-03-01 21:50:58 -08:00
Martin A. Brown 136678f531 changing the extension to .xml 2016-03-01 21:50:42 -08:00
Martin A. Brown 6047756027 tools and data to allow testing the build chain 2016-03-01 21:38:50 -08:00
Martin A. Brown d28460aaff bump up verbosity of failed excute() to logger.info 2016-03-01 21:38:16 -08:00
Martin A. Brown efa2c9432a bump up verbosity of failed excute() to logger.info 2016-03-01 21:38:04 -08:00
Martin A. Brown bf99f97eba print out detail files in sorted order 2016-03-01 21:37:42 -08:00
Martin A. Brown 51250d4a47 add a tiny bit more verbosity to output detail 2016-03-01 20:17:23 -08:00
Martin A. Brown 4939347e85 adjust verbose output a tad 2016-03-01 20:12:01 -08:00
Martin A. Brown 068000f414 bumping version to 0.4.2 2016-03-01 19:56:41 -08:00
Martin A. Brown b9f606988b try to simplify testing logic
lots of adjustments to testing to make it more understandable (and
self-contained), although not much shorter
2016-03-01 19:53:33 -08:00
Martin A. Brown 890464310a more sample data for stem/ext handling issue 2016-03-01 19:53:13 -08:00
Martin A. Brown 783aa036c8 correcting mismatch in PUBLIC/SYSTEM identifier declaration 2016-03-01 19:52:41 -08:00
Martin A. Brown d0222c748a more sample data for stem/ext handling issue 2016-03-01 19:51:39 -08:00
Martin A. Brown 17ffc0434f make the sought text more obvious in logging output 2016-03-01 19:51:19 -08:00
Martin A. Brown 20f01fff1c adding some additional TODO items from today's work 2016-03-01 19:50:51 -08:00
Martin A. Brown 76d5886e54 fix skipping SCSI-2.4-HOWTO (bad stem/ext handling)
source document identification was skipping any documents which lived in their
own directory AND whose names had a dot; fixed and test support added
2016-03-01 19:49:28 -08:00
Martin A. Brown 08ef4c35bf only say we are removing, if removing 2016-03-01 18:38:58 -08:00
Martin A. Brown 1c5a75b535 need to add the etc/ file 2016-03-01 14:33:53 -08:00
Martin A. Brown dd6cda7726 improve diagnostic error messages a little bit 2016-03-01 14:32:14 -08:00
Martin A. Brown dfa729b9e5 restore driver.py to functionality
after refactoring into a bunch of separate functions, the tests finally pass
again
2016-03-01 14:10:51 -08:00
Martin A. Brown ae89d6814a inverted logic; caught in testing code 2016-03-01 13:36:09 -08:00
Martin A. Brown 9721214e12 rejigger testing to cover functions 2016-03-01 13:32:38 -08:00
Martin A. Brown 2feb454c18 create more functions for the driver.py
Rearrange the logic for handling the various arguments so that it is
less obnoxious; breaking it into functions makes it easier to read (and test).
2016-03-01 13:21:26 -08:00
Martin A. Brown 4ec06998b4 correct the labeling in the --help output 2016-03-01 13:21:11 -08:00
Martin A. Brown 7664d35090 use abspath before looking for documents 2016-03-01 11:35:06 -08:00
Martin A. Brown b462113b7d bumping version to 0.4.2 2016-03-01 11:08:02 -08:00
Martin A. Brown 09d59747ac adjusting TODO list (completed a few things) 2016-03-01 11:04:43 -08:00
Martin A. Brown 211cb6dd5c adding a bunch more testing for driver.py 2016-03-01 11:02:44 -08:00
Martin A. Brown b54962900d allow case-insensitive matching for document types
The Python names for the document types are upper-cased and probably not
predictably named for the end user; allow a case-insensitive match when trying
to turn off building or listing for a particular document type.
2016-03-01 11:01:32 -08:00
Martin A. Brown aff926bb58 improve the handling of --skip 2016-03-01 10:30:18 -08:00
Martin A. Brown 4b52db51a7 add some explanatory text and full option set
add explanatory text and a full set of options for all of the section
fragments of the ldptool.ini
2016-03-01 09:35:47 -08:00
Martin A. Brown 648d2f43a1 bump to beta quality 2016-03-01 09:15:09 -08:00
Martin A. Brown fe54af73a5 add default (system) configuration file 2016-03-01 09:04:45 -08:00
Martin A. Brown e5d9731e3d create directory /etc/ldptool with ldptool.ini (syntax correction) 2016-03-01 08:59:40 -08:00
Martin A. Brown 3f740226b5 create directory /etc/ldptool with ldptool.ini 2016-03-01 08:59:15 -08:00
Martin A. Brown 1f9dd5db4b adding stock configuration file 2016-03-01 08:37:48 -08:00
Martin A. Brown 8792b4c83a make individual assertions 2016-03-01 08:20:57 -08:00