Mercurial > piecrust2
diff piecrust/pipelines/_pagerecords.py @ 979:45ad976712ec
tests: Big push to get the tests to pass again.
- Lots of fixes everywhere in the code.
- Try to handle debug logging in the multiprocessing worker pool when running in pytest. Not perfect, but usable for now.
- Replace all `.md` test files with `.html` since now a auto-format extension always sets the format.
- Replace `out` with `outfiles` in most places since now blog archives are added to the bake output and I don't want to add expected outputs for blog archives everywhere.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 Oct 2017 22:51:57 -0700 |
parents | abc52a6262a1 |
children | 8adc27285d93 |
line wrap: on
line diff
--- a/piecrust/pipelines/_pagerecords.py Sun Oct 29 22:46:41 2017 -0700 +++ b/piecrust/pipelines/_pagerecords.py Sun Oct 29 22:51:57 2017 -0700 @@ -8,7 +8,8 @@ FLAG_FORCED_BY_SOURCE = 2**1 FLAG_FORCED_BY_NO_PREVIOUS = 2**2 FLAG_FORCED_BY_PREVIOUS_ERRORS = 2**3 - FLAG_FORMATTING_INVALIDATED = 2**4 + FLAG_FORCED_BY_GENERAL_FORCE = 2**4 + FLAG_FORMATTING_INVALIDATED = 2**5 def __init__(self, out_uri, out_path): self.out_uri = out_uri @@ -133,6 +134,8 @@ SubPagePipelineRecordEntry.FLAG_FORCED_BY_NO_PREVIOUS: 'forced b/c new', SubPagePipelineRecordEntry.FLAG_FORCED_BY_PREVIOUS_ERRORS: 'forced by errors', + SubPagePipelineRecordEntry.FLAG_FORCED_BY_GENERAL_FORCE: + 'manually forced', SubPagePipelineRecordEntry.FLAG_FORMATTING_INVALIDATED: 'formatting invalidated' }