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

Feature request to include the issues during repo migration/mirroring #5578

Closed
2 of 7 tasks
pankajazad opened this issue Dec 22, 2018 · 3 comments
Closed
2 of 7 tasks
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@pankajazad
Copy link

  • Gitea version (or commit ref):1.6.1
  • Git version:2.20
  • Operating system: windows 10 x64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

... The repo migration or mirroring process in gitea clones only the repository and not the issues associated with that. I think if gitea is used for migration or mirroring it can copy the relevant relational tables from .db file pertaining to that repo and make them available at the location where the repo is being migrated or mirrored. And why stop at that, the other information like wiki etc. can also be taken along.
I am aware that it might not be very simple but it'll definitely be worthwhile to at least consider it. Any other views are welcome.

Screenshots

@kolaente
Copy link
Member

The mirror feature only mirrors git repos. There are a lot of platforms which don't have issues/prs/wikis associated with git repos.

I'd recomend you to use a tool like https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator if you want to migrate repos with issues and prs. Maybe one could extend that to provide a morror function.

@pankajazad
Copy link
Author

for keeping gitea compatible with other platforms which lack support for issues/prs/wikis associated with git repos this is fine but if we have gitea servers at both ends then its is good feature to have. Maybe the gitea-github-migrator tool can be added to gitea as a plugin or as third party library thereby making gitea a complete repo hosting solution.

@techknowlogick techknowlogick added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Jan 31, 2019
@techknowlogick
Copy link
Member

Closing as per @kolaente message.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

3 participants