Skip to content

Is there a cross-platform fork system? #4493

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

Closed
Wqrld opened this issue Jul 21, 2018 · 11 comments
Closed

Is there a cross-platform fork system? #4493

Wqrld opened this issue Jul 21, 2018 · 11 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@Wqrld
Copy link

Wqrld commented Jul 21, 2018

Is it possible to import a repo from github and keep it synced? For example if i want to fork a project on github to my gitea instance.

@Wqrld
Copy link
Author

Wqrld commented Jul 21, 2018

This would also require adding
#2488

@jonasfranz
Copy link
Member

You can create a mirror of the GitHub repo.

@jonasfranz jonasfranz added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Jul 21, 2018
@Wqrld
Copy link
Author

Wqrld commented Jul 21, 2018

Oh, is see, it seems like "mirror" was mistranslated to "kopie" for me

@Wqrld
Copy link
Author

Wqrld commented Jul 21, 2018

Mirrors are read only, i want to have a fork (if possible on gitea)with which i can pull commits from a upstream repo(on github)

(maybe let people make new branches or fork mirrorred repos)?

@Wqrld Wqrld changed the title Is there a live sync system? Is there a cross-platform fork system? Jul 22, 2018
@stale
Copy link

stale bot commented Jan 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Jan 16, 2019
@vsund
Copy link

vsund commented Jan 29, 2019

Would love to see this 👍 also I hereby dislike the automated stale bot :)

@stale stale bot removed the issue/stale label Jan 29, 2019
@zeripath
Copy link
Contributor

Can't you just mirror the GitHub as say upstream-mirror and then pull from that mirror?

@techknowlogick
Copy link
Member

Yes, you can create a fork of a mirror locally. Closing this as federation is being handled in another issue.

@vsund
Copy link

vsund commented Jan 29, 2019

Oh right, forking a local mirror works for this. This request would make the step of first creating a mirror and then forking it a little bit easier (as you would directly add an external repository as fork reference).

I'm fine with it as it is, but would still be nice to make the process of updating forks easier. This would need to go along with #2488.
In the end you would be able to fork an external repository into your local Gitea instance and keep it synced with a little button (as proposed in #2488).

Sure, first mirroring and then forking it would still work for this, but directly having an external repository as fork reference would skip having an extra repository.

Additionally this might already count as federation. Maybe these are some low-hanging fruits to start with?

@Cyber1000
Copy link

Sorry to add to this thread, but how to fork locally? I can make a mirror of a github-project, but I can't fork this mirror in gitea, it says "forking is not allowed, because I own this repo already" (or similiar, I'm using german, so I don't know the exact english message). Do I need to use 2 gitea-user accounts for myself, one that mirrors github and on that forks from that mirror?

Thanks!

@lafriks
Copy link
Member

lafriks commented Jul 6, 2019

@Cyber1000 create new organization (let's say github) and add all mirrors under it. Than you won't be owner of that mirror and you will be able to fork mirror under your own user

@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

7 participants