!bXIgKPtRdSXHBnVBaz:osgeo.org

Gitea General

798 Members
Gitea - Git with a cup of tea | https://gitea.io/ | A painless self-hosted Git service42 Servers

Load older messages


SenderMessageTime
18 Feb 2024
@jolheiser:matrix.orgjolheiser 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
@masuberu:matrix.orgMasberok, so what would you recommend?17:32:25
@masuberu:matrix.orgMasberwhat about this API https://docs.gitea.com/api/1.20/#tag/repository/operation/repoGetAllCommits?19:02:08
22 Feb 2024
@qubidt:matrix.orgqubidt joined the room.10:04:27
@hajomega01:matrix.org@hajomega01:matrix.org joined the room.12:15:42
@hajomega01:matrix.org@hajomega01:matrix.org left the room.12:16:16
25 Feb 2024
@_bifrost_qwestion=40conversations.im:aria-net.orgqwestion2 changed their display name from qwestion2 to qwestion.22:54:44
@_bifrost_qwestion=40conversations.im:aria-net.orgqwestion2 changed their display name from qwestion to qwestion2.22:57:07
@_bifrost_qwestion=40conversations.im:aria-net.orgqwestion2 changed their display name from qwestion2 to qwestion.22:58:27
@_bifrost_qwestion=40conversations.im:aria-net.orgqwestion2 changed their display name from qwestion to qwestion2.23:19:40
@_bifrost_qwestion=40conversations.im:aria-net.orgqwestion2 changed their display name from qwestion2 to qwestion.23:21:04
@_bifrost_qwestion=40conversations.im:aria-net.orgqwestion2 changed their display name from qwestion to qwestion2.23:22:59
26 Feb 2024
@masuberu:matrix.orgMasberhi, 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:matrix.orgFreezlex changed their profile picture.13:08:58
@jolheiser:matrix.orgjolheiser
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:matrix.orgmannpRedacted or Malformed Event16:57:23
@mannp:matrix.orgmannp * 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? thx16:57:40
@masuberu:matrix.orgMasberhi, 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 to22:03:22
28 Feb 2024
@masuberu:matrix.orgMasberby 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 one10:59:15
@rei:rubyowo.merubyis there an easy way how i can migrate a whole github org to gitea?13:07:14
@jolheiser:matrix.orgjolheiser
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:matrix.orgjolheiser* 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 orgs14:55:00
@jolheiser:matrix.orgjolheiserOne 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/repoMigrate14:55:54
@masuberu:matrix.orgMasberhow can I check hooks in gitea?15:04:06
@rei:rubyowo.meruby
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:matrix.orgjolheiser
In reply to@masuberu:matrix.org
how can I check hooks in gitea?
Which hooks and for what purpose?
15:06:53
@jolheiser:matrix.orgjolheiserGit hooks? Webhooks?15:06:59
@masuberu:matrix.orgMasber I am getting this error remote: You are not allowed to upload code. when I try to run git push --tags 15:10:46
@masuberu:matrix.orgMasberhowever git clone and git push works15:11:01
@masuberu:matrix.orgMasberI 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 server15:12:08

Show newer messages


Back to Room ListRoom Version: 9