summaryrefslogtreecommitdiff
path: root/subplotlib
AgeCommit message (Collapse)AuthorFilesLines
2022-04-17(subplotlib): Update release versionDaniel Silverstone1-1/+1
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-15(chore): Update everything to 0.4.0Daniel Silverstone1-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-15(subplotlib): Remove dependency on chronoDaniel Silverstone2-4/+9
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-04-10feat! treat warnings as errors by defaultLars Wirzenius1-0/+1
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-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-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(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-25feat: add "file doesn't contain" step to lib/files, Python and RustLars Wirzenius1-0/+15
Sponsored-by: author
2022-03-19(subplotlib): Make runcmd report about executed processesDaniel Silverstone1-4/+24
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-06(tests): Clear warnings about unused context variablesDaniel Silverstone2-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-03-06(subplotlib): Fix places where we weren't processing ResultsDaniel Silverstone3-5/+5
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-02-26(subplotlib): Add a test for PATH prepending in RuncmdDaniel Silverstone1-23/+75
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-02-26(subplotlib): Add some doctestsDaniel Silverstone4-0/+58
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-02-26(subplotlib): Improve step library documentationDaniel Silverstone3-0/+296
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-01-01tests: Make runcmd.md a common test set nowDaniel Silverstone1-187/+0
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-01-01tests: Move files.md to be common between Python and subplotlibDaniel Silverstone2-102/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-01-01subplotlib: Run subplot.md in Rust tooDaniel Silverstone4-3/+227
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-12-27subplotlib: Add some scenario running output to make it easier to work out ↵Daniel Silverstone1-1/+27
what broke Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-12-27runcmd: Add stdout/stderr accessorsDaniel Silverstone1-0/+15
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-12-27datadir: Add open_read() method to Datadir contextDaniel Silverstone1-0/+11
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-12-11chore: tidy up minor issues found by clippyLars Wirzenius2-16/+2
Sponsored-by: author
2021-11-27refactor: use build.rs for testing subplotlib subplotsLars Wirzenius5-1248/+38
A bit of dog-fooding: use subplot-build to test subplotlib. Add a subplotlib/build.rs script to generate test code in Rust for the subplotlib/*.md subplots. The generated code is included in tests/*.rs, and run with "cargo test". Drop the same functionality from the ./check script.. Sponsored-by: author
2021-11-19subplots: Upgrade metadata for polyglot docsDaniel Silverstone3-6/+8
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-11-17chore: bump subplotlib version numberLars Wirzenius1-1/+1
This was missed in yesterday's release. My fault. Sponsored-by: author
2021-11-16subplotlib: Ensure that PATH changes are indeed prepended not appended.Daniel Silverstone1-2/+8
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-11-10chore: change licence to MIT-0Lars Wirzenius1-1/+1
We've decided to simplify the Subplot licensing situation by changing the licence to MIT-0 from the GPL. See https://gitlab.com/subplot/subplot/-/issues/229 for agreements from everyone involved. Sponsored-by: author
2021-10-13tests: Fix up use of absolute paths for false/true/echo etc.Daniel Silverstone2-32/+32
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13subplotlib: Do not override environment entirelyDaniel Silverstone1-3/+7
As per the Python template, do not override the full environment Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-09-18subplotlib: Upgrade to state 0.5Daniel Silverstone2-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-09-16fix: YAML end-markerLars Wirzenius2-2/+2
Sponsored-by: pep.foundation
2021-09-07bindings: Parse polyglot bindingsDaniel Silverstone1-7/+19
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-12chore: update Cargo.tomls for releaseDaniel Silverstone1-2/+11
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-28subplotlib: Add some basic docs to a bit of the files steplibraryDaniel Silverstone1-0/+20
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-28subplotlib: ScenarioStep::register_contexts should be pub(crate)Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-28chore: Fix --- to ... in subplotlib.mdDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-28subplotlib: Document more of the preludeDaniel Silverstone1-4/+122
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-22subplotlib: Fix broken link in ContextElement::step_stopsDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-22subplotlib: Do not document lazy_static in preludeDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-22subplotlib: Fix doctests in file moduleDaniel Silverstone1-0/+4
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-19subplotlib: chore: Regenerate runcmd.rs test fileDaniel Silverstone1-0/+96
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-19subplotlib: Update runcmd.md test to use new bindingsDaniel Silverstone1-0/+20
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-05-19subplotlib: Add running in a subdir to runcmdDaniel Silverstone1-1/+22
This adds the bindings and step implementations for running commands in a directory off the datadir. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-02-27subplotlib/tests: Format files.rsDaniel Silverstone1-308/+199
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-02-27subplotlib: path_exists - check path is a directoryDaniel Silverstone1-1/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-02-18refactor: rewrite check in Python as check.pyLars Wirzenius1-199/+308
The old shell script became too hard to understand and maintain. This should be clearer and also more robust.
2021-02-07subplotlib: test the new directory stepsDaniel Silverstone2-0/+165
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-02-07subplotlib: Add directory steps to files libraryDaniel Silverstone1-0/+61
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>