summaryrefslogtreecommitdiff
path: root/subplot
AgeCommit message (Collapse)AuthorFilesLines
2024-01-13fix(subplot/jt.yaml): declare types for regex capturesLars Wirzenius1-0/+6
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
2022-04-20fix: mark type of captured name of embedded fileLars Wirzenius1-0/+2
Sponsored-by: author
2021-09-15test: support CARGO_TARGET_DIRLars Wirzenius1-1/+2
Cargo can put the target binaries in a user-chosen location. Support that by querying cargo for the location instead of assuming it. Sponsored-by: author
2021-09-15fix: add impl to the bindings file, for current SubplotLars Wirzenius1-21/+63
Sponsored-by: author
2021-08-24feat! rename binary from jt2 to jtLars Wirzenius1-1/+1
The software has now replaced all my use of the old Python version. Sponsored-by: author
2021-06-04build: add rudimentary .gitlab-ci.yml file to test GitLab CILars Wirzenius5-612/+10
This uses the Rust Docker image from Docker Hub, and installs Subplot and other tools into that, before it runs jt's ./check script. Installing all the tools takes a fair bit of time, as does building jt every time. These could and should be improved later. Sponsored-by: author
2021-04-29feat: make a journal a git repository and commit new entriesLars Wirzenius2-0/+16
2021-04-12feat: add "new-topic" command and "new --topic" optionLars Wirzenius2-0/+10
This makes it easier to have "topic pages" in a journal, for collecting entries related to a certain topic. The topic page uses ikiwiki's !inline directive to collect pages linking to it.
2021-04-03feat: allow setting name of directory where new entries goLars Wirzenius2-0/+9
Also, some refactoring that happened along the way.
2021-04-02feat! support multiple draftsLars Wirzenius2-6/+29
This changes the command line syntax: subcommands edit and finish now require the draft id. We can change this later so that if there is only one draft, the program picks that one automatically. Also, new entries are 0.md, 1.md, etc, which is not going to be acceptable for real use, but this works minimally.
2021-03-26feat! rewrite codeLars Wirzenius6-10/+289
This started out as a change to re-do the command line parsing. I ended up rewriting everything, and failed to do it in a way that could be rebased into a sensible series of small commits.
2020-11-16feat: add "jt edit" to edit a draft with a chosen editorLars Wirzenius2-2/+25
Also, add some debugging log statements that were needed while making this change.
2020-11-14chore: update vendored copy of runcmd.py from SubplotLars Wirzenius1-0/+9
We need a bug fix from there for passing in env to runcmd_run.
2020-10-20feat: create new draft, publish itLars Wirzenius2-0/+113
2020-10-09fix(subplot/jt.py): get global symbols via global()Lars Wirzenius1-0/+6
This is to make jt.py be lintable on its own. The symbols are available in the generated test program, when jt.py gets embedded within that, but linters don't know about that.
2020-10-09chore: update vendored copy of runcmd library from SubplotLars Wirzenius4-87/+323
Since the library interface has change, make relevant changes elsewhere.
2020-10-09refactor: move Subplot bindings, functions files to subplot/Lars Wirzenius4-0/+134
This makes the source tree a little cleaner, I find.