summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-08-07Merge branch 'release' into 'main'0.2.2Daniel Silverstone5-25/+85
prepare release 0.2.2 See merge request subplot/subplot!200
2021-08-07chore: update debian/changelog for new releaseLars Wirzenius1-0/+6
Sponsored-by: author
2021-08-07chore: tell shellcheck it's OKLars Wirzenius1-0/+1
Newer version of shellcheck complains about expanding an unused variable, but since the code is actually only a snippet that will be embedded in the generated output, this is OK. Sponsored-by: author
2021-08-07chore: update crate version number and dependencies, for releaseLars Wirzenius2-25/+32
Update git-testament to depend on current version.
2021-08-07docs: update NEWS.md for new releaseLars Wirzenius1-0/+46
Sponsored-by: author
2021-08-07Merge branch 'main' into 'main'Lars Wirzenius1-4/+16
bash template: Provice captures to cleanups See merge request subplot/subplot!198
2021-08-07Merge branch 'bash-assert' into 'main'Lars Wirzenius1-2/+2
bash: Fix asserts preventing cleanup See merge request subplot/subplot!199
2021-08-06bash: Fix asserts preventing cleanupRichard Maw1-2/+2
2021-08-06bash template: Provide captures to cleanupsRichard Maw1-4/+16
2021-08-06Merge branch 'main' into 'main'Lars Wirzenius1-1/+1
fix: Remove double newline from bash envnames See merge request subplot/subplot!197
2021-08-06fix: Remove double newline from bash envnamesRichard Maw1-1/+1
This doesn't materially change behaviour because words split the same but it's unintentional and against the described behaviour.
2021-08-06Merge branch 'main' into 'main'Lars Wirzenius2-4/+44
fix bash files read and add `--env` option See merge request subplot/subplot!196
2021-08-05bash: Support --env option in generated scriptsRichard Maw1-0/+39
2021-08-05fix: Make bash envnames pure shell againRichard Maw1-1/+1
This should hopefully avoid the previous version's pitfalls by processing the environment line entirely in sed.
2021-08-05fix: bash files implementations inability to readRichard Maw1-3/+4
The template unpacks the embedded files into the datadir before the scendir is created and chdir'd into. Since dict_* assume that the files you want to read are in the current directory this makes them unreadable. Making them operate relative to datadir seemed like the least complicated solution, compared to copying them in or some kind of search path.
2021-08-01Merge branch 'acceptance-what' into 'main'Daniel Silverstone1-0/+44
docs: explain concepts, suggest a workflow Closes #211 See merge request subplot/subplot!195
2021-08-01Merge branch 'release-automatable' into 'main'Daniel Silverstone1-33/+57
docs: update release process: more explicit Closes #208 See merge request subplot/subplot!193
2021-07-31docs: update release process: more explicitLars Wirzenius1-33/+57
Also, split off steps that can be scripted later. Sponsored-by: author
2021-07-31docs: explain concepts, suggest a workflowLars Wirzenius1-0/+44
Sponsored-by: author
2021-07-31Merge branch 'ci-timestampps' into 'main'Daniel Silverstone1-0/+15
test: sleep for a second before running docgen Closes #206 See merge request subplot/subplot!194
2021-07-31test: sleep for a second before running docgenLars Wirzenius1-0/+15
Sponsored-by: author
2021-07-31Merge branch 'feature/daemon-env' into 'main'Lars Wirzenius3-6/+129
feat(lib/daemon.py): add way to specify env vars See merge request subplot/subplot!190
2021-07-30Fix flake8 warningsAlexander Batischev1-0/+3
2021-07-29feat(lib/daemon.py): add way to specify env varsAlexander Batischev3-6/+126
2021-07-28Merge branch 'all-bindings' into 'main'Daniel Silverstone5-23/+77
feat: when more than one bindings match a step, list all of them Closes #120 See merge request subplot/subplot!188
2021-07-28Merge branch 'merged' into 'main'Daniel Silverstone3-18/+40
Fix daemon.py tests' dependence on netcat See merge request subplot/subplot!192
2021-07-28fix: use socket/bind/listen for compa with Python < 3.8Lars Wirzenius1-1/+4
Sponsored-by: author
2021-07-28test: log stderr when asserting that daemon didn't fail to startLars Wirzenius1-0/+5
Sponsored-by: author
2021-07-28test: log _daemon namespace for debugging CILars Wirzenius1-0/+1
2021-07-27Fix daemon.py tests' dependence on netcatAlexander Batischev3-18/+31
This commit fixes two intertwined problems: 1) with traditional netcat, `netcat -l 8888` treats "8888" as a host, and never starts listening on port 8888. This is fixed by replacing netcat with a Python script (as suggested by Lars Wirzenius); 2) Subplot's test suite never notices the above problem because, even though it fails to connect to the port, this error is intentionally swallowed by `_daemon_start_soonish()`. This is fixed by adding an explicit check to ensure that the daemon started after all. Furthermore, the scenario description is reworded to make it clear that we *do* expect the daemon to start, it'll just take a while.
2021-07-20feat: when more than one bindings match a step, list all of themLars Wirzenius5-23/+77
Sponsored-by: author
2021-07-16Merge branch 'main' into 'main'Lars Wirzenius1-8/+8
Mostly just fixing typos See merge request subplot/subplot!187
2021-07-13Fix implemented typoRichard Maw1-1/+1
2021-07-12Fix html typoRichard Maw1-1/+1
I'm assuming this was accidental since the intended error is a missing input file.
2021-07-12Fix typo of officiallyRichard Maw1-1/+1
Could've gone either way to official or officially but I guessed probably meant to be officially, since "official stamped" implies separate attributes which would otherwise be comma or and separated while "officially stamped" is a compound attribute.
2021-07-12Fix typo in precond_fooRichard Maw1-2/+2
I'm assuming these were meant to be _done rather than _none since later functions use _done and the names are close together.
2021-07-12Fix typoRichard Maw1-1/+1
2021-07-12Make it a little more obvious file helpers return contentsRichard Maw1-2/+2
While reading through the lack of examples left it not obvious whether the embedded file helpers returned a path to a resource or temporary file, or the contents of the file itself.
2021-07-11Merge branch 'release' into 'main'0.2.1Daniel Silverstone4-38/+64
release: Subplot version 0.2.1 Closes #204 See merge request subplot/subplot!186
2021-07-11release: Subplot version 0.2.1Lars Wirzenius4-38/+64
Sponsored-by: author
2021-07-09Merge branch 'fix' into 'main'Daniel Silverstone2-10/+10
chore: make f-strings without placeholders into normal strings See merge request subplot/subplot!185
2021-07-08chore: make f-strings without placeholders into normal stringsLars Wirzenius2-10/+10
This has no functional effect, but makes linters happy. It is also arguably the right thing to do. Sponsored-by: author
2021-06-19Merge branch 'plantuml-flexibility' into 'main'Lars Wirzenius4-10/+92
Add flexibility in dot, java, and plantuml.jar locations See merge request subplot/subplot!184
2021-06-19plantuml: Pass dot path into plantumlDaniel Silverstone1-0/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-19build: Support dot/plantuml.jar paths via build environment variablesDaniel Silverstone2-3/+35
This also adds Java binary path override Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-19cli: Add flexibility in dot and plantuml locationsDaniel Silverstone3-9/+57
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-19Merge branch 'fix-201' into 'main'Lars Wirzenius1-1/+2
tests: Move bindings microbenchmark to an integration test Closes #201 See merge request subplot/subplot!182
2021-06-19Merge branch 'fix-203' into 'main'Lars Wirzenius1-2/+39
build.rs: Add some documentation to reduce confusion in newcomers Closes #203 See merge request subplot/subplot!183
2021-06-18build.rs: Add some documentation to reduce confusion in newcomersDaniel Silverstone1-2/+39
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-06-18tests: Move bindings microbenchmark to an integration testDaniel Silverstone1-1/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>