Commit Graph

27 Commits

Author SHA1 Message Date
Martin A. Brown 4c7e92ca17 a wee bit more logging and better emphasis on the word SUCCESS 2016-02-23 22:54:57 -08:00
Martin A. Brown c6ebbf8a64 make a bit less noise in routine operation 2016-02-23 21:59:20 -08:00
Martin A. Brown 2fef28a299 adjust the logging information 2016-02-23 12:25:54 -08:00
Martin A. Brown 53c91eebe6 rename the hooks so they start with hook_ 2016-02-23 11:58:29 -08:00
Martin A. Brown 7bb5e35aeb add detail method to source and output documents
the detail method produces some output listing about the
document and will soon include more verbosity
2016-02-23 08:44:16 -08:00
Martin A. Brown 01acf2dfa6 add a property/function for reporting missing files 2016-02-22 21:21:48 -08:00
Martin A. Brown 25add163cb rely on LDPDocumentCollection 2016-02-22 20:02:12 -08:00
Martin A. Brown 28f7a8468c minor documentation fixes 2016-02-18 13:58:30 -08:00
Martin A. Brown bf768d0277 adding basic docstrings 2016-02-18 13:22:48 -08:00
Martin A. Brown d643883e50 change name_index to name_indexhtml; adapt tests
also minor logging adjustments for clarity and consistency
2016-02-18 09:15:47 -08:00
Martin A. Brown d3b6ad8e56 add iscomplete property to OutputDirectory 2016-02-17 19:19:48 -08:00
Martin A. Brown eed25efbba simplify cleaning; add (unused) name_epub 2016-02-17 19:04:21 -08:00
Martin A. Brown fd3b931423 include hooks for prebuild and postbuild states 2016-02-17 18:31:51 -08:00
Martin A. Brown 2bcb55e2a0 flipping the stem/dirname arguments 2016-02-17 13:50:06 -08:00
Martin A. Brown 9301a54ab2 switch to using statfiles 2016-02-17 11:19:48 -08:00
Martin A. Brown dab2f1f8b1 adding support for documents to know their status 2016-02-17 00:17:49 -08:00
Martin A. Brown 8a1afb6e24 allow creation of empty OutputCollection; fixes
Allow creation of an empty OutputCollection so that the object can be handed
around in driver.py for higher-level document wrangling.
Also, repair one inobvious statement, thank you pep8/pyflakes
2016-02-16 23:43:07 -08:00
Martin A. Brown fbb6e56929 fixes found during testing
should standardize on IOError for errno.ENOENT across the package
adhere to standard choice of logging message
make sure to skip a non-directory in OutputCollection ("continue")
2016-02-16 14:13:17 -08:00
Martin A. Brown 82a0fce575 initial test script for outputs.py 2016-02-15 23:52:52 -08:00
Martin A. Brown 8163efa0a5 converting OutputTree to behave like a dict 2016-02-15 21:55:58 -08:00
Martin A. Brown 68e3b2f0cb improving cleaning, esp. index.html 2016-02-15 21:04:41 -08:00
Martin A. Brown b6076fec82 create OutputDirectory and OutputTree
an OutputTree must exist already, contains all of the OutputDocuments
an OutputDocument determines the stem from the dirname and depends on
the OutputNamingConvention for choosing names for the primary files of each
generated output type
2016-02-15 14:01:55 -08:00
Martin A. Brown eb4de2f877 prettier __repr__ for OutputDir 2016-02-12 10:32:09 -08:00
Martin A. Brown bbe1985a81 changing to __future__ (consistency across project) 2016-02-11 11:29:00 -08:00
Martin A. Brown 6de9aee212 changing names to sourcedir and outputdir 2016-02-11 09:28:31 -08:00
Martin A. Brown 035ff36afb adding OutputDir to outputs.py 2016-02-11 09:15:22 -08:00
Martin A. Brown 701657e54b initial commit 2016-02-10 19:22:23 -08:00