feat(federation): enrich RemoteActor with bio, banner, followers/following URLs
Bumps k-ap to 0.3.1 which adds bio, banner_url, followers_url, following_url, and also_known_as to RemoteActor. These are populated from fetched actor JSON at follow/ingest time so followers and following listings no longer return null profile fields. Adds migration 015 for the new remote_actors columns, updates all JOIN queries in postgres-federation to select and return the new fields, and maps them through k_ap_actor_to_domain. Also fixes clippy: remove empty line after doc comment in port.rs.
This commit is contained in:
28
Makefile
Normal file
28
Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
.DEFAULT_GOAL := check
|
||||
|
||||
# Run the full local check suite — same order as CI would.
|
||||
check: fmt-check clippy test
|
||||
@echo "✅ All checks passed"
|
||||
|
||||
# Apply rustfmt to all files.
|
||||
fmt:
|
||||
cargo fmt
|
||||
|
||||
# Check formatting without modifying files (CI-safe).
|
||||
fmt-check:
|
||||
cargo fmt --check
|
||||
|
||||
# Run Clippy and treat warnings as errors.
|
||||
clippy:
|
||||
cargo clippy -- -D warnings
|
||||
|
||||
# Run the test suite.
|
||||
test:
|
||||
cargo test
|
||||
|
||||
# Apply fmt + clippy auto-fixes in one shot.
|
||||
fix:
|
||||
cargo fmt
|
||||
cargo clippy --fix --allow-dirty --allow-staged
|
||||
|
||||
.PHONY: check fmt fmt-check clippy test fix
|
||||
Reference in New Issue
Block a user