Some third-party systems can connect to the git repository and commit/push files. Some can even open a PR in GitHub or GitLab. However, it seems that API for PR is different from one system to another.
Therefore, a third-party system need a specific implementation for each git system to create PR.
As most systems can handle PR in GitHub or GitLab it would be very useful for 1dev to have some kind of PR compatibility mode with one of those systems. This way 1dev could be easily used in place of them.
Robin Shen commented 2 years ago
OneDev's api is not compatible with GitHub/GitLab. This deserves a feature request.
Robin Shenchanged fields2 years ago
Name
Previous Value
Current Value
Type
Support Request
New Feature
Robin Shenchanged title2 years ago
Previous Value
Current Value
Is pull request in 1dev compatible with GitHub or GitLab?
GitHub/GitLab compatible restful api
Artur commented 2 years ago
Hm, ok, I thought that maybe it is compatible because staticman works with 1dev as it does with GitHub and GitLab.
When do you expect to have this implemented? We can offer sponsorship for this feature implementation.
Robin Shen commented 2 years ago
Thanks for your kindness for feature sponsorship. However I am currently working on some other priorities and can not give an estimation on this feature.
Robin Shenchanged state to 'Closed'4 months ago
Previous Value
Current Value
Open
Closed
Robin Shen commented 4 months ago
This will not be implemented due to the added complexity and maintenance burden for compatibility.
Some third-party systems can connect to the git repository and commit/push files. Some can even open a PR in GitHub or GitLab. However, it seems that API for PR is different from one system to another. Therefore, a third-party system need a specific implementation for each git system to create PR.
As most systems can handle PR in GitHub or GitLab it would be very useful for 1dev to have some kind of PR compatibility mode with one of those systems. This way 1dev could be easily used in place of them.