How many issue comments have I posted? #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It is easy to see the number of issues with https://codeberg.org/issues.
https://blog.codeberg.org/letter-from-codeberg-onwards-and-upwards.html
So I am 606 / 300,000, that is 1 / 495 of Codeberg repositories are mine.
Related to #1 and #13.
I verified that on repository with single issue with no comment (Benjamin_Loison/flathub-infra_website), listing comments does not return anything, but it works fine otherwise (Benjamin_Loison/android).
Python script:
Output:
Let us consider my last issue comment Benjamin_Loison/server/issues/9#issuecomment-8456772.
16,751 / 8,456,772 = 1 / 504.9 of Codeberg issue comments are mine.
Benjamin_Loison/server/issues/9#issue-1089225
1,089,225 issues, so I am 7,474 + 455 = 7,929 of them, that is I am 1 / 137 of Codeberg issues.
Related to Benjamin-Loison/gitea/issues/57.
In a nutshell:
On Codeberg:
belong to me.
Related to Benjamin-Loison/gitea/issues/46.
What about edits? Related to Benjamin_Loison/git/issues/53.
https://codeberg.org/Benjamin_Loison/xclip/issues/3/content-history/list
Output:
Except if need to add an edit to count the initial issue comment one, there is less, if it is
value, edits than issue.Benjamin_Loison/xclip/issues/3#issue-2769423
Related to Benjamin-Loison/gitea/issues/87.
https://codeberg.org/Benjamin_Loison/xclip/issues/4/content-history/list with no edit and issue comment
{"results":null}.https://codeberg.org/api/swagger#/issue revision and edit:
Benjamin_Loison/xclip/issues/5
https://codeberg.org/Benjamin_Loison/xclip/issues/5/content-history/overview:
Output:
Benjamin_Loison/xclip/issues/5#issuecomment-8670009 is the issue comment I let to the issue.
Output:
after having edited the second issue comment.
If edit the initial issue comment:
So if want to count edits, then have to sum these values, each minus 1.
https://codeberg.org/api/swagger#/user/userGetCurrent
https://codeberg.org/api/swagger#/repository/repoGet
https://codeberg.org/api/swagger#/issue/issueListIssues
https://codeberg.org/api/swagger#/issue/issueGetRepoComments
https://codeberg.org/api/swagger#/issue/issueGetIssue
do not help.
https://codeberg.org/api/swagger#/issue/issueGetComment
https://codeberg.org/api/v1/repos/Benjamin_Loison/xclip/issues/comments/2769423?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output:
https://codeberg.org/api/v1/repos/Benjamin_Loison/xclip/issues/comments/1?token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output:
unclear how to specify
issue_idinstead ofid.Error:
Output:
Related to Benjamin-Loison/gitea/issues/220.
With private repository get
Not found.\n.Output:
Error:
Error:
Python script:
Could assume that only the UI faces this issue, not the API.
Output:
Output:
So took about 43 minutes.