Able to import pull requests from external git hosting (OD-1163)
Robin Shen opened 3 years ago
No description
  • OneDev referenced from other issue 3 years ago
  • ShalokShalom commented 3 years 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 3 years 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.

  • ShalokShalom commented 3 years 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 3 years ago

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

  • ShalokShalom commented 3 years 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 3 years 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 3 years 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 3 years ago

    Thank you Robin, I did not realise this :)


  • Robin Shen changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-1163
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover