Age | Commit message (Collapse) | Author | Files | Lines |
|
prepare release 0.3.1
Closes #247
See merge request subplot/subplot!232
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
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
|
|
Sponsored-by: author
|
|
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
|
|
Sponsored-by: author
|
|
subplotlib: Ensure that PATH changes are indeed prepended not appended.
See merge request subplot/subplot!230
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
test: disable (some) flake8 formatting checks
See merge request subplot/subplot!231
|
|
This is just stupid now. Test passes locally, fails in CI.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
We format with black, and there's no point in flake8 checking things
black takes care of.
Sponsored-by: author
|
|
chore: change licence to MIT-0
Closes #229
See merge request subplot/subplot!229
|
|
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
|
|
refactor: use simple patterns where possible
Closes #188
See merge request subplot/subplot!228
|
|
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
|
|
docs: drop useless doc metadata YAML blocks
See merge request subplot/subplot!227
|
|
In README, etc, they serve no function so better to not have them.
Sponsored-by: author
|
|
Prepare release 0.3.0
See merge request subplot/subplot!226
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
fix: regex for extracting YAML from Markdown
See merge request subplot/subplot!225
|
|
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
|
|
Support Nix-based and NixOS systems - plus fewer assumptions for Windows/MacOS
See merge request subplot/subplot!220
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
As per the Python template, do not override the full environment
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
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>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
feat: add crate subplot-build for using Subplot from build.rs
See merge request subplot/subplot!223
|
|
Also add the new crate to `RELEASE.md` so it's not overlooked.
Sponsored-by: pep.foundation
|
|
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
|
|
MSRV: Add support for the MSRV in our CI
See merge request subplot/subplot!224
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
fix(portability): avoid using str::split_once
See merge request subplot/subplot!222
|
|
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
|
|
docs: start a decision log
See merge request subplot/subplot!221
|
|
Sponsored-by: author
|
|
Ensure codegen barfs on zero scenario documents
Closes #236
See merge request subplot/subplot!219
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
feat: add --run-all (-k) option to Python test runner
Closes #196
See merge request subplot/subplot!218
|
|
This allows the user to run all scenarios even if one fails.
Sponsored-by: author
|
|
chore: cargo update
Closes #216
See merge request subplot/subplot!217
|