Projects onedev server Issues #1163
#1163  Able to import pull requests from external git hosting
Open
Robin Shen opened 2 months ago
No description
OneDev referenced from other issue 2 months ago
Matthias Gramberg commented 1 month ago

Pull requests are handled on the platform. They are not part of the Git specification, correct?

So is this about importing it just from Gitlab, do you think about Gitea/Github as well, or how do you mean this issue?

Robin Shen commented 1 month ago

Pull requests are handled on the platform. They are not part of the Git specification, correct?

That is true. But it becomes a standard feature for almost all git hosting platforms. OneDev will support importing pull requests from GitHub/GitLab/Gitea/BitBucket.

Matthias Gramberg commented 1 month ago

Oh, wonderful.

There is no standard, that unified that, or? I know, you have to implement that from scratch, for all the different platforms.

I guess, that's basically unavoidable

Robin Shen commented 1 month ago

Yes, no standard way. But more or less they share same concepts. Need to investigate api of each system.

Matthias Gramberg commented 1 month ago

You see, there is also the Fediverse protocol, that I also got into discussion.

Gitea/Codeberg is just implementing this, so going that route would allow to actually share the same content, and not just mirror it.

It would be possible to open a PR here, even if the project has been created on Gitea initially.

For this reason, I suggest to start with the PR import implementation for Gitlab, Github and Bitbucket first.

Since Gitea has already started to integrate an even better service.

That would prevent duplicate effort, I think. https://codeberg.org/forgejo/forgejo/issues/59

polarian commented 1 month ago

@robin This will be specific to each git provider, as they all have different APIs and integrations.

However this might be a good idea for importing onedev issues from another onedev instance?

Robin Shen commented 1 month ago

@shalokshalom there is an issue open for fediverse integration: issue #852

@polarian there is an issue open to import projects between different onedev instances: issue #324

polarian commented 1 month ago

Thank you Robin, I did not realise this :)


issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (5)
Reference
issue onedev/server#1163
Please wait...
Page is in error, reload to recover