18 Feb 2024 |
jolheiser | I don't believe there's a way to get branches/tags that contain a specific commit currently. We do show that info on the UI as of https://github.com/go-gitea/gitea/pull/25180 That could be extended to the API perhaps, but I don't know if an issue exists yet for that. | 16:15:15 |
Masber | ok, so what would you recommend? | 17:32:25 |
Masber | what about this API https://docs.gitea.com/api/1.20/#tag/repository/operation/repoGetAllCommits? | 19:02:08 |
22 Feb 2024 |
| qubidt joined the room. | 10:04:27 |
| @hajomega01:matrix.org joined the room. | 12:15:42 |
| @hajomega01:matrix.org left the room. | 12:16:16 |
25 Feb 2024 |
| qwestion2 changed their display name from qwestion2 to qwestion. | 22:54:44 |
| qwestion2 changed their display name from qwestion to qwestion2. | 22:57:07 |
| qwestion2 changed their display name from qwestion2 to qwestion. | 22:58:27 |
| qwestion2 changed their display name from qwestion to qwestion2. | 23:19:40 |
| qwestion2 changed their display name from qwestion2 to qwestion. | 23:21:04 |
| qwestion2 changed their display name from qwestion to qwestion2. | 23:22:59 |
26 Feb 2024 |
Masber | hi, when I mirror a remote repo using pull https://docs.gitea.com/next/usage/repo-mirror#pulling-from-a-remote-repository are the tags also pulled? | 12:24:10 |
| Freezlex changed their profile picture. | 13:08:58 |
jolheiser | In reply to@masuberu:matrix.org hi, when I mirror a remote repo using pull https://docs.gitea.com/next/usage/repo-mirror#pulling-from-a-remote-repository are the tags also pulled? Yes, it should include all tags and branches | 14:38:11 |
27 Feb 2024 |
mannp | Redacted or Malformed Event | 16:57:23 |
mannp | * HI all. What is the difference between an 'Internal' repo and a public one pls? When I select a repo to not be private, it goes to internal, rather than public? thx | 16:57:40 |
Masber | hi, how can I get the commit id related to a tag name using gitea apis? I tried this https://docs.gitea.com/api/1.20/#tag/repository/operation/repoListGitRefs but the sha it gives me is different than the commit id the tags points to | 22:03:22 |
28 Feb 2024 |
Masber | by a commit id I mean the sha of the commit object, and, when I say a tag, I mean annotated tags because when I call https://docs.gitea.com/api/1.20/#tag/repository/operation/repoListGitRefs I get the sha of the tag object and not the commit one | 10:59:15 |
ruby | is there an easy way how i can migrate a whole github org to gitea? | 13:07:14 |
jolheiser | In reply to@rei:rubyowo.me is there an easy way how i can migrate a whole github org to gitea? I swear I've seen a few things that do this, the one that's listed on our awesome page is https://gitea.com/yige/github2gitea But I feel like I've seen one specifically for orgs | 14:53:38 |
jolheiser | * I swear I've seen a few things that do this, the one that's listed on our awesome page is https://gitea.com/yige/github2gitea (which is fairly old)
But I feel like I've seen one specifically for orgs | 14:55:00 |
jolheiser | One way to do this would be to script against the github api to get the repos, then the gitea api to migrate via https://try.gitea.io/api/swagger#/repository/repoMigrate | 14:55:54 |
Masber | how can I check hooks in gitea? | 15:04:06 |
ruby | In reply to@jolheiser:matrix.org One way to do this would be to script against the github api to get the repos, then the gitea api to migrate via https://try.gitea.io/api/swagger#/repository/repoMigrate makes sense, just thought i'd check for a already built solution before i do it myself | 15:05:59 |
jolheiser | In reply to@masuberu:matrix.org how can I check hooks in gitea? Which hooks and for what purpose? | 15:06:53 |
jolheiser | Git hooks? Webhooks? | 15:06:59 |
Masber | I am getting this error remote: You are not allowed to upload code. when I try to run git push --tags | 15:10:46 |
Masber | however git clone and git push works | 15:11:01 |
Masber | I don't know why pushing tags fail, I am running those commands from a gitlab pipeline and I asked in the gitlab libera channel and they suggested it could be an issue with git hooks on the server | 15:12:08 |