bitsbeats / drone-tree-config

Drone helper for mono repositories.
Apache License 2.0
103 stars 25 forks source link

Gitea support? #6

Open ImMaury opened 4 years ago

ImMaury commented 4 years ago

Any chance to have this working with a Gitea self-hosted frontend?

foosinn commented 4 years ago

Feel free to implement the support for it. A pull request is very welcome!

We currently dont use Gitea, so we wont go for it.

mach6 commented 4 years ago

The gitea API does not (currently) support the ability to get the changed (added / removed / modified) files for a push or pull_request.

This drone extension requires the ability to calculate / acquire a change list.

waterdrop01 commented 4 years ago

@mach6 Hey, could you please point me to the Github feature that makes showing diff on push/pull_request possible?

So that I can open an issue in the Gitea repo with precise description of the expected behavior...

Thanks!

waterdrop01 commented 4 years ago

Ok, I found the corresponding issue on Gitea -> https://github.com/go-gitea/gitea/issues/654

For those interested in it, go there and upvote :)

foosinn commented 1 year ago

Just stumbled over this issue. Seems gitea has now support for this:

https://github.com/go-gitea/gitea/pull/21177

NexZhu commented 1 year ago

@mach6 With Gitea supporting API to get changed files, is this goint to be implemented?

mach6 commented 1 year ago

@foosinn the change seems to be for pull_request only. We would still need support for the push event.

@NexZhu While I'm not a maintainer of drone-tree-config, I certainly have contributed a few things along the way. If the project maintainer (@foosinn) is interested in supporting gitea and the gitea API has the calls we need, I'm happy to look at contributing the integration -- time permitting.