Questions tagged [gitea]

A git repository manager forked from gogs and written in Go

Documentation : https://docs.gitea.io/en-us/

Website : https://gitea.io/en-us/

166 questions
1
vote
1 answer

how to `go install` from gitea

I'm trying to install a package from a self-hosted gitea instance. I'm trying to get a package running go install gitea.urkob.com/urko/go-root-dir but I'm getting this error no required module provides package gitea.urkob.com/urko/go-root-dir; to…
Gudari
  • 287
  • 1
  • 16
1
vote
0 answers

Trigger Jenkins job by tag with Gitea

I work with Gitea and jenkins and I try to trigger a Jenkins job at the tag change in Gitea. I installed the Gitea plugin and I have a multibranch pipeline with my repo in it. I added the following line to my Pipeline: refspec:…
Vrops
  • 11
  • 2
1
vote
0 answers

How to get PR dependencies from Gitea API

I want to get list of blocking dependencies from a PR request through Gitea API. I searched through the internet and API documentation, but I didn't find any solution. For adding a blocking dependency to a PR Gitea uses an api call to…
Lion Rider
  • 11
  • 2
1
vote
1 answer

Docker login to Gitea registry fails even though curl succeeds

I'm using Gitea (on Kubernetes, behind an Ingress) as a Docker image registry. On my network I have gitea.avril aliased to the IP where it's running. I recently found that my Kubernetes cluster was failing to pull images: Failed to pull image…
scubbo
  • 4,969
  • 7
  • 40
  • 71
1
vote
1 answer

How to get pr number of gitea at jenkins pipeline?

I'm using gitea & jenkins & sonarqube combination now. I need pr number of gitea for sonarqube pr comment but i don't know how to get pr number at jenkins pipeline. I tried env variables like this. PR_ID=env.BRANCH_NAME.replace(/^PR-/, '') but there…
gunyoung
  • 21
  • 2
1
vote
1 answer

Gitea: Pull Request approval status

Im managing a jenkins pipeline for automation tests, and I need to start different suite of tests depending on whether the PR is approved or not. Is there a way to get this info from console or any API?
nm1234
  • 11
  • 1
1
vote
1 answer

Gitea cannot clone

I have installed Gitea on a LXC container and added my ssh key through the UI. But when I do git clone git@240.162.0.163:theo/test-repo.git I will get the following error: Cloning into 'test-repo'... fatal: protocol error: bad line length character:…
Dirk
  • 3,095
  • 4
  • 19
  • 37
1
vote
1 answer

Custom gitea image doesn't find user with Docker Compose

I'm developing a Docker infrastructure with Ansible and Docker Compose and I have a problem with my custom image of Gitea. I want to use a custom image because I need to implement authentication via LDAP. The error that i get inside the container…
Luca
  • 95
  • 1
  • 2
  • 11
1
vote
0 answers

Gitea : Failed to initialize ORM engine: dial tcp: lookup gitea-postgresql.default.svc.cluster.local: Try again

I am trying to deploy gitea with the help of the helm chart and I am using the microk8s in CentOS environment, but I am unable to deploy gitea. First I cloned the gitea helm chart using the command : git clone…
srikanth
  • 11
  • 2
1
vote
1 answer

How to push a new development branch to a mirrored gitea repository?

It seems can't push commits to a new branch to a mirror repository without setting push to upstream. I created a mirror repository in gitea, it synchronizes from a GitHub repository period. I cloned the gitea repository to my local and created a new…
sean
  • 1,252
  • 3
  • 14
  • 29
1
vote
1 answer

Setup gitea Initial Configuration

When I install gitea with docker like that https://docs.gitea.io/en-us/install-with-docker/ always I have to visit http://localhost:3000/install and click "Install gitea" to really finish installation. After that I have to visit…
santos82h
  • 452
  • 5
  • 15
1
vote
1 answer

How to import 100 gitea self-hosted repositories to Gitlab self-hosted community edition? Default import is broken

I tried importing via default gitlab "import from gitea" and all I got - repositories with only FIRST commit, broken list of repositories from gitea (gitlab for some reason misplaces names of gitea repositories resulting in "name already…
idchlife
  • 554
  • 1
  • 6
  • 16
1
vote
0 answers

Force init in Gitea when repo is created

When you create a repo in Gitea from the website you can mark "Initialize Repository (Adds .gitignore, License and README)", and when you create a repo in Gitea from the API you can set auto_init to true. Is there any way to configure Gitea to force…
santos82h
  • 452
  • 5
  • 15
1
vote
0 answers

Default repo config for gitea

I need setup a default config for all repos created in gitea (no matter if ther was created by web or by api). This default config is this: Init the repo with some predefined content Create two branch: develop and production Restrict permissions…
santos82h
  • 452
  • 5
  • 15
1
vote
0 answers

Move a Gitea repo to a new one

I couldn't clone a git repo from my Gitea server: Klone nach 'diss' ... Username for 'https://git.ursliska.de': uliska Password for 'https://uliska@git.ursliska.de': remote: Zähle Objekte: 7403, Fertig. remote: Komprimiere Objekte: 100%…
uli_1973
  • 705
  • 1
  • 5
  • 22