Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror Summary #14608

Open
2 of 7 tasks
lunny opened this issue Feb 8, 2021 · 11 comments
Open
2 of 7 tasks

Mirror Summary #14608

lunny opened this issue Feb 8, 2021 · 11 comments
Labels
type/summary This issue aggregates a bunch of other issues

Comments

@lunny
Copy link
Member

lunny commented Feb 8, 2021

@lunny lunny added the type/summary This issue aggregates a bunch of other issues label Feb 8, 2021
@c4lliope
Copy link
Contributor

c4lliope commented Feb 8, 2021

I searched for "Mirror" on https://docs.gitea.io, and I didn't see much describing how mirrors run;
e.g. what happens automatically (git pull, git prune from the origin codebase?)
and what must be updated by a manual process (issues, wiki pages).

Someone visiting gitea.com as an end user will probably need a summary page
of the purpose and mechanisms of mirror repositories.
Maybe a paragraph on the "import repository" page could help people learn more.

@kdumontnu
Copy link
Contributor

Is #3480 a duplicate issue to #7609?

@lunny
Copy link
Member Author

lunny commented Feb 9, 2021

@kdumontnu I think it's not the same. #3480 means a reverse mirror, #7609 means a mirror repository could be not readonly.

@lunny
Copy link
Member Author

lunny commented Feb 9, 2021

I searched for "Mirror" on https://docs.gitea.io, and I didn't see much describing how mirrors run;
e.g. what happens automatically (git pull, git prune from the origin codebase?)
and what must be updated by a manual process (issues, wiki pages).

Someone visiting gitea.com as an end user will probably need a summary page
of the purpose and mechanisms of mirror repositories.
Maybe a paragraph on the "import repository" page could help people learn more.

Yes, mirror docs is also needed.

@kdumontnu
Copy link
Contributor

@lunny thx, but the syntax is very confusing then. You say "Reverse mirroring #7609" above, but "#3480 means reverse mirror".

Do you mean then: "Enable pushing to Gitea repo configured as secondary mirror #7609"?
And "Enable Gitea as primary in mirror configuration #3480"?

We can use consistent diction for mirrors as "primary (push)" and "secondary (pull)"


Also, I added a bounty to #3480 if you can add the following:

[![Bountysource](https://api.bountysource.com/badge/issue?issue_id=54827645)](https://www.bountysource.com/issues/54827645-ability-to-automatically-push-to-remote-mirror-repository)

@lunny
Copy link
Member Author

lunny commented Feb 9, 2021

@lunny thx, but the syntax is very confusing then. You say "Reverse mirroring #7609" above, but "#3480 means reverse mirror".

Do you mean then: "Enable pushing to Gitea repo configured as secondary mirror #7609"?
And "Enable Gitea as primary in mirror configuration #3480"?

We can use consistent diction for mirrors as "primary (push)" and "secondary (pull)"

Also, I added a bounty to #3480 if you can add the following:

[![Bountysource](https://api.bountysource.com/badge/issue?issue_id=54827645)](https://www.bountysource.com/issues/54827645-ability-to-automatically-push-to-remote-mirror-repository)

Thanks, I have updated the issue content. I haven't followed your advise because I think primary and secondary is still confusing. Please let me know if you think it's still confusing. :)

@6543
Copy link
Member

6543 commented May 17, 2021

Option to "protect" mirrors (dont sync if it will drop commits or is a completly new history)

@a1012112796

This comment has been minimized.

@6543

This comment has been minimized.

@Sirttas
Copy link

Sirttas commented Aug 16, 2021

I would suggest in addition to the issue #3480 to add the ability to only push certain branch, tags, etc.

@culmat
Copy link

culmat commented Jan 9, 2022

see also #18220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/summary This issue aggregates a bunch of other issues
Projects
None yet
Development

No branches or pull requests

7 participants