Commit graph

51 commits

Author SHA1 Message Date
Casey Rodarmor dcd421efdd
Update forbid script (#542) 2024-09-03 18:18:03 -07:00
Casey Rodarmor 7a0a5f1533
Release 0.1.14 (#541)
- Bump version: 0.1.13 → 0.1.14
- Update changelog
- Update changelog contributor credits
2024-09-03 17:56:39 -07:00
Casey Rodarmor 22d3dd1525
Build releases for more targets (#540) 2024-09-03 17:22:57 -07:00
Nuno e2a4815060
Add dockerfile (#533) 2024-05-17 04:47:47 +00:00
Casey Rodarmor 7800a9c521
Add command to dump bencode (#530) 2024-01-05 19:27:27 -08:00
Casey Rodarmor 452486a782
Placate clippy
type: reform
2021-05-02 22:00:43 -07:00
Casey Rodarmor a7e0995c7d
Replace deprecated add path command
Also consolidate cache steps

type: development
2020-11-20 23:39:40 -08:00
Casey Rodarmor 1e4d224dcb
Fix publish recipe
Previously, the release branch would be merged after pushing a tag to
github. This would cause the merge to fail, because github would kick
off a CI run after pushing the tag, and block the merge because it
wasn't finished.

This changes the publish recipe to merge before pushing the tag, which
aboves the above problem.

type: development
2020-10-02 20:25:28 -07:00
Casey Rodarmor 5951139fdf
Release v0.1.9
- Bump version: 0.1.8 → 0.1.9
- Update dependencies
- Publish to cargo as last step in publish recipe

type: release
2020-06-23 22:04:53 -07:00
Casey Rodarmor 9dea195694
Release v0.1.8
- Bump version: 0.1.7 → 0.1.8
- Update dependencies

type: release
2020-05-26 14:04:15 -07:00
Casey Rodarmor e7872f56f2
Move all output from bin/gen to target/gen
To make it clearer what is and isn't generated content, make gen place
all generated output in `target/gen`.

Also, try to make the readme clearer about the location of build
artifacts.

type: development
2020-05-01 00:29:40 -07:00
Casey Rodarmor f8711a79a3
Improve the done and merge recipes
- Rebase master branch without checking it out
- Don't check for no changes, since we're using `-d`, which will fail on
  an unmerge branch.
- Make merge take an argument, so it can be used with something other
  than the current branch.

type: development
2020-04-23 17:05:41 -07:00
Casey Rodarmor 1380290eb8
Make publish-check recipe stricter
Check that version appears at the beginning of the line, in a link.

type: development
2020-04-20 00:10:56 -07:00
Casey Rodarmor 04338e3501
Merge documentation and changelog generation
Merge documentation generation into a single binary, `bin/gen`. This
includes: The changelog, man pages, the readme, and the book.

type: reform
2020-04-17 21:31:54 -07:00
Casey Rodarmor ddf097c836
Fix publish recipe
The current publish recipe has a race condition, where pushing a release
tag will trigger a new GitHub Actions, build, causing the push to master
to fail, because the status checks are still in progress.

Finish with `just merge` instead of `just done`, which will wait on the
status checks to finish again.

type: development
pr: https://github.com/casey/intermodal/pull/368
2020-04-11 04:46:18 -07:00
Casey Rodarmor e54bdeb95d
Remove use of unreachable in favor of internal errors
type: reform
pr: https://github.com/casey/intermodal/pull/351
fixes:
- https://github.com/casey/intermodal/issues/188
2020-04-09 20:07:43 -07:00
Casey Rodarmor 52b78b90f6
Improve badges
- Make discord badge purple
- Add book badge
- Give crate badge rust logo

type: documentation
pr: https://github.com/casey/intermodal/pull/350
2020-04-09 18:36:26 -07:00
Casey Rodarmor 8e6a2b0034
Release v0.1.3
- Bump version: 0.1.2 -> 0.1.3
- Update changelog
- Update book
- Add `update` recipe

type: release
2020-04-09 17:30:04 -07:00
Casey Rodarmor 268c62b66d
Add bin/man command for generating man pages
Generates man pages and book entries for all subcommands, and keeps the
commands index in the book up to date.

There is much cursed roff munging in this diff.

type: documentation
2020-04-09 15:23:12 -07:00
Casey Rodarmor 4f8b6a212e
Improve demo GIF
- Tweak timing
- Increase scale to 4x
- Use local copy of asciicast2gif avoid missing characters

type: documentation
2020-04-08 04:26:37 -07:00
Casey Rodarmor 685883f026
Release v0.1.2
- Bump version: v0.1.2 -> v0.2.3
- Update man page
- Update changelog
- Update release recipe

type: release
2020-04-07 23:58:20 -07:00
Casey Rodarmor 03a9935164
Skip fixup commits in changelog
This change Makes the changelog generator ignore fixup commits.

`git commit --fixup` can be used to mark that a commit should be
squashed before merging, which can be done automatically with
`git rebase --autosquash`. Fixup commits have a summary that starts with
`fixup!`

type: development
2020-04-07 23:41:06 -07:00
Casey Rodarmor db2a2ac4f5
Refactor demo recipe in justfile into multiple recipes
type: development
2020-04-07 22:06:44 -07:00
Casey Rodarmor 92748f9fd4
Make changelog generator strict
Make the changelog generator fail if commits don't contain metadata.

type: changed
pr: https://github.com/casey/intermodal/pull/341
2020-04-07 20:33:04 -07:00
Casey Rodarmor 796024bec9
Split automerge functionality into merge recipe
type: development
2020-04-07 19:01:42 -07:00
Casey Rodarmor 4c90bc41c3
Rewrite pr recipe to merge when CI passes
type: development
2020-04-07 19:01:42 -07:00
Casey Rodarmor b16da8da5a
Rewrite done recipe for new merge workflow
The new sign-preserving merge workflow is to just
wait until commits pass CI, and then push directly
to master on GitHub.

type: development
2020-04-07 19:01:42 -07:00
Casey Rodarmor f17527e58e
Use single-quoted strings in justfile
type: reform
2020-04-07 19:01:38 -07:00
Casey Rodarmor 57e482f4b3
Record demo for readme
Uses a crate in `bin/demo` to output a demo script of commands, with a
per-character and per-line delay, and a dummy prompt. Capture output
and render to a gif.

type: documentation
2020-04-07 19:01:38 -07:00
Casey Rodarmor a5e1273187
Update man page with new version number
type: documentation
2020-04-07 19:01:38 -07:00
Casey Rodarmor 3131b0d56c
Generate man page with from --help with help2man
type: documentation
2020-04-07 19:01:37 -07:00
Casey Rodarmor 8c30205b02
Add shell completion scripts
Shell completion scripts can be generated for `bash`, `elvish`, `fish`,
`powershell`, and `zsh` with the `completions` subcommand:

    $ imdl completions --shell zsh > imdl.zsh

The same scripts are available in the `completions` directory. Please
refer to your shell's documentation for more information on how to
install and use completion scripts.

type: added
2020-04-07 19:01:37 -07:00
Casey Rodarmor 328a3adeaf
Release v0.1.0
- Bump version: `0.0.3` -> `0.1.0`
- Update changelog
- Update dependencies
- Publish to crates.io as last step in publish recipe

type: release
2020-04-07 19:01:33 -07:00
Casey Rodarmor 687a863b45
Add cargo install cargo-watch to dev-deps recipe
type: development
2020-04-07 19:01:32 -07:00
Casey Rodarmor 151d912156
Deny warnings in GitHub Actions main workflow build
type: testing
2020-04-07 19:01:30 -07:00
Casey Rodarmor e91b419af5
Improve book
- Write introduction
- Move large readme sections into book
- Rename docs to www

type: documentation
2020-04-07 19:01:30 -07:00
Casey Rodarmor 7e3a53ce52
Make just done default to current branch
type: development
2020-04-07 19:01:28 -07:00
Casey Rodarmor 901fa150ff
Indicate BEP 9 support in readme
type: documentation
2020-04-07 19:01:28 -07:00
Casey Rodarmor 57a358e458
Allow creating magnet links with imdl torrent link
Magnet links can now be created from a metainfo file with:

    imdl torrent link --input METAINFO

type: added
2020-04-07 19:01:27 -07:00
Casey Rodarmor 2415d88d92
Add empty book
The book should eventually contain all documentation that isn't suitable
for the readme or help text.

For now it's empty, but it seemed useful to add the scaffolding, so
adding to it is low friction.

type: documentation
2020-04-07 19:01:15 -07:00
Casey Rodarmor f2a5f13729
Format with unstable rustfmt options
- Format with nightly rustfmt
- Enable unstable options in rustfmt.toml
- Turn off git text file detection, so newlines are always unix newlines

type: reform
2020-04-07 19:01:07 -07:00
Casey Rodarmor 6549850dac
Add initial implementation of imdl torrent verify
Adds the command `imdl` torrent verify` to verify the contents of torrents.

This implementation is extremely naive. It does successfully verify torrents,
but it will produce unsatisfying results when a torrent fails verification. In
particular, it won't give any information about which pieces in a file were
corrupt.

type: added
2020-04-07 19:01:05 -07:00
Casey Rodarmor f7e9e80f97
Show files in single-file mode
Since it may be useful for scripting purposes, show file list, even for
single-file torrents.

type: changed
2020-04-07 19:01:04 -07:00
Casey Rodarmor 3971854eaa
Check for outdated dependencies before publishing
type: testing
2020-04-07 19:01:02 -07:00
Casey Rodarmor 9ff627c29f
Make homepage A E S T H E T I C
type: documentation
2020-04-07 19:01:01 -07:00
Casey Rodarmor 9dd8a56298
Release v0.0.1
- Add changelog
- Update publish-check recipe to match github actions
- Add publish recipe
- Update dependencies
- Add minimimal-deps compatibility check

type: release
2020-04-07 19:00:59 -07:00
Casey Rodarmor 1f5b829742
Add table of contents to readme
type: documentation
2020-04-07 19:00:48 -07:00
Casey Rodarmor 66d44155f0
Add BEP support table to readme
Also adds `bin/bin/generate-bep-table.rs`, which generates and updates
the table from a collection of BEPs.

type: documentation
2020-04-07 19:00:48 -07:00
Casey Rodarmor 9f83661374
Configure clippy and lint on push
Enable as many lints as I can stand. I'll definitely add more exceptions as
`clippy::pedantic` and `clippy::restriction` wear me down.

type: testing
2020-04-07 18:55:45 -07:00
Casey Rodarmor 7f630a1bd9
Add done recipe to justfile
Safely delete a merged feature branch:

1. Check out `master`
2. Check that there are no pending changes
3. Rebase onto latest github master
4. Check that there are no changes relative to feature branch
5. Delete feature branch

type: development
2020-04-07 18:55:40 -07:00