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
27
votes
5 answers

Pip cannot clone from https anymore - error 128

I have had a project working with the standard https cloning syntax for a while, and just this afternoon it was working fine. Now, I get error code 128 every time I try to clone: Obtaining myproject from…
CL40
  • 579
  • 1
  • 5
  • 12
15
votes
2 answers

Gitea - How to change the default branch name back to "master"

I've installed Gitea, and every time I create a new repository it defaults the master branch name to "main", which I find a bit annoying. Is there a way to make it default back to the normal "master" naming convention? If so how do I do this?
FreelanceConsultant
  • 13,167
  • 27
  • 115
  • 225
14
votes
6 answers

Change admin password in Gitea

I created an admin user with a password, that contains a special character. Installation of Gitea was successful, but I can't login. I can't get new password, because it says: Sorry, Register Mail Confirmation has been disabled. I tried command…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
10
votes
6 answers

gitea and jenkins webhook

I am testing out Gitea and would like to it to trigger a Jenkins build, pretty basic use case. I understand that there is the existing GOGs webhook pluging that can be used, but recently also found out that there is a Gitea plugin for Jenkins as…
fobius
  • 285
  • 1
  • 3
  • 15
9
votes
1 answer

K8S: How to reach pod with SSH service (Gitea) over the same host ingress-nginx exposes as HTTP?

Currently practicing with Kubernetes (managed, on DO), I ran into a issue I couldn't resolve for two days. I have nginx-ingress setup along with cert-manager, and a domain where git.domain.com points to the IP of the load balancer. I can reach my…
Teecup
  • 91
  • 2
  • 3
8
votes
2 answers

How to add existing repository to gitea from filesystem?

I have some bare git repository on my filesystem where users do pull/push. I install gitea and can't find how to add it to gitea. Other git-management systems have something like "add repository from filesystem", "scan directory", etc. which added…
AeroSun
  • 2,401
  • 2
  • 23
  • 46
8
votes
1 answer

gitea: Built-in ssh server not starting when sshd server running

I have a problem with my gitea version 1.15.5 running on my raspberry pi. I appears that the built in ssh server is not starting: ssh -p 2222 git@myaddress.com ssh: connect to host myaddress.com port 2222: Connection refused I already assured that…
Heppi
  • 321
  • 2
  • 7
6
votes
1 answer

How to trigger Jenkins build without cloning the repository it is hooked to?

I'm dynamically creating jenkins jobs using a config.xml file as a template. Basically what I want to achieve is that, when someone pushes to the repository, this will trigger the job in jenkins. This job should then pull a docker image, create a…
Ant100
  • 403
  • 1
  • 8
  • 26
5
votes
1 answer

Specifying gitea server Gitea Base URL when it is normally accessed via SSH Local Port Forwarding?

On my gitea server, I normally access it via ssh Local Port Forwarding; and it isn't accessible from the outside because I bind it to the localhost address. I'm accessing it from http://127.0.0.1:8080 via "Local Port Forwarding", and it thinks that…
leeand00
  • 25,510
  • 39
  • 140
  • 297
5
votes
1 answer

ssh on gitea with docker

I just installed gitea using docker on Linux mint 19, I used /data with old gitea instalation so I have a populate db and repositories. It seems work correctly when I access to the web. The problem is using SSH: ➜ /tmp sudo git clone…
gogoigo
  • 53
  • 1
  • 4
4
votes
1 answer

How to redirect ssh requests in Nginx?

I'm using the gitea versioning system in a docker environment. The gitea used is a rootless type image. The http port mapping is “8084:3000” and the ssh port mapping is “2224:2222”. I generated the keys on my Linux host and added the generated…
campos
  • 153
  • 2
  • 12
4
votes
0 answers

Mirror a repository from github and add a developmment branch

I am not very familiar with git, and my question might just be stupid. I would like to mirror a repository from github on my gitea server, and then add an additional branch to this repo. The goal is to have: github |_ repo1 |_ b1 …
Mathieu
  • 5,410
  • 6
  • 28
  • 55
4
votes
3 answers

gitea using a normal user and https

I am trying to setup gitea to use https with a certificate I got from letsencrypt running the service as a normal user. I already got it working with http on port 80 with a normal user git and redirecting port 80 to port 3000 using iptables. Also I…
Vicfred
  • 318
  • 1
  • 3
  • 9
4
votes
1 answer

Gitea - SSH Auth ok but can't push to remote

My Gitea version is 1.2.3 and it's install on a gentoo dedicated server. I created my SSH key on another dedicated server with my user (not the root one). On the Gitea GUI, I created an Organization and a repo for that organization, my gitea user is…
Tarkaros
  • 153
  • 2
  • 7
4
votes
2 answers

go-git: How to authenticate at remote server?

I'm using the go project go-git as a git-client and want to fetch from a private git-repository hosted via gitea. The appropiate function to do that is func (r *Remote) Fetch(o *FetchOptions) error, which expects an transport.AuthMethod object for…
maja
  • 17,250
  • 17
  • 82
  • 125
1
2 3
11 12