Questions tagged [gogs]

Gogs is a self-hosted git service written in go.

The goal of the Gogs project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows.

Features:

  1. Activity timeline
  2. SSH and HTTP/HTTPS protocols
  3. SMTP/LDAP/Reverse proxy authentication
  4. Reverse proxy with sub-path
  5. Account/Organization/Repository management
  6. Add/Remove repository collaborators
  7. Repository/Organization webhooks (including Slack and Discord)
  8. Repository Git hooks/deploy keys
  9. Repository issues, pull requests, wiki and protected branches
  10. Migrate and mirror repository and its wiki
  11. Web editor for repository files and wiki
  12. Jupyter Notebook
  13. Two-factor authentication
  14. Gravatar and Federated avatar with custom source
  15. Mail service
  16. Administration panel
  17. Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (via MySQL protocol)
  18. Multi-language support (25 languages)
118 questions
0
votes
0 answers

How to write a custom template css file for gogs server

I installed an own gogs-server version 0.14.0+dev on my Debian 11 server. The software works well. I can access my repositories via the webserver. My problem is that the filename I use are usually very long and they get truncated in the web-view…
horshack
  • 103
  • 1
  • 1
  • 6
0
votes
0 answers

Openproject:Gogs/Github Integration 403 and empty body

Software: Openproject,Gogs(internal Github clone) Description: I send push notification from Gogs to openproject/webhooks/github, and getting 403 empty body. Redacted information: apikey=42, "user.user", "user.user.com" Send Headers: Request URL:…
0
votes
0 answers

Forbidden - When committing with html tags - GOGS

hi im using gogs 0.11.34 in OKD 3.11, with DB MySql but when I commit and it contains an html tag, it shows the error of: "Forbidden You don't have permission to access this resource" Forbidden This error only occurs with html tags In any file that…
magnitrom
  • 1
  • 1
0
votes
0 answers

Git removes first character from branch name

I have a problem with using git. I created a new repository "test". Then I created the branch "master", put some files in there, committed and pushed it. Everything works fine. Now I create a new branch with git branch release_test git checkout…
Babbel
  • 32
  • 4
0
votes
1 answer

Error Broken Pipe by Pushing Git Gogs in Eclipse

When I try to push my code from eclipse 4.22.0 to local git server, come error messege Can't connect to any repository: http://192.168.0.100:3000/root/ABC (http://192.168.0.100:3000/root/ABC: Broken pipe) I cannot push to the lcoal git server. But…
Ndrik7
  • 103
  • 13
0
votes
1 answer

Git does not update branch on repositoy

I have a branch named deliveries and on this branch, I have made some new changes to some files. Then I ran the command git add . to stage the files. And after that I ran git commit (I forgot to add message text). I closed the Terminal, and tried…
user16333885
0
votes
1 answer

Gogs + Drone: Gogs webhook return 400 with Cannot find repository

Drone CI has this repository in the drone home page, however, gogs webhook request reposonse 400 with cannot find the repository Gogs webhook make a POST/hook request. { "ref": "refs/heads/master", "before":…
0
votes
1 answer

Deploy to artifactory based on the data from repo

Would like to know how can use curl to get file from a repository for instance gogs and push to another repository for instance artifacotry. I saw we can use -T which can get from url. The below code works however, it will get the local file…
valene
  • 5
  • 4
0
votes
1 answer

"remote: Gogs: Internal error" error while pushing

I just installed Gogs at my windows environment and when tried to push, I'm getting this error. I checked all the solutions on the internet, I can't find any. One of the solutions I tried is changing the path of the gog.db file from relative to…
Sagar Bajpai
  • 361
  • 1
  • 5
  • 13
0
votes
0 answers

How to see your own file in Gogs locally?

I'm configuring a Gogs on my windows and upload my file on localhost:3000. I Know, my information saves in the SQL database with Xampp. but how can I see uploaded files in My PC, not on Web? Update: I see these files in the picture but can not see…
0
votes
1 answer

How to Create a branch off an old commit in our GOGs repository, push it to make a tag, then merge the change onto Master without losing our changes?

Our team works on a legacy application and is relatively small and new to using GIT repositories to control our source code. We don't have a Git Master, and we really don't have any way of keeping our changes organized. As a result, we've pushed…
Zibbobz
  • 725
  • 1
  • 15
  • 41
0
votes
1 answer

Does the Gogs application require internet access?

Does the Gogs self hosted git implementation require internet access for any reason, if I've enabled the offline mode?
0
votes
1 answer

Change localhost:3000 to sub-domain address

I’m trying to change url of my gogs from localhost to my sub-domain. Using NGINX. Configured my sub-domain for git. mydomain. example then added to nginx.conf http section: server { listen 80; server_name git.mydomain.com; …
inGame
  • 17
  • 6
0
votes
1 answer

Cannot checkout in jenkins from neighbor gogs container via Java plugin hudson.plugins.git

Simple CICD using gogs/jenkins docker container running on an ubuntu host: When I try to fetch my git repo from the gogs container I get this error: git fetch --tags --progress http://gogs-repo:3000/repo.git +refs/heads/*:refs/remotes/origin/* #…
U.V.
  • 572
  • 4
  • 11
0
votes
1 answer

error: cannot spawn hooks/pre-receive:No such file or directory,but hooks/pre-receive is exist in server-side git-repository

A project clone from my Gogs web server, then I add a file to the Git repository,and push this commit to remote, but the terminal report error about cannot spawn hooks/pre-receive:No such file or directory . I checked it and ensure the pre-receive…
HanQ
  • 95
  • 1
  • 8