summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-11-16Merge branch 'release' into 'main'0.3.1Daniel Silverstone7-19/+86
prepare release 0.3.1 Closes #247 See merge request subplot/subplot!232
2021-11-16docs: update NEWS.md for new releaseLars Wirzenius1-0/+23
Sponsored-by: author
2021-11-16chore: update debian/changelog for new releaseLars Wirzenius2-23/+13
Sponsored-by: author
2021-11-16chore: update Cargo.lockLars Wirzenius1-23/+40
The git-testament and git-testament-derive crates are held back at old versions, because new versions break the build for 1.48.0, breaking Subplot's MSRV. Sponsored-by: author
2021-11-16chore: update crate versionsLars Wirzenius2-2/+2
Sponsored-by: author
2021-11-16chore: add config for `cargo deny`Lars Wirzenius1-0/+31
This allows `cargo deny check` to finish cleanly. The configuration NEEDS to be improved: currently it silently allows things like vulnerable dependencies. However, let's introduce the configuration this way and tighten it up later. This will us at least get started with using `cargo deny` without landing a large amount of works in our laps at once. Sponsored-by: author
2021-11-16docs: add cargo audit and deny steps to release processLars Wirzenius1-0/+6
Sponsored-by: author
2021-11-16Merge branch 'fix-subplotlib-prepend-path' into 'main'Lars Wirzenius1-2/+8
subplotlib: Ensure that PATH changes are indeed prepended not appended. See merge request subplot/subplot!230
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-16Merge branch 'fix-pyflake8' into 'main'Daniel Silverstone3-3/+9
test: disable (some) flake8 formatting checks See merge request subplot/subplot!231
2021-11-15test: disable formatting check with blackLars Wirzenius1-1/+1
This is just stupid now. Test passes locally, fails in CI. Sponsored-by: author
2021-11-15refactor: format daemon.py using blackLars Wirzenius1-0/+1
Sponsored-by: author
2021-11-15test: disable (some) flake8 formatting checksLars Wirzenius2-2/+7
We format with black, and there's no point in flake8 checking things black takes care of. Sponsored-by: author
2021-11-11Merge branch 'mit-licence' into 'main'Daniel Silverstone6-32/+52
chore: change licence to MIT-0 Closes #229 See merge request subplot/subplot!229
2021-11-10chore: change licence to MIT-0Lars Wirzenius6-32/+52
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-28Merge branch 'simple-patterns' into 'main'Daniel Silverstone4-44/+22
refactor: use simple patterns where possible Closes #188 See merge request subplot/subplot!228
2021-10-28refactor: use simple patterns where possibleLars Wirzenius4-44/+22
Many of our bindings files were originally written before Subplot supported simple patterns, and so they use regex patterns even when a simple pattern would do. Simplify bindings to use simple patterns when possible, to make life easier for future maintainers. Sponsored-by: author
2021-10-28Merge branch 'drop-yaml-from-docs' into 'main'Daniel Silverstone4-13/+4
docs: drop useless doc metadata YAML blocks See merge request subplot/subplot!227
2021-10-27docs: drop useless doc metadata YAML blocksLars Wirzenius4-13/+4
In README, etc, they serve no function so better to not have them. Sponsored-by: author
2021-10-21Merge branch 'release-prep' into 'main'Daniel Silverstone5-46/+234
Prepare release 0.3.0 See merge request subplot/subplot!226
2021-10-21chore: update dependencies with cargo update --workspaceLars Wirzenius1-41/+109
Sponsored-by: author
2021-10-21chore: update version numbers for cratesLars Wirzenius2-2/+2
Sponsored-by: author
2021-10-21docs: update NEWS.md, debian/changelog for upcoming releaseLars Wirzenius2-3/+123
Sponsored-by: author
2021-10-17Merge branch 'bumper-fix' into 'main'Daniel Silverstone1-9/+15
fix: regex for extracting YAML from Markdown See merge request subplot/subplot!225
2021-10-17fix: regex for extracting YAML from MarkdownLars Wirzenius1-9/+15
The old regex had a wrong, and weird, pattern for lines of YAML. The new one is simpler and seems more correct: it matches lines not staring with a dot. Sponsored-by: author
2021-10-13Merge branch 'nix-support' into 'main'Lars Wirzenius14-77/+179
Support Nix-based and NixOS systems - plus fewer assumptions for Windows/MacOS See merge request subplot/subplot!220
2021-10-13DECISIONS: Record environment clear decisionDaniel Silverstone1-0/+12
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13examples: Fix up absolute paths on echo exampleDaniel Silverstone1-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13tests: Fix up use of absolute paths for false/true/echo etc.Daniel Silverstone4-53/+53
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13daemon: Support finding the binary on the PATHDaniel Silverstone1-1/+14
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-10-13templates: Inherit environment for the most partDaniel Silverstone2-17/+3
We inherit all the environment except we override a few variables in order to provide some level of consistency. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13check: Add support for newer pandoc without pandoc-citeprocDaniel Silverstone1-0/+9
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13direnv: Add basic flake and direnv setupDaniel Silverstone3-0/+78
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-13Merge branch 'build.rs-support' into 'main'Daniel Silverstone10-78/+220
feat: add crate subplot-build for using Subplot from build.rs See merge request subplot/subplot!223
2021-10-13docs: update release process to check dependencies within workspaceLars Wirzenius1-4/+7
Also add the new crate to `RELEASE.md` so it's not overlooked. Sponsored-by: pep.foundation
2021-10-13feat: add crate subplot-build for using Subplot from build.rsLars Wirzenius9-74/+213
Make it easy to generate test code from a subplot in another project's `build.rs` script. Move the code to load documents and generate test code from src/bin/subplot.rs and src/bin/cli/mod.rs to src/doc.rs so it can be used without using the subplot executable. Make the add_search_path function public so it can be used outside its module. The subplot executable arranged for the directory where the markdown input file resides to be added to the search path via another way. Sponsored-by: pep.foundation
2021-10-13Merge branch 'msrv-support' into 'main'Lars Wirzenius2-0/+19
MSRV: Add support for the MSRV in our CI See merge request subplot/subplot!224
2021-10-12MSRV: Add support for the MSRV in our CIDaniel Silverstone2-0/+19
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-12Merge branch 'fix-for-1.48.0' into 'main'Daniel Silverstone1-1/+3
fix(portability): avoid using str::split_once See merge request subplot/subplot!222
2021-10-12fix(portability): avoid using str::split_onceLars Wirzenius1-1/+3
Sequoia wants Rust 1.48.0 and split_once is not in that version. We can easily accommodate Sequoia's needs here with a simple change. Sponsored-by: author
2021-10-11Merge branch 'decision-log' into 'main'Daniel Silverstone1-0/+24
docs: start a decision log See merge request subplot/subplot!221
2021-10-11docs: start a decision logLars Wirzenius1-0/+24
Sponsored-by: author
2021-10-09Merge branch 'zero-scenario-fail' into 'main'Lars Wirzenius4-4/+45
Ensure codegen barfs on zero scenario documents Closes #236 See merge request subplot/subplot!219
2021-10-08reference: Update to a version which will work with modern scenario count checksDaniel Silverstone1-3/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-08codegen: Refuse to codegen if there are zero scenariosDaniel Silverstone2-1/+11
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-08subplot.md: Add a missing scenario in test inputDaniel Silverstone1-0/+31
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-10-05Merge branch 'python-kk' into 'main'Daniel Silverstone1-10/+24
feat: add --run-all (-k) option to Python test runner Closes #196 See merge request subplot/subplot!218
2021-09-25feat: add --run-all (-k) option to Python test runnerLars Wirzenius1-10/+24
This allows the user to run all scenarios even if one fails. Sponsored-by: author
2021-09-18Merge branch 'fix-216' into 'main'Lars Wirzenius3-126/+125
chore: cargo update Closes #216 See merge request subplot/subplot!217