Monorepo for Tangled tangled.org
6

Configure Feed

Select the types of activity you want to include in your feed.

appview/repo/index: don't try to fetch readme when missing

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
date (May 16, 2026, 8:41 PM +0900) commit 320bb655 parent 068090e0 change-id nvnxlouz
+7 -5
+7 -5
appview/repo/index.go
··· 326 326 } 327 327 } 328 328 329 - bytes, err := tangled.GitTempGetBlob(ctx, xrpcc, readmeFileName, ref, repo.RepoDid) 330 - if err != nil { 331 - errs = errors.Join(errs, fmt.Errorf("failed to call git.getBlob: %w", err)) 332 - return 329 + if readmeFileName != "" { 330 + bytes, err := tangled.GitTempGetBlob(ctx, xrpcc, readmeFileName, ref, repo.RepoDid) 331 + if err != nil { 332 + errs = errors.Join(errs, fmt.Errorf("failed to call git.getBlob: %w", err)) 333 + return 334 + } 335 + readmeContent = string(bytes) 333 336 } 334 - readmeContent = string(bytes) 335 337 }) 336 338 337 339 // commits