Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/174 Author: @tasarren Created: 2/14/2026 Status: ✅ Merged Merged: 2/24/2026 Merged by: @arunavo4
Base: main ← Head: feat/starred-by-org
main
feat/starred-by-org
f4d391b
0a3ad4e
29051f3
893fae2
20 files changed (+256 additions, -76 deletions)
📝 .env.example (+2 -1) 📝 .github/workflows/README.md (+4 -2) 📝 .github/workflows/docker-build.yml (+4 -2) 📝 README.md (+1 -1) 📝 docs/ENVIRONMENT_VARIABLES.md (+1 -0) 📝 src/components/config/ConfigTabs.tsx (+1 -0) 📝 src/components/config/GiteaConfigForm.tsx (+7 -0) 📝 src/components/config/OrganizationConfiguration.tsx (+99 -35) 📝 src/components/config/OrganizationStrategy.tsx (+16 -7) 📝 src/components/repositories/InlineDestinationEditor.tsx (+12 -5) 📝 src/lib/db/schema.ts (+1 -0) 📝 src/lib/env-config-loader.ts (+3 -0) 📝 src/lib/gitea.test.ts (+52 -3) 📝 src/lib/gitea.ts (+20 -4) 📝 src/lib/starred-repos-handler.ts (+18 -5) 📝 src/lib/utils/config-defaults.ts (+1 -0) 📝 src/lib/utils/config-mapper.ts (+2 -0) 📝 src/pages/api/job/mirror-repo.ts (+5 -6) 📝 src/pages/api/job/retry-repo.ts (+4 -5) 📝 src/types/config.ts (+3 -0)
.env.example
.github/workflows/README.md
.github/workflows/docker-build.yml
README.md
docs/ENVIRONMENT_VARIABLES.md
src/components/config/ConfigTabs.tsx
src/components/config/GiteaConfigForm.tsx
src/components/config/OrganizationConfiguration.tsx
src/components/config/OrganizationStrategy.tsx
src/components/repositories/InlineDestinationEditor.tsx
src/lib/db/schema.ts
src/lib/env-config-loader.ts
src/lib/gitea.test.ts
src/lib/gitea.ts
src/lib/starred-repos-handler.ts
src/lib/utils/config-defaults.ts
src/lib/utils/config-mapper.ts
src/pages/api/job/mirror-repo.ts
src/pages/api/job/retry-repo.ts
src/types/config.ts
What it does Allows the user to mirror starred repositories and keep the original structure 1:1
It is optional and defaults to the current main branch behaviour.
Motivation What has been discussed here https://github.com/RayLabsHQ/gitea-mirror/issues/169
I'm using this right now, no problems so far.
🔄 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/174
Author: @tasarren
Created: 2/14/2026
Status: ✅ Merged
Merged: 2/24/2026
Merged by: @arunavo4
Base:
main← Head:feat/starred-by-org📝 Commits (4)
f4d391bAllow starred repos to be mirrored preserving structure0a3ad4eFix retry mirror strategy fallback29051f3Polish starred destination UI copy893fae2Skip GHCR push for fork PRs📊 Changes
20 files changed (+256 additions, -76 deletions)
View changed files
📝
.env.example(+2 -1)📝
.github/workflows/README.md(+4 -2)📝
.github/workflows/docker-build.yml(+4 -2)📝
README.md(+1 -1)📝
docs/ENVIRONMENT_VARIABLES.md(+1 -0)📝
src/components/config/ConfigTabs.tsx(+1 -0)📝
src/components/config/GiteaConfigForm.tsx(+7 -0)📝
src/components/config/OrganizationConfiguration.tsx(+99 -35)📝
src/components/config/OrganizationStrategy.tsx(+16 -7)📝
src/components/repositories/InlineDestinationEditor.tsx(+12 -5)📝
src/lib/db/schema.ts(+1 -0)📝
src/lib/env-config-loader.ts(+3 -0)📝
src/lib/gitea.test.ts(+52 -3)📝
src/lib/gitea.ts(+20 -4)📝
src/lib/starred-repos-handler.ts(+18 -5)📝
src/lib/utils/config-defaults.ts(+1 -0)📝
src/lib/utils/config-mapper.ts(+2 -0)📝
src/pages/api/job/mirror-repo.ts(+5 -6)📝
src/pages/api/job/retry-repo.ts(+4 -5)📝
src/types/config.ts(+3 -0)📄 Description
What it does
Allows the user to mirror starred repositories and keep the original structure 1:1
It is optional and defaults to the current main branch behaviour.
Motivation
What has been discussed here https://github.com/RayLabsHQ/gitea-mirror/issues/169
I'm using this right now, no problems so far.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.