External GIT server

Hi there

Before i install and test it: Can i use an external GIT server with gitea?

IMPORTANT: I don’t mean to make copies or mirroring or something like that. I mean the only one GIT service (on port 80) sould be on another IP / computer / VM.

Gitea should be just the GUI - and nothing else.

If no: Is there another solution for that issue?

Thx for feedbacks.

Regards,
Jan

What is a git server?

For example:

git clone http://GIT_SERVER

OR

git clone ssh://GIT_SERVER

What else?!?

This post was flagged by the community and is temporarily hidden.

“What is a git server?”

Is that the only one answer for my question, a question itself?

Maybe my question it too complex for that forum…?

Regards,
Jan

Ok, so if I understand you correctly:
You have a server where you are storing your git repositories, which you can interact with via

For example:

git clone http://GIT_SERVER

OR

git clone ssh://GIT_SERVER

Now, you’d like to add a GUI to view your git repositories stored on GIT_SERVER, but you dont want to move or copy the repositories to have them stored by Gitea itself.

Would you be running Gitea on GIT_SERVER or on another server?
If you’d run Gitea on GIT_SERVER, maybe you’d be able to have them both use the same directory for repository storage, and thus point the repos out to Gitea?

If my interpretation is correct, maybe someone with some deeper knowledge can help out with what they think, if it’s possible or not.

Basically: “Is it possible to use Gitea as a GUI-layer on top of an external Git service, without making changes to the repositories”?

" Now, you’d like to add a GUI to view your git repositories stored on GIT_SERVER , but you dont want to move or copy the repositories to have them stored by Gitea itself.

Would you be running Gitea on GIT_SERVER or on another server?"

“Is it possible to use Gitea as a GUI-layer on top of an external Git service, without making changes to the repositories”

Exactly! :slight_smile:

Regards, Jan

How does the migration type “mirror” work? Does is synchronize on both directions?

Maybe this is a workaround for the thing i’ve planned…?

Regards,
Jan

This post was flagged by the community and is temporarily hidden.

What i need is full synchronisation (=mirroring) on both directions if remote repositories are not possible.

If this is also not possible by design, then i need at least that the gitea machine does synchronize the commit/push actions from it’s clients (connected by http) to the old git server.

(but i think that’s also not possible by design, if that would be possible i would not need an initial commit on the OLD Git server…?)

Strange…

Regards, Jan

  1. The OLD Git server need an initial commit so Gitea can mirror it

  2. Commit / push to the old Server will not be mirrored the Gitea - only the data that are available on the moment when i click the “migrate” button.

So it seems, there is abolutely not mirroring/synchronization. It just makes a copy from the remote repo just with the data at the time of migration…?

Regards, Jan

Oh, so i saw now there is a “Synchronize” button to get new newest data from the remote repo. But after clicking, i get the message “Come back in a few minutes”…

…i came back in a “few minutes” (whatever it means, maybe 5??) but it didn’t got the newest data from the remote repo…?? Still the old text -> “1 hour ago” on the Gitea repo entry on the Gitea start page!

It is able the get a copy (first Mirroring), but it isn’t able the update that copy later via the “Synchronize” button - that makes no sense!

Why that problem, and what is the solution?

Regards, Jan

Now i see some changes sychronized from the old repo to the new one from Gitea… BUT: The changes are only visiable via the SourceTree GIT Client connected to Gitea via http - but NOT in the Gitea Web GUI.

And i also had a merge conflict - normal because of my actions… but i solved it in SourceTree GIT Client. Then still the same problem with “read only” and 403 - also after unflagging “private” repo flag.

EDIT: “1 hour ago” seems to be related to the creation time/date. But after clicking on a repo entry i still not see the other commit (that i only see in SourceTre after click “Synchronize”…)

EDIT2: When i use a Gitea Repo only (without sync/mirroring to other server), there is no “read only” / 403 problem. URL has the same pattern: with “…/xxx.git” at the end. why it works in that case?

Regards, Jan

This post was flagged by the community and is temporarily hidden.

This post was flagged by the community and is temporarily hidden.

I also updated the bug case on github…:wink:

No answer until now, here and on github?

Maybe my problem is too complex for that forum?