summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-04-17Merge branch 'fix-release' into 'main'0.4.1Lars Wirzenius4-5/+17
(subplotlib): Do not generate tests for subplotlib if not in-tree See merge request subplot/subplot!271
2022-04-17(NEWS): Update for 0.4.1 releaseDaniel Silverstone1-1/+5
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-17(subplotlib): Update release versionDaniel Silverstone2-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-17(subplotlib): Do not generate tests for subplotlib if not in-treeDaniel Silverstone1-2/+10
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15Merge branch 'pre-release' into 'main'0.4.0Lars Wirzenius10-232/+131
Prepare 0.4.0 release See merge request subplot/subplot!270
2022-04-15(debian): update changelog for 0.4.0 releaseDaniel Silverstone1-0/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update everything to 0.4.0Daniel Silverstone5-12/+12
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Normalise NEWS file to - rather than *Daniel Silverstone1-30/+29
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(NEWS): Add initial news for 0.4.0Daniel Silverstone1-0/+20
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(deny): Remove ignores for no-longer-present advisoriesDaniel Silverstone1-4/+0
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(example): Set licence for seq exampleDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update serde-aux dependency to remove chronoDaniel Silverstone2-33/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update tera dependency to remove chronoDaniel Silverstone2-88/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(subplotlib): Remove dependency on chronoDaniel Silverstone3-18/+12
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Update seq example nameDaniel Silverstone2-10/+10
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(chore): Run `cargo update`Daniel Silverstone1-39/+39
Basic dependency update during release process Updating crossbeam-channel v0.5.2 -> v0.5.4 Updating crossbeam-epoch v0.9.7 -> v0.9.8 Updating crossbeam-utils v0.8.7 -> v0.8.8 Updating getrandom v0.2.5 -> v0.2.6 Updating indexmap v1.8.0 -> v1.8.1 Updating libc v0.2.119 -> v0.2.123 Updating num_threads v0.1.4 -> v0.1.5 Updating proc-macro2 v1.0.36 -> v1.0.37 Updating quote v1.0.15 -> v1.0.18 Updating rayon v1.5.1 -> v1.5.2 Updating rayon-core v1.9.1 -> v1.9.2 Updating redox_syscall v0.2.11 -> v0.2.13 Updating syn v1.0.86 -> v1.0.91 Updating time v0.3.7 -> v0.3.9 Updating time-macros v0.2.3 -> v0.2.4 Updating tracing v0.1.32 -> v0.1.34 Updating tracing-core v0.1.23 -> v0.1.26 Updating tracing-subscriber v0.3.9 -> v0.3.11
2022-04-15Merge branch 'liw/logging' into 'main'Daniel Silverstone2-12/+53
feat: improve logging via env_logger Closes #221 See merge request subplot/subplot!269
2022-04-15feat: improve logging via env_loggerLars Wirzenius2-12/+53
Configure env_logger from environment, including style (colors). Simplify how log messages are formatted: drop the timestamp and crate name, as they're just noise for the case of Subplot. Adjust log messages so that what a user may want to normally know is info or above, and at level debug if they want to see in more detail what's happening. Handle the error from failing to execute pandoc specially, for a better error message. The default error message from the pandoc crate was hard for a user to understand. The new message clearly says what the exit code is, and logs the stderr, but not stdout, as Pandoc correctly writes errors only to stderr. Sponsored-by: author
2022-04-10Merge branch 'liw/warnings' into 'main'Daniel Silverstone11-80/+212
Make warnings a first-class concept in Subplot Closes #6 See merge request subplot/subplot!267
2022-04-10use Option<&str> instead of &Option<String>Lars Wirzenius3-13/+18
Sponsored-by: author
2022-04-10chore: drop unnecessary, if harmless, debugging print from testLars Wirzenius1-1/+0
Sponsored-by: author
2022-04-10feat: report markup problems during typesetting as a warningLars Wirzenius3-12/+24
Sponsored-by: author
2022-04-10feat: make typesetting issues into warningsLars Wirzenius4-11/+30
Sponsored-by: author
2022-04-10feat! treat warnings as errors by defaultLars Wirzenius7-42/+103
Add a --merciful option to subcommands for which this matters. Adjust tests to invoke subplot with that option as necessary. Sponsored-by: author
2022-04-10refactor: collect warnings for a document in its DocumentLars Wirzenius3-12/+49
Change places where warnings used to be written out so the warnings are pushed into the list in Document instead. Sponsored-by: author
2022-04-10fix: daemon.yaml mark embedded file name as suchLars Wirzenius1-0/+2
Change the binding to tell Subplot that an embedded file is referred to. This silences a warning for correct scenarios, and that will soon matter when warnings are errors by default. Sponsored-by: author
2022-04-10fix: move echo.bib out of YAML metadata in echo.mdLars Wirzenius1-9/+3
Pandoc fails to find echo bib when ./check is run: we have no way of telling Pandoc (via the pandoc::Pandoc structure), what it's working directory should be. I am about to introduce changes that will mean Subplot will fail in this case. This will all be sorted when we switch from using Pandoc to cmark_pulldown for parsing Markdown, and when we do, this commit should be reverted, but that change is too big for me at this time. Sponsored-by: author
2022-04-10fix: check capturing stderr of cargo, mixing it with stdoutLars Wirzenius1-2/+5
When ./check runs a command, in the runcmd_unchecked method, it collects by default stdout and stderr into on string. The two outputs get mixed. So far, this has been OK, but I'm about to make change where it won't be OK. The get_template method needs to be able to distinguish between stdout and stderr, when I change Subplot to write warnings into stderr. Sponsored-by: author
2022-04-10Merge branch 'effective' into 'main'Daniel Silverstone1-8/+7
Some suggested copy-edits See merge request subplot/subplot!268
2022-04-09'should be' feels wrong here, 'are' seems a better fitXipmix1-1/+1
2022-04-09Comma to break sentence into contrasting optionsXipmix1-1/+1
2022-04-09Reword sentence after standing back and staring a bitXipmix1-2/+2
2022-04-09Break long sentenceXipmix1-1/+1
2022-04-09Reword opening sentence and tidy up related textXipmix1-4/+3
On a first reading, this sentence seemed circular to me. After many, many rereadings, the only way I could interpret it was as shown here. Since the second paragraph is now repeating the first, prune it and rearrange the line break in the second sentence.
2022-04-09Remove full stopXipmix1-1/+1
Unusual in headings and not done elsewhere in the document
2022-04-02Merge branch 'fix-262' into 'main'Lars Wirzenius8-8/+108
(subplotlib): Ensure that all ContextElement objects implement Debug Closes #262 See merge request subplot/subplot!266
2022-04-02Merge branch 'fix-280' into 'main'Lars Wirzenius4-42/+28
(subplotlib): Make scenario run output a little closer to Python runner Closes #280 See merge request subplot/subplot!265
2022-04-01(subplotlib): Make ScenarioContext implement DebugDaniel Silverstone1-0/+72
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-01(subplotlib): Ensure that all ContextElement objects implement DebugDaniel Silverstone8-8/+36
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-01(share): Update Rust template to pass in the step text to .build()Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-01(subplotlib-derive): Make the builder pass the step text in .build()Daniel Silverstone1-4/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-01(subplotlib): Make ScenarioStep hold a full step text rather than just a ↵Daniel Silverstone2-12/+14
function name Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-01(subplotlib): Make scenario run output a little closer to Python runnerDaniel Silverstone1-27/+13
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-29Merge branch 'liw/rustfmt' into 'main'Daniel Silverstone2-5/+16
docs: document need for rustfmt, have ./check look for it Closes #278 See merge request subplot/subplot!264
2022-03-29docs: document need for rustfmt, have ./check look for itLars Wirzenius2-5/+16
Sponsored-by: author
2022-03-26Merge branch 'fix-265' into 'main'Lars Wirzenius2-4/+6
Ensure tests pass with unusual timezones Closes #265 See merge request subplot/subplot!263
2022-03-26(check): Deliberately pick unpleasant TZ for testingDaniel Silverstone1-1/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-26(files.py): Be explicit about mtimes being UTCDaniel Silverstone1-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-26Merge branch 'liw/files' into 'main'Daniel Silverstone4-61/+103
add "file doesn't contain" step to lib/files Closes #266 See merge request subplot/subplot!261
2022-03-25feat: add "file doesn't contain" step to lib/files, Python and RustLars Wirzenius4-0/+32
Sponsored-by: author