Skip to content

Support "^" character is compare API to designate previous commits #33943

@ybizeul

Description

@ybizeul

Feature Description

GitHub API lets you compare commits with a special trick to target the previous commit by using the ^ character, it is described here : https://docs.github.com/en/pull-requests/committing-changes-to-your-project/viewing-and-comparing-commits/comparing-commits#comparisons-across-commits

When using this syntax, Gitea returns :

{"errors":null,"message":"The target couldn't be found.","url":"https://gitea.mydomain.com/api/swagger"}

Because of that, things like https://github.com/marketplace/actions/release-changelog-builder don't work, and their specific support for gitea repositories is broken so it's totally unusable.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposal/acceptedWe have reviewed the proposal and agree that it should be implemented like that/at all.topic/apiConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions