Commit Graph

373 Commits

Author SHA1 Message Date
Martin A. Brown e6b6ea7b40 add support for --doctypes and --statustypes
provide CLI-discoverable listing of supported source document types and status
types
2016-03-06 11:29:13 -08:00
Martin A. Brown bfd6c1a0a1 tldp/doctypes/docbook4xml.py
correct dependency listings for validated source removal
2016-03-05 19:24:05 -08:00
Martin A. Brown 760cd392f4 use newer, simpler topo-sort for dependency tracking 2016-03-05 17:08:33 -08:00
Martin A. Brown 4c01ae4af7 simplify topological dependency solution
This patch prepares the way for simplifying the topological sort solution for
the classes which implement the document building logic.  Formerly, each
doctype class had to import networx itself and the @depends decorator stuffed
the dependencies into a graph in the class variable.

Now, each method tracks its dependencies (same decorator trick), but the
topological sort is not computed until just before running the job.  This is
more flexible, more obvious, simpler and features less code replication.

The next commit or two will convert the remaining doctype classes to use this
techinque.
2016-03-05 17:04:45 -08:00
Martin A. Brown 7d287b44e5 the required items should say asciidoc_ 2016-03-05 15:58:26 -08:00
Martin A. Brown 428e577c0d try not to go over 80 chars (attempt #3) 2016-03-04 21:44:50 -08:00
Martin A. Brown cec2730e9a and add a2x in the software dependency list 2016-03-04 21:34:59 -08:00
Martin A. Brown 93fb5b3356 quote that argument 2016-03-04 21:34:44 -08:00
Martin A. Brown d8f14c9e55 initial support for asciidoc format 2016-03-04 17:10:30 -08:00
Martin A. Brown f617cca3d3 add support for Asciidoc detection 2016-03-04 17:10:21 -08:00
Martin A. Brown 50af88ebde switch to os.path.exists(), prep for chunked is own subdir 2016-03-04 17:07:36 -08:00
Martin A. Brown 1dbc0e5f8b always log the contents of the tldp-build-* files in --debug mode 2016-03-04 17:06:55 -08:00
Martin A. Brown 0815c3748f adding package_data, version to 0.4.8 2016-03-04 13:51:47 -08:00
Martin A. Brown 4a8a7aad7f a few more TODO items 2016-03-04 13:51:32 -08:00
Martin A. Brown 812bde4595 bumping version (should make this a generated file) 2016-03-04 13:50:27 -08:00
Martin A. Brown bf3d559fc6 but do not set system default for sourcedir or pubdir 2016-03-04 13:50:00 -08:00
Martin A. Brown 7c3c3589ff improve the stock supplied defaults 2016-03-04 13:48:52 -08:00
Martin A. Brown 8132821bb8 adding the FO generation XSL 2016-03-04 13:41:21 -08:00
Martin A. Brown 121c36a5d4 add the contrib stuff to sdist 2016-03-04 12:43:39 -08:00
Martin A. Brown 5f9533045c shrink the total window width (want to fit in 80 cols) 2016-03-04 12:43:28 -08:00
Martin A. Brown 33b8e04e33 revising the TODO list into sections 2016-03-04 12:42:37 -08:00
Martin A. Brown 2a0e383c26 run the xinclude first, then validate document 2016-03-04 11:46:17 -08:00
Martin A. Brown efebc78a63 detail on stems and overall picture 2016-03-04 10:04:40 -08:00
Martin A. Brown 62fdcbf1c6 refer to python-stdeb 2016-03-04 09:04:30 -08:00
Martin A. Brown c60ba0c688 beefing up the introductory documentation/README 2016-03-04 09:02:27 -08:00
Martin A. Brown 3e1b732b32 correct the help string for docbook.rng 2016-03-04 08:53:53 -08:00
Martin A. Brown 92e7c8bc89 lowering verbosity on reporting tool/data detection 2016-03-04 07:58:03 -08:00
Martin A. Brown bba998b7b9 adding NS XSL fs locations for Debian 2016-03-04 07:53:29 -08:00
Martin A. Brown 0ae4fd4806 flesh out support for DocBook 5.0
this is the main commit which provides support for generating documents from
sources written in DocBook 5.0.
2016-03-03 23:45:20 -08:00
Martin A. Brown 9a5bd5fd05 scripts look stupid without a final newline 2016-03-03 23:45:05 -08:00
Martin A. Brown c8f489ef5d reset logging level after parsing all configs 2016-03-03 14:03:38 -08:00
Martin A. Brown 7359af070d adjust and reorganize imports 2016-03-03 11:27:19 -08:00
Martin A. Brown b092e09516 add support for --script; shorten names
adding support for the --script option
shortening the names in the script since it was getting fairly redundant to
keep typing tldp.outputs.Output*, tldp.inventory.Inventory and
tldp.sources.Source*
2016-03-03 11:23:54 -08:00
Martin A. Brown 0ee742b64b add internal support for dumping shellscript
added support to the BaseDoctype class so that it can dump a script instead of
executing the script
2016-03-03 11:22:09 -08:00
Martin A. Brown e2aff4f388 add alternate constructor 2016-03-03 11:21:54 -08:00
Martin A. Brown de43a11954 adjust the names of the XSL files 2016-03-03 11:20:57 -08:00
Martin A. Brown cb23d89b04 comment the XSL and use system ID for resource 2016-03-03 11:06:55 -08:00
Martin A. Brown 8047e6a0d3 adding the extras 2016-03-02 23:53:02 -08:00
Martin A. Brown 83e1c7a57b needed output.validsource for DocBook XML xmllint validation 2016-03-02 23:52:50 -08:00
Martin A. Brown 6ac2699fbf removing reference to unused variable buildorder 2016-03-02 23:52:29 -08:00
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