Make API for listing all changed files from a merge request like in GitHub:
https://developer.github.com/v3/pulls/#list-pull-requests-files
GET /repos/:owner/:repo/pulls/:number/files
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Is anyone currently working on this? If not I'd be happy to take a look
@awwalker Please send a PR.
Hi, any news with this feature?
@romanresh @lunny Sorry I haven't had time to work on this recently. Once school slows down again I may have time to revisit it but for now I won't be active on this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
:wink:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
:wink::wink:
Was this ever implemented?
Not yet.
I see in the docs: https://developer.github.com/v3/pulls/#list-pull-requests-files
In my case, being able to get the list of modified files will enable putting multiples micro-services in a single "mono-repo" on Gitea (one per folder), and still be able to handle CI/CD independently for each of the micro-services.
I'm in the same boat as @waterdrop01. I'm going to kludge my way around this, but an API in Gitea would enable a proper Drone extension to provide much cleaner integration.
Edit: Though for the monorepo use case, we would also need an API to compare between two commits, for pushes. Looks like #11187 was abandoned.
Most helpful comment
I see in the docs: https://developer.github.com/v3/pulls/#list-pull-requests-files