-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Releases don't migrate from Github #1445
Comments
Releases on GitHub isn't tied to the git-repo itself, migrating them would require talking to GitHubs API, which we purposefully don't do. Adding support to do so would lead to people asking about (or sending PRs for) supporting other providers, and there are so many different providers that it would end up as code-bloat. And the fact that there's no way to test this migrations without calling out to all those providers, meaning we'd introduce more untested code. If you want proof of my claims, have a look at GitLabs migration-code. While nicely done, it is still in my opinion somewhat of a beast 😅 (Side-note: I did most of the Gitea-migrator for GitLab) |
@bkcsoft any plans on being able to add/edit releases notes and stuff? |
One should be able to do that already, Releases are not hard-bound to a Tag AFAIK |
It would be super cool if this were to change in the future ❤️
Just because you do A, doesn't mean you have to do B; there is no reason to treat mult-million-user-base platforms the same as obscure niche-products. And GitHub is the de-facto standard, I mean you are hosting your own code on GitHub instead of an instance of your own code 😉 |
Most likely will not 😉
We're only doing that because Gitea is currently missing a few key features (like proper CI integration and code reviews). End goal is self-hosting.
While I agree with that, I don't agree that this should be part of Gitea itself. Reasons: (almost exact copy of #1876 (comment))
|
I completely agree with @bkcsoft that there should be created tool to do migrations from different platforms to gitea |
@lafriks If written properly, it would be cross direction, so Gitea <=> GitHub <=> GitLab <=> Gitea, etc... |
Maybe there could be an API/plugin system to allow for easy migration of every (supported) feature. Maybe only documenting how to create a custom script is enough. Then other people could do it as separate projects. This solves the problem of code bloat. I use Gitolite/Redmine at work and would love to migrate then both to Gitea, but having to understand Gitea database, then Redmine database and then creating/testing a script to migrate everything is a bit too much. |
Given tags come across just fine I'm guessing the bane of this issue is people losing release notes which they stored in GitHub releases as opposed to a ChangeLog. To generate a changelog file from git history take a look at https://www.npmjs.com/package/conventional-changelog-cli |
Maybe can we add support for that to the gitea GitHub migrator |
Closing this in favour of external tool. |
[x]
):Description
As the title says, when migrating a repository over from Github, it doesn't take any of the information, like title and release notes. It also leaves the attachments. I know that github allows other file types as attachments (I don't know all the types but I use .sql files a fair amount), would this mess it up?
Screenshots
The text was updated successfully, but these errors were encountered: