J
J
Jasur Mirkhamidov2015-09-18 18:17:16
git
Jasur Mirkhamidov, 2015-09-18 18:17:16

Git replication?

There is a need to replicate the git repository. It sounds (maybe) strange, the essence:
Task:
Approximately this is what needs to be done (freehand diagram)
f2fc95289a1b408cad0f465a22a25964.jpg
There is a closed rap. on BitBucket (BB).
It is necessary to create an identical copy of the rep (Rep.bb), in which:

  • Developers could pull/push
  • When receiving a push to Rep.bb from developers push to BB (hooks?)
  • When pushing to BB, accept pull (hooks on the BitBucket side?)
  • Produce PullRequest (desirable)
  • Bind reps to Redmine as bare

To solve this problem, what has been done:
- Read this material . In principle, it suits, but ... (see below)
- "played around" with bare raps locally, everything worked out.
But, I would like to get some kind of interface (Gogs-liked it, Gitlub), so that developers could copy the paths, see visually (not in the console) what is happening with the rep, and so on.
Question: Are there any easier ways to solve this problem? or maybe more correct / best practice?
PS: There is a separate virtual server for this task. For redmine too. Everything is located locally in the office.
UPD: One of the main problems is that BitBucket's free account allows you to connect only 5 developers to the team.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2015-09-18
@aol-nnov

Jasur Mirkhamidov : yes, do it with hooks. simple and reliable.
For example blog.cloud-mes.com/2013/04/05/setup-mirror-between...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question