Able to import pull requests from external git hosting (OD-1163)
Closed
Robin Shen opened 1 year ago
No description
OneDev referenced from other issue 1 year ago
Matthias Gramberg commented 1 year 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 year 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 year 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 year ago

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

Matthias Gramberg commented 1 year 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

Unknown commented 1 year 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 year 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

Unknown commented 1 year ago

Thank you Robin, I did not realise this :)


Robin Shen changed state to 'Closed' 5 months ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-1163
Please wait...
Page is in error, reload to recover