mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-07 12:37:43 -05:00
[GH-ISSUE #246] Feature Request: GitHub Stars - Lists support #722
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clement-deltel on GitHub (Mar 22, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/246
Originally assigned to: @arunavo4 on GitHub.
Hi gitea-mirror development team,
I am submitting this issue as I think that it would be interesting to support the following. I personally amass a ton of repos and star them for future reference, keep track of what I have running in my homelab, of what I have installed on my workstation, etc. In that matter and for better organization, I created some lists of starred repos. Here is what it looks like within GitHub interface:
I would like the possibility to mirror not all my starred repos but only the ones from the lists selected, let's say. For instance, I would like to mirror everything from the lists "homelab" and "dottools" but not "ideas" as it serves a dump for all the things that I find interesting but will not necessarily use or want to keep a copy of. In terms of configuration, it could follow the guidelines:
Thank you in advance for considering my request!
@arunavo4 commented on GitHub (Mar 23, 2026):
@clement-deltel Implemented in PR #247 and ready for testing with:
ghcr.io/raylabshq/gitea-mirror:pr-247What’s included
MIRROR_STARRED_LISTS(comma-separated list names), e.g.:MIRROR_STARRED=trueMIRROR_STARRED_LISTS=homelab,dottoolsMIRROR_STARRED_LISTSis empty/unset, behavior remains all starred repos.MIRROR_STARRED=true.Quick test
Use the PR image:
docker pull ghcr.io/raylabshq/gitea-mirror:pr-247Then run with your normal env plus:
MIRROR_STARRED=trueMIRROR_STARRED_LISTS=<your-list-1>,<your-list-2>You can verify in UI by selecting the same lists in the new Star Lists (optional) control and running import/sync.
@clement-deltel commented on GitHub (Mar 24, 2026):
Hello,
Thank you for the blazinf fast implementation. Nevertheless, I just tested the image (
ghcr.io/raylabshq/gitea-mirror:pr-247), but I am getting the error message below:Also, the UI does not reflect what you showed above with the Star Lists drop-down menu on my end:
I have to mention that I just swapped the image and added the environment variable. I am not starting from a fresh install with an empty database, maybe that's part of the observed difference.
Let me know if you need anything else.
@arunavo4 commented on GitHub (Mar 24, 2026):
@clement-deltel I just ran it locally and tested with my github keys, everything worked. Can try using the UI and please share you config vars and remove any private keys when you share them.
@clement-deltel commented on GitHub (Mar 25, 2026):
Hello,
I did some further testing, and it is working now. Thank you so much!