Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Can I get the difference between different versions through API? #5561

Closed
1 of 7 tasks
mojie126 opened this issue Dec 19, 2018 · 7 comments
Closed
1 of 7 tasks

Can I get the difference between different versions through API? #5561

mojie126 opened this issue Dec 19, 2018 · 7 comments
Assignees
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 type/enhancement An improvement of existing functionality

Comments

@mojie126
Copy link

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Can I get the difference between different versions through API?

Screenshots

@lunny lunny added the type/enhancement An improvement of existing functionality label Dec 19, 2018
@kolaente
Copy link
Member

You mean the differences between two commits? AFAIK currently not, but you can get the differences between two branches when appending compare/master...other-branch to the url of your repo

@mojie126
Copy link
Author

You mean the differences between two commits? AFAIK currently not, but you can get the differences between two branches when appending compare/master...other-branch to the url of your repo

Hopefully, you can get the list of differences by API

@stale
Copy link

stale bot commented Mar 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 Mar 16, 2019
@lunny lunny added modifies/api This PR adds API routes or modifies them issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Mar 16, 2019
@tboerger
Copy link
Member

tboerger commented Oct 5, 2019

That should be implemented for the linked drone pull request.

@Coding-Kiwi
Copy link

Yes this would be awesome! An endpoint for pull request diffs is already there, is this feature much work?

@noerw noerw self-assigned this Oct 11, 2021
@dineshsalunke
Copy link

BUMP, any idea on when can we expect this feature or if it even is in works ?
I don't mind taking a jab at this, we need this feature for the above drone related pull request too. ( Note: I am a newbie in go )

@wxiaoguang
Copy link
Contributor

I think most work should have been done in feat(api): implement branch/commit comparison API #30349 and Make API "compare" accept commit IDs #32801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

8 participants