Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

API to GET all changed files in Pull Request #654

Closed
romanresh opened this issue Jan 12, 2017 · 13 comments · Fixed by #21177
Closed

API to GET all changed files in Pull Request #654

romanresh opened this issue Jan 12, 2017 · 13 comments · Fixed by #21177
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented modifies/api This PR adds API routes or modifies them
Milestone

Comments

@romanresh
Copy link

romanresh commented Jan 12, 2017

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.

@andreynering andreynering added the modifies/api This PR adds API routes or modifies them label Jan 12, 2017
@andreynering andreynering added this to the 1.x.x milestone Jan 12, 2017
@awwalker
Copy link
Contributor

Is anyone currently working on this? If not I'd be happy to take a look

@lunny
Copy link
Member

lunny commented Feb 23, 2017

@awwalker Please send a PR.

@romanresh
Copy link
Author

Hi, any news with this feature?

@awwalker
Copy link
Contributor

@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.

@stale
Copy link

stale bot commented Feb 15, 2019

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.

@stale stale bot added the issue/stale label Feb 15, 2019
@tonivj5
Copy link
Contributor

tonivj5 commented Feb 15, 2019

😉

@stale stale bot removed the issue/stale label Feb 15, 2019
@stale
Copy link

stale bot commented Apr 16, 2019

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.

@stale stale bot added the issue/stale label Apr 16, 2019
@tonivj5
Copy link
Contributor

tonivj5 commented Apr 16, 2019

😉😉

@stale stale bot removed the issue/stale label Apr 16, 2019
@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label Apr 17, 2019
@SenseiJoe
Copy link

Was this ever implemented?

@lunny
Copy link
Member

lunny commented Sep 30, 2019

Not yet.

@patricematignon
Copy link

I see in the docs: https://developer.github.com/v3/pulls/#list-pull-requests-files

@waterdrop01
Copy link

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.

@jtackaberry
Copy link

jtackaberry commented Aug 29, 2020

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.

6543 added a commit that referenced this issue Sep 29, 2022
This adds an api endpoint `/files` to PRs that allows to get a list of changed files.

built upon #18228, reviews there are included
closes #654

Co-authored-by: Anton Bracke <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@lunny lunny modified the milestones: 1.x.x, 1.18.0 Oct 14, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented modifies/api This PR adds API routes or modifies them
Projects
None yet
9 participants