Martin A. Brown
4947542e01
Merge pull request #12 from martin-a-brown/mabrown/version-0.7.15
...
bump version to 0.7.15
2022-10-23 20:42:44 -07:00
Martin A. Brown
6a00bd0b1e
bump version to 0.7.15
2022-10-23 20:41:45 -07:00
Martin A. Brown
8f34526e4f
Merge pull request #11 from martin-a-brown/master
...
catch up to 0.7.14 (from May 2016) in tLDP repo: add --version flag
2022-10-23 20:39:08 -07:00
Martin A. Brown
fafc30ac0e
argparse drops private method _ensure_value
...
The `argparse` library refactored to improvem performance of common use
cases. Handling a list is not a common scenario and the function
_ensure_values (which was obviously private) disappeared.
This commit simply uses the same strategy that the upstream `argparse`
maintainers used. Since this is a subclass of a private object type
anyway, this is expected sort of behaviour.
2022-10-23 18:46:01 +00:00
Martin A. Brown
4cb5e881d2
MutableMapping moves into collections.abc
2022-10-23 18:28:50 +00:00
Michael Hudson-Doyle
21cfd681b9
fix guess(non-string) with Python 3.6
...
The os.path.* functions now consistently raise TypeError rather than something
more random when called with inappropriate types.
Fixes #6
2017-07-14 11:16:57 +12:00
Martin A. Brown
7b756c7a18
bumping version to tldp-0.7.14
2016-05-16 09:56:15 -07:00
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