Add support for commit statuses #1212

Merged
mmarif merged 5 commits from qwerty287/GitNex:commit-status into main 2 months ago
Collaborator

Addresses #435 but only supports commits and not PRs.

Addresses https://codeberg.org/gitnex/GitNex/issues/435 but only supports commits and not PRs.
qwerty287 added this to the 5.0.0 milestone 2 months ago
qwerty287 added the
🎯 Enhancement
label 2 months ago
qwerty287 self-assigned this 2 months ago
qwerty287 added 3 commits 2 months ago
c3d22b03fe
fix commit statuses
mmarif added 1 commit 2 months ago
e52f2623e4 Merge branch 'main' into commit-status
Owner

Is this API available in 1.16?

Not directly related to this PR, but found that somehow the text after issue/pr is missing in the app. Check the screenshot.

Is this API available in 1.16? Not directly related to this PR, but found that somehow the text after issue/pr is missing in the app. Check the screenshot.
Poster
Collaborator

Yes, API is in 1.16 available.

As for this issue with the description - that's something I noticed too and I opened an issue about it some time ago: #1161

Not sure how this can be fixed.

Yes, API is in 1.16 available. As for this issue with the description - that's something I noticed too and I opened an issue about it some time ago: https://codeberg.org/gitnex/GitNex/issues/1161 Not sure how this can be fixed.
mmarif added 1 commit 2 months ago
d911538cc5 Minor keyword update
mmarif approved these changes 2 months ago
mmarif merged commit 16f547fed2 into main 2 months ago
Collaborator

well for pulls we can just use the pull info to query the same api:

curl https://codeberg.org/api/v1/repos/gitnex/GitNex/pulls/1212 | jq -r '.head.sha'

-> status for d911538cc5

well for pulls we can just use the pull info to query the same api: ``` curl https://codeberg.org/api/v1/repos/gitnex/GitNex/pulls/1212 | jq -r '.head.sha' ``` -> status for d911538cc51b95f31c289d6819ea4fca462e7952

Reviewers

mmarif approved these changes 2 months ago
ci/woodpecker/pr/locale Pipeline was successful
ci/woodpecker/pr/check Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
The pull request has been merged as 16f547fed2.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#1212
Loading…
There is no content yet.