Refactor docsload and add support for loading from directory
authorMagnus Hagander <magnus@hagander.net>
Mon, 20 Jun 2022 19:08:42 +0000 (21:08 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 20 Jun 2022 19:12:21 +0000 (21:12 +0200)
commitc234a6a65419f55d7eb8730b5eff04279b927c60
tree0ad15cec7fa84983eb9a1559d0ebf162f926bc10
parente6f529dd4eb2cffdada4855ee55037e4a414c96c
Refactor docsload and add support for loading from directory

Break out the tar parsing parts into a function for just that and create
a new one that knows how to load directly from the html directory in the
postgresql source tree, for more efficient snapshot loading.
tools/docs/docload.py