Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A ton of new features + huge refactor #37

Merged
merged 38 commits into from
Nov 27, 2023
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a124dda
Move TorrentState to a folder
ikatson Nov 23, 2023
7cd6102
Move TorrentState to a torrent_state/live
ikatson Nov 23, 2023
edaf3e0
split up librqbit torrent state into smaller files
ikatson Nov 23, 2023
84766f9
cargo fix
ikatson Nov 23, 2023
f45a15c
Downgrade visibility within librqbit
ikatson Nov 23, 2023
cc1ef9d
Create ManagedTorrent struct
ikatson Nov 23, 2023
739666f
HUGE REFACTOR to suppor multiple states. Incomplete, broken
ikatson Nov 24, 2023
d8538af
[2/n] HUGE REFACTOR to suppor multiple states. Incomplete, broken
ikatson Nov 24, 2023
0aa1af7
saving
ikatson Nov 24, 2023
5e728fc
saving
ikatson Nov 24, 2023
afbf2a7
Should be working ok now
ikatson Nov 24, 2023
0c4844f
1/n Add pause/start actions
ikatson Nov 24, 2023
b79a211
2/n Add pause/start actions
ikatson Nov 24, 2023
876afbf
Initialization progress reporting
ikatson Nov 24, 2023
66d2f22
Switch UI to display statuses better
ikatson Nov 24, 2023
c2dd367
UI supporting multiple states
ikatson Nov 24, 2023
0b8580d
Torrent actions UI fully working (backend not yet)
ikatson Nov 24, 2023
d7a37c1
Saving
ikatson Nov 24, 2023
4927850
Fixed a bug when unpausing torrents
ikatson Nov 24, 2023
f789be2
Deleting and forgetting torrents
ikatson Nov 24, 2023
73e41ba
fix js delete torrent bug
ikatson Nov 24, 2023
17b2439
Continuing refactor
ikatson Nov 25, 2023
fa97ded
Seems alright now
ikatson Nov 25, 2023
79bd41a
Can now reload RUST_LOG at runtime from HTTP API
ikatson Nov 25, 2023
e467787
Force stats refresh works better now on pause/unpause
ikatson Nov 25, 2023
bec5e1b
Session persistence
ikatson Nov 25, 2023
1bea1f9
Better API for stats printing
ikatson Nov 25, 2023
1c53aeb
Fix a couple bugs
ikatson Nov 25, 2023
051a231
Fixing UI
ikatson Nov 25, 2023
6f113c5
Fatal error handling
ikatson Nov 25, 2023
d8fdb94
DHT instrumentation
ikatson Nov 25, 2023
e3a3f71
Nothing
ikatson Nov 25, 2023
3de67d0
Can now try to unpause errored torrent
ikatson Nov 25, 2023
c6b4e78
Nothing much
ikatson Nov 25, 2023
7292522
Session: add all at once
ikatson Nov 26, 2023
f33346a
Add armv7 build
ikatson Nov 26, 2023
1110eb8
Create folders for session persistence
ikatson Nov 27, 2023
2e24925
Update web UI version
ikatson Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[target.arm-unknown-linux-gnueabihf]
rustflags = ["-l", "atomic"]
rustflags = ["-l", "atomic"]

[target.armv7-unknown-linux-gnueabihf]
# Workaround for: https://github.com/rust-lang/compiler-builtins/issues/420
rustflags = ["-C", "link-arg=-Wl,--allow-multiple-definition"]
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ jobs:
- name: install linux cross compiler
run:
brew tap messense/macos-cross-toolchains &&
brew install x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu arm-unknown-linux-gnueabihf
brew install x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu arm-unknown-linux-gnueabihf armv7-unknown-linux-gnueabihf

- name: Make a directory for output artifacts
run:
@@ -41,12 +41,18 @@ jobs:
make release-linux-x86_64 &&
mv target/x86_64-unknown-linux-gnu/release-github/rqbit target/artifacts/rqbit-linux-static-x86_64

- name: Build release linux arm32bit binary
- name: Build release linux armv6 binary
run:
rustup target install arm-unknown-linux-gnueabihf &&
make release-linux-armv6 &&
mv target/arm-unknown-linux-gnueabihf/release-github/rqbit target/artifacts/rqbit-linux-static-arm32

- name: Build release linux armv7 binary
run:
rustup target install armv7-unknown-linux-gnueabihf &&
make release-linux-armv7 &&
mv target/armv7-unknown-linux-gnueabihf/release-github/rqbit target/artifacts/rqbit-linux-static-arm32

- name: Build release linux aarch64 binary
run:
rustup target install aarch64-unknown-linux-gnu &&
Loading