HomePhabricator

allow writeuptopageid to write multiple output files
d2f8ac04b574Unpublished

Tags
None
Referenced Files
None
Subscribers
None

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

allow writeuptopageid to write multiple output files

[WIP] best choices for bzip and gz initial settings need to be made.

If passed new arguments for the output directory and a series
of output file specs, containing the filename and page
range for each file, the input stream on stdin will be read
and split up into these output files as specified.

Output files with names ending in gz or bz2 will be compressed
appropriately.

Updated the copyright notice too while in here.

This is prep work for being smarter about writing temp stub
files for generating page content output files that cover
specific page ranges. We currently read the entire input
file for each output file generated.

While we're here, rename the None state to NoWrite, which is clearer.

Also add tilde files to gitignore.

Bug: T196063
Change-Id: I30ff4a58098ad708126e4b03262c56c156d7d93b

Details

Provenance
ArielGlennAuthored on May 31 2018, 11:00 AM
Parents
R1891:0c619a1dea97: writeuptopageid.1: Fix typo
Branches
Unknown
Tags
Unknown
ChangeId
I30ff4a58098ad708126e4b03262c56c156d7d93b