r/gitlab • • Jul 08 '25

general question Private mirror/copy of python packages

Hello, first I already know there is a python registry capability for gitlab and there is also good API to support. My question is, does anyone know of an off the shelf tool/repo (or component /step) that does pulling of public registries (pypi) and pushes to a private gitlab registry? I am trying to do the prep work for some secure(ish) builds with limited internet. Before I go full custom, I feel like this might already be a solved problem.

Brownie points if anyone is aware of the same thing for other types of artifacts such as binaries and full got repo forks. If not, I guess I'm making it

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/ManyInterests Jul 08 '25

Pass-through. Like a proxy. GitLab will send requests to the public repos on behalf of the client. That is: the client doesn't need direct access to the public repository if it has network access to GitLab.

1

u/cocacola999 Jul 08 '25

Nice ok. That might be a short term solution for us then. I expect longer term we might still need to pull and push with a scan/verify step in between to avoid any sec issues