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

Git Difference Not Available #13012

Closed
7 tasks
w-firm opened this issue Oct 2, 2020 · 4 comments
Closed
7 tasks

Git Difference Not Available #13012

w-firm opened this issue Oct 2, 2020 · 4 comments
Labels
modifies/api This PR adds API routes or modifies them

Comments

@w-firm
Copy link

w-firm commented Oct 2, 2020

  • 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

DISCLAIMER: This issue has been rephrased by @Kreyren hoping to make it more understandable as the issuer is not native english speaker

I have a website where i want to show a difference of two files which doesn't seem to be possible to do through Gitea API.

Steps to reproduce

  1. Create a new repository with any non-empty file
  2. Change the file content and push it
  3. Try to use GiteaAPI to return a usable call that would allow to show the difference of two files on a website

Screenshots

@w-firm
Copy link
Author

w-firm commented Oct 2, 2020

also we have installed gitea in our server so will it affect when you migrate your stuff from github to gitea.com?

@Kreyren
Copy link
Contributor

Kreyren commented Oct 2, 2020

To clarify the end-user was asking on the discord server, but was unable to get the answer that they were looking for so he asked me if i can go on call with him to explain the issue and after the call i suggested filing an issue in case i am providing an inaccurate information and did my best to rephrase the original issue to make it more understandable.

It seems that GiteaAPI is unable to show file difference when the file changes.

I've suggested:
https://gitea.com/api/swagger#/repository/repoGetAllCommits
https://gitea.com/api/swagger#/repository/repoGetSingleCommit

which doesn't seem to resolve the issue for the end-user.

Hope it helps ^-^

EDIT: I've informed the end-user that i am not part of gitea team and provided the information to the best of my ability.

@6543 6543 added the modifies/api This PR adds API routes or modifies them label Oct 2, 2020
@6543
Copy link
Member

6543 commented Oct 2, 2020

Related: #10921

I'll have a look at it :)

@yardenshoham
Copy link
Member

Should this be closed as #17095 is merged?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
modifies/api This PR adds API routes or modifies them
Projects
None yet
Development

No branches or pull requests

5 participants