Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/77 Author: @arunavo4 Created: 8/20/2025 Status: ❌ Closed
Base: main ← Head: issue-72
main
issue-72
698eb0b
38a0d1b
fe94d97
926737f
12ee065
21 files changed (+1561 additions, -86 deletions)
📝 .env.example (+2 -2) 📝 CHANGELOG.md (+48 -0) 📝 CLAUDE.md (+18 -0) 📝 README.md (+29 -1) 📝 docker-entrypoint.sh (+2 -2) 📝 docs/ENVIRONMENT_VARIABLES.md (+4 -3) 📝 src/components/config/ConfigTabs.tsx (+9 -4) 📝 src/components/config/MirrorOptionsForm.tsx (+26 -0) 📝 src/lib/auth.ts (+27 -8) 📝 src/lib/db/schema.ts (+3 -0) 📝 src/lib/env-config-loader.ts (+7 -3) 📝 src/lib/gitea.ts (+203 -62) ➕ src/lib/repository-cleanup-service.ts (+373 -0) ➕ src/lib/scheduler-service.ts (+286 -0) 📝 src/lib/utils/config-mapper.ts (+2 -1) ➕ src/lib/utils/duration-parser.test.ts (+94 -0) ➕ src/lib/utils/duration-parser.ts (+251 -0) 📝 src/middleware.ts (+42 -0) ➕ src/pages/api/cleanup/trigger.ts (+130 -0) 📝 src/types/Repository.ts (+4 -0)
.env.example
CHANGELOG.md
CLAUDE.md
README.md
docker-entrypoint.sh
docs/ENVIRONMENT_VARIABLES.md
src/components/config/ConfigTabs.tsx
src/components/config/MirrorOptionsForm.tsx
src/lib/auth.ts
src/lib/db/schema.ts
src/lib/env-config-loader.ts
src/lib/gitea.ts
src/lib/repository-cleanup-service.ts
src/lib/scheduler-service.ts
src/lib/utils/config-mapper.ts
src/lib/utils/duration-parser.test.ts
src/lib/utils/duration-parser.ts
src/middleware.ts
src/pages/api/cleanup/trigger.ts
src/types/Repository.ts
...and 1 more files
Major fixes for Docker environment variable issues and cleanup functionality:
🔧 Duration Parser & Scheduler Fixes
🧹 Repository Cleanup Service
🐛 Environment Variable Integration
📚 Documentation Updates
This resolves the core issues where:
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/77
Author: @arunavo4
Created: 8/20/2025
Status: ❌ Closed
Base:
main← Head:issue-72📝 Commits (5)
698eb0bfix: Complete Issue #72 - Fix automatic mirroring and repository cleanup38a0d1brepository cleanup functionalityfe94d97Issue 68926737fAdded a few new features.12ee065Docs updated | added some options📊 Changes
21 files changed (+1561 additions, -86 deletions)
View changed files
📝
.env.example(+2 -2)📝
CHANGELOG.md(+48 -0)📝
CLAUDE.md(+18 -0)📝
README.md(+29 -1)📝
docker-entrypoint.sh(+2 -2)📝
docs/ENVIRONMENT_VARIABLES.md(+4 -3)📝
src/components/config/ConfigTabs.tsx(+9 -4)📝
src/components/config/MirrorOptionsForm.tsx(+26 -0)📝
src/lib/auth.ts(+27 -8)📝
src/lib/db/schema.ts(+3 -0)📝
src/lib/env-config-loader.ts(+7 -3)📝
src/lib/gitea.ts(+203 -62)➕
src/lib/repository-cleanup-service.ts(+373 -0)➕
src/lib/scheduler-service.ts(+286 -0)📝
src/lib/utils/config-mapper.ts(+2 -1)➕
src/lib/utils/duration-parser.test.ts(+94 -0)➕
src/lib/utils/duration-parser.ts(+251 -0)📝
src/middleware.ts(+42 -0)➕
src/pages/api/cleanup/trigger.ts(+130 -0)📝
src/types/Repository.ts(+4 -0)...and 1 more files
📄 Description
Major fixes for Docker environment variable issues and cleanup functionality:
🔧 Duration Parser & Scheduler Fixes
🧹 Repository Cleanup Service
🐛 Environment Variable Integration
📚 Documentation Updates
This resolves the core issues where:
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.