81 Commits

Author SHA1 Message Date
epiphany
45eab30b47 fud: add error message to ResourceStatus::Incomplete 2026-01-08 17:30:30 +00:00
epiphany
1f8445bbf4 fud: update default ports, move management rpc methods to another rpc server 2026-01-06 20:04:21 +00:00
epiphany
8f40ba9b77 fu: add file selection to list_resources() 2026-01-01 20:20:26 +00:00
x
9785777642 chore: Update copyright license year
Happy 2026!
2026-01-01 11:40:45 +00:00
x
add9bb596c chore: Update crate dependencies 2025-12-25 12:22:56 +00:00
epiphany
c6f3ead63e fu: handle events with no info field 2025-12-04 12:06:40 +00:00
x
aa537b9e4b chore: Update crate dependencies 2025-11-24 12:12:14 +02:00
epiphany
ee35e6e879 fu: chore fmt 2025-11-11 15:11:57 +00:00
epiphany
b20b997cfc fu: chore clippy 2025-11-11 14:58:55 +00:00
epiphany
097e43afed fu: add lookup command, rename list-buckets and list-seeders to buckets and seeders 2025-11-11 14:16:10 +00:00
oars
83fe73480b bin/fud/fu: change logging function and use ColorChoice from termcolor 2025-11-07 10:15:36 +03:00
oars
d85cf80dbf replace log imports with tracing everywhere 2025-11-07 10:15:36 +03:00
oars
ac0365cc60 Cargo.toml, Cargo.lock: change dependencies used for logging
- replace log crate with tracing,
- replace simple-log crate with tracing-subscriber and tracing-appender
- add nu-ansi-term crate as a dependency which is itself tracing-subscriber's dependency,
  inorder to write colored outputs to the terminal since we override formatting provided
  by tracing-subscriber
2025-11-07 10:15:36 +03:00
epiphany
204216a3df fu: subscribe in put(), improve outputs 2025-08-27 19:36:11 +02:00
epiphany
c8ca15fc54 fu: handle downloaded bytes, download speed, eta 2025-07-30 17:10:30 +02:00
epiphany
c5c5a5400a fu: rename put argument from file to path 2025-07-17 10:06:01 +03:00
epiphany
ba84e53254 fud, fu, geode: allow downloading a subset of files from a directory
This also introduces "scraps" in the sled database, which are chunks that contains both data the user wants and data the user does not want. Those chunks happen because files (in fud directories) are not aligned with chunks, so they can contain the data of multiple files.

After you download a chunk, fud checks that all bytes of it was written to the filesystem, if not that chunk will be saved as a scrap in sled. It's useful for a few things:

1. You don't download that chunk again later
2. You can still verify integrity, even if you did not write the full chunk into your downloaded files
3. You can seed that chunk (once partial seeding is implemented, which is currently not the case)

They are automatically removed from sled once they are not needed anymore (the fud resource is removed, or the chunk was rewritten to the filesystem, and this time it was fully written).

Those scraps are a concept in fud, not in geode.
2025-07-17 10:06:01 +03:00
skoupidi
0f82f2fb4f fud: chore clippy 2025-06-28 17:16:03 +03:00
epiphany
f1d7783d99 fu: handle ResourceUpdated event and Verifying status 2025-06-27 18:47:45 +02:00
epiphany
513bf571e4 fu: add resource type, use new fud events, improve get output 2025-06-14 10:24:44 +02:00
epiphany
432828c006 fu: add ls and verify commands, and update other commands to match fud events 2025-05-18 19:17:53 +02:00
parazyd
e002530bb2 chore: Update packages to v0.5.0 2025-05-09 11:32:44 +02:00
epiphany
56196896d2 fu: add status to fu get and use separate rpc clients for get and subscribe requests 2025-04-20 16:37:18 +02:00
parazyd
c040d9c00f chore: Update crate dependencies 2025-04-15 10:49:43 +02:00
skoupidi
550b857227 chore: replaced remaining nightly references 2025-04-15 04:17:13 +03:00
epiphany
b8331f71b9 fud, fu: handle auto ipv6 external addr, improve fu get, improve fu watch 2025-04-11 16:03:17 +00:00
darkfi
ff112dd6c2 fud: add resource.rs, add fu watch, add fu rm, merge announcing task and pruning task 2025-04-11 16:03:17 +00:00
darkfi
8244870639 fud, fu: subscribe rpc method, add FudEvent::DownloadStarted and FudEvent::DownloadError, get improvements 2025-04-11 16:03:17 +00:00
darkfi
f630e1cd7c fud: remove chunk seeders, change file hash, replace hex with bs58 2025-04-11 16:03:17 +00:00
darkfi
aae5651501 fud, fu: autoseed, get rpc subscriber, progress bar, bug fixes 2025-04-11 16:03:17 +00:00
darkfi
058faffa75 fud: add dht lookups & improvements 2025-04-11 16:03:17 +00:00
darkfi
e219954da2 fud, fu, geode: fixes & improvements 2025-04-11 16:03:17 +00:00
parazyd
f5baac83cf chore: Update crate dependencies 2025-02-25 12:15:28 +01:00
parazyd
13620224c0 chore: Update crate dependencies 2025-02-09 10:32:33 +01:00
parazyd
604f443fd1 chore: Update license header year 2025-01-24 10:36:02 +01:00
parazyd
b5d7c52191 chore: Update crate dependencies 2025-01-21 14:21:32 +01:00
parazyd
242fe81658 chore: Update crate dependencies 2024-10-01 14:15:03 +02:00
parazyd
165cb8434b chore: Update crate dependencies 2024-08-29 20:39:22 +02:00
parazyd
27fd3785f8 chore: Update crate dependencies and CI Rust version 2024-07-09 12:20:06 +02:00
skoupidi
8c33d59f40 chore: updated all repo references to codeberg 2024-06-19 20:51:25 +03:00
foo
4eba00236d clippy: add suggested clippy lints to top-level Cargo.toml and enable
clippy linting at the workspace level for all crates

Configure all workspaces to use lints from the top-level Cargo.toml
  file
Add example lints that the project could configure to improve security
  and reliability.
Configure lints to warn level. Using deny level makes other binaries
fail to compile if even one of them has a failure.
No lints are added in this commit. Future changes can enable and fix
lints
2024-06-09 10:35:09 -04:00
parazyd
2e37330d0d chore: Update crate dependencies 2024-05-27 15:29:58 +02:00
parazyd
8778d57b42 chore: Update crate dependencies 2024-03-07 14:17:17 +01:00
parazyd
0de97d0db3 chore: Update crate dependencies 2024-03-05 08:47:43 +01:00
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +01:00
parazyd
43030a9eea chore: Enable some additional arti-client crate features
Additionally perform a dependency update.
2024-01-09 15:58:39 +01:00
parazyd
dedc29430e chore: Update crate dependencies 2024-01-08 15:58:50 +01:00
parazyd
295c8dcff9 chore: Update crate dependencies 2023-12-04 19:58:59 +01:00
parazyd
f188c2bb05 chore: Update crate dependencies 2023-11-09 14:20:57 +01:00
parazyd
b61127af9a chore: Update crate dependencies 2023-10-27 09:02:18 +02:00