Casey Rodarmor
3739a92857
Support creating multi-file torrents
...
type: added
2020-04-07 19:01:04 -07:00
Casey Rodarmor
551617de4f
Don't overwrite destination torrent without --force
...
type: changed
2020-04-07 19:01:04 -07:00
Casey Rodarmor
df3326510c
Write torrent to stdout if -
is passed to --output
...
type: added
2020-04-07 19:01:03 -07:00
Casey Rodarmor
5a1de1acd2
Select piece length when none is provided
...
When no piece length is provided to imdl torrent create, a piece
length is selected based on the size of the input. The hueristic is
lifted directly from libtorrent.
Also adds a imdl torrent piece-length command, which prints a table
of the piece lengths chosen at different content sizes, which is useful
for understanding and debugging the piece length selection algorithm.
type: added
2020-04-07 19:01:03 -07:00
Casey Rodarmor
35a0e8f9b7
Improve torrent display formatting
...
- Use colors
- Use cut-friendly formatting when not writing to terminal
- Show sizes as number of bytes when not writing to terminal
type: changed
2020-04-07 19:01:03 -07:00
Casey Rodarmor
5c5dac1fe5
Add source to generated torrent with --source
...
Support adding a `source` key under the `info` dictionary. The `source`
key is commonly used to create distinct torrents for different trackers.
type: added
2020-04-07 19:01:03 -07:00
Casey Rodarmor
b9ca02fbaa
Show information about torrents after creation
...
type: changed
2020-04-07 19:01:03 -07:00
Casey Rodarmor
3971854eaa
Check for outdated dependencies before publishing
...
type: testing
2020-04-07 19:01:02 -07:00
Casey Rodarmor
99a069a021
Add imdl torrent show
...
The `imdl torrent show` command displays information about on-disk
torrent files. The formatting of the command's output is copied from
torf, an excellent command-line torrent creator, editor, and viewer.
type: added
2020-04-07 19:01:02 -07:00
Casey Rodarmor
6df45e0244
Restrict piece length
...
- Must be greater than zero
- Must be a power of two (but can override with `--allow uneven-piece-length`
- Must be greater than 16KiB (but can override with `--allow small-piece-length`
- Must be less than u32 max
type: changed
2020-04-07 19:01:02 -07:00
Casey Rodarmor
85f02d9f29
Add pyrocore to prior art section of readme
...
Pyrocore is an extensive suite of both general bittorrent and rtorrent
specific tools.
type: documentation
2020-04-07 19:01:02 -07:00
Casey Rodarmor
635692fdfa
Accept --piece-length
arguments with SI units
...
Valid units include MiB, KiB, and GiB.
type: changed
2020-04-07 19:01:02 -07:00
Casey Rodarmor
eb6556ae6a
Replace favicon with pixel art rainbow text version
...
type: documentation
2020-04-07 19:01:02 -07:00
Casey Rodarmor
5611f35968
Add favicon to github pages
...
type: documentation
2020-04-07 19:01:01 -07:00
Casey Rodarmor
3f91f042c7
Fix github pages table jitter
...
Use grid, since tables are old and janky.
type: documentation
2020-04-07 19:01:01 -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
460cf9ee0e
Disable bors
...
Nits with bors:
- Replaced my name with my username
- Doesn't show merge requests as merged
- Adds "merged by bors" to PRs
- Generates tons of spam
- Doesn't sign commits
- Creates tons of spam CI runs
type: development
2020-04-07 19:01:01 -07:00
Casey Rodarmor
2512b05ece
Fix Bors
...
type: development
2020-04-07 19:01:01 -07:00
Casey Rodarmor
e2c1f29160
Center symbols in BEP support table key in readme
...
type: documentation
2020-04-07 19:01:01 -07:00
Casey Rodarmor
48ca86c67c
Add Alternatives & Prior Art section to readme
...
type: documentation
2020-04-07 19:01:00 -07:00
Casey Rodarmor
ef5be39f9b
Update install instructions to new domain
...
Install script location is now https://imdl.io/install.sh
type: distribution
2020-04-07 19:01:00 -07:00
Casey Rodarmor
6461a00ba3
Test that wss://
trackers are accepted
...
type: testing
2020-04-07 19:01:00 -07:00
Casey Rodarmor
a6745e2a41
Configure Bors
...
Bors: I'll save you Meguca!
type: development
2020-04-07 19:01:00 -07:00
Casey Rodarmor
dc95bc53b2
Add github pages homepage
...
type: documentation
2020-04-07 19:01:00 -07:00
Casey Rodarmor
e2cf93efb0
Add install
script and installation section to readme
...
type: distribution
2020-04-07 19:00:59 -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
e8ab0e1c4f
Open torrents with imdl create --open ...
...
Invokes an OS-dependent opener to open the `.torrent` file after
creation.
type: added
2020-04-07 19:00:59 -07:00
Casey Rodarmor
495316e821
Add table of references to readme
...
type: documentation
2020-04-07 19:00:59 -07:00
Casey Rodarmor
a8446c82db
Test UDP tracker URLs parse
...
Also change UDP tracker protocol extensions from unsupported to N/A.
type: testing
2020-04-07 19:00:59 -07:00
Casey Rodarmor
0560181a09
Remove redundant information from the readme
...
The removed information was added to help messages, so it was redundant.
type: documentation
2020-04-07 19:00:59 -07:00
Casey Rodarmor
1a20f0d0b3
Link to tracking issues from BEP support table
...
type: documentation
2020-04-07 19:00:58 -07:00
Casey Rodarmor
ff3a30ae21
Add package script
...
type: distribution
2020-04-07 19:00:58 -07:00
Casey Rodarmor
cf59a58c67
Build and upload release artifacts from CI
...
type: distribution
2020-04-07 19:00:58 -07:00
Casey Rodarmor
70e0091ec0
Add help
messages to CLI flags and options
...
type: documentation
2020-04-07 19:00:58 -07:00
Casey Rodarmor
b83d8d7ef5
[torrent stats] Pretty print torrents if --print
is passed
...
type: added
2020-04-07 19:00:58 -07:00
Casey Rodarmor
7d5e68f194
Enable --help
text wrapping
...
type: changed
2020-04-07 19:00:58 -07:00
Casey Rodarmor
87e9b982b6
Sort Create
opt struct fields
...
Sort fields of torrent::Create.
type: reform
2020-04-07 19:00:51 -07:00
Casey Rodarmor
801a519265
BEP 3 is supported
...
type: documentation
2020-04-07 19:00:51 -07:00
Casey Rodarmor
1749fce2b2
Slighly improve readability of Hasher::hash_root
...
type: reform
2020-04-07 19:00:48 -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
d1f8f24d8e
Add colored output
...
Colored output can be controlled on the command line with
`--use-color auto|always|never`. The default is `auto`, which enables
color if `imdl` detects that it is printing to a terminal.
Color can be disabled entirely by setting the `NO_COLOR` environment
variable.
type: added
2020-04-07 19:00:47 -07:00
Casey Rodarmor
b334fa49b2
Redirect stdin and stdout and capture for tests
...
type: testing
2020-04-07 19:00:47 -07:00
Casey Rodarmor
fd06943726
Rename: Environment -> Env
...
type: reform
2020-04-07 19:00:44 -07:00
Casey Rodarmor
7420c91553
Rename bencode::Error::ExtraData -> TrailingData
...
type: reform
2020-04-07 19:00:40 -07:00
Casey Rodarmor
7de1c04776
Fail CI if code isn't formatted
...
type: testing
2020-04-07 19:00:40 -07:00
Casey Rodarmor
408735621e
Delete extraneous comment in workflow file
...
type: reform
2020-04-07 19:00:34 -07:00
Casey Rodarmor
074a3b3d42
Run CI tests on windows, macos, and linux
...
type: testing
2020-04-07 18:55: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