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)
107 questions
15
votes
2 answers

Migrate gitlab to gogs

Recently, i found a Gitlab alternative called Gogs. Any suggestion for migrating repo in Gitlab to Gogs? I m not expecting all of it of course, just as much as possible.
Wonson
  • 499
  • 6
  • 13
7
votes
1 answer

Which user to use with deployment keys?

I am trying to use deployment keys for a repository which belongs to an organization (for which I am an administrator). I created a private/public key pair, the public was pasted into the 'deployment keys' window, and accepted. I then tried to…
WoJ
  • 19,312
  • 30
  • 122
  • 230
6
votes
1 answer

How to import local bare repo to Gogs?

I have a few bare Git repos on a host. Later I installed Gogs on same host. I configured it to use the exact same folder for storing repositories, where my bare repos are already residing. How can I import them? I does not need to "import" anything…
SzG
  • 11,409
  • 4
  • 23
  • 37
5
votes
2 answers

Organizations issue in gogs

I am new to Gogs. Have a trouble related to creating organizations (groups). I created an organization Org-A and added a private repository Repo-A to it. I added another user User-A to this organization (as a member and a team member). But when…
Samir
  • 1,288
  • 2
  • 22
  • 41
5
votes
1 answer

Access Kubernetes Git Container via Ingress via HTTP as well as SSH

I have a small kubernetes (1.3) cluster (basically one node) and would like to install gogs in there. Gogs is "installed" using Helm. I do have the following templates in my helm chart: Deployment (using image gogs:0.9.97, having containerPort 3000…
triplem
  • 1,200
  • 14
  • 24
5
votes
1 answer

Adding a Local GIT Repository to a Gogs Docker Container

I've installed Gogs using Docker. Subsequently I have created a local repository like this (In reality the repository has multiple branches, etc. but I'm just keeping this example simple): mkdir repository cd repository git init touch README.md git…
Ole
  • 29,797
  • 32
  • 110
  • 232
4
votes
1 answer

Docker compose cannot start service address already in use?

For some reason docker-compose does not like the address 203.0.113.1 for the gogs container in the below configuration. Note that in the below example I have Gogs running on 203.0.113.3 which works, but if I change that to 203.0.113.1 then the…
Ole
  • 29,797
  • 32
  • 110
  • 232
4
votes
3 answers

How can I clone a non-github hosted repository using Github Desktop

How can I clone a non-github repository using Github Desktop? https://local-git-service/some-user/some-repo.git If I have an existing repository initialized, I can add it using Github Desktop. But how can I clone it without using the git…
Johnathan Elmore
  • 1,727
  • 1
  • 17
  • 25
3
votes
1 answer

How to define a pull request template in Gogs Server

Basically I want to define templates for issues and pull request in Gogs repositories as Github does (see here) but I have failed with total success. I tried in the following ways: Create an ISSUE_TEMPLATE.md and PULL_REQUEST_TEMPLATE.md files at…
Emiliano Viotti
  • 876
  • 6
  • 18
3
votes
2 answers

git subfolder missing on push

I've some problem with Git, I'm unable to push all subfolder with a single push command I have a project directory as below: project | |--main | |__dir1 | | |__file1 | | |__filen | | …
Marco
  • 405
  • 1
  • 5
  • 17
3
votes
1 answer

Git mirror setup with bare upstream repo for Gogs

Given an existing bare repository on a network share, I'd like to be able to use Gogs for issue tracking (etc.) without disrupting the workflow for everyone else who's already using the bare repo.After reading up a bit, I was under the impression…
user5877732
  • 351
  • 2
  • 18
2
votes
1 answer

Import whole repo from gogs to gitlab server

I have task to migrate whole repository from our Gogs server to newly installed Gitlab server! Before considering to forget my repositories history (comments, issues, etc...), do one know of a way to export a repository data from a Gogs server to…
Galym
  • 47
  • 8
2
votes
1 answer

Gogs installation Error

Environment OS : Centos7 Panel : VestaCP (Nginx). Domain : my.exgitrepo.com(locally) IP : 192.168.1.13(locally) User: admin In my /home/admin/my.exgitrepo.com/public_html/ i downloaded gogs binary, unzip it and run ./gogs web Filled up forms on…
Rahul Sharma
  • 375
  • 7
  • 14
2
votes
1 answer

Renew Gogs SSH Key via file replace?

I'm running the docker version of gogs. It is currently working with my SSH key and I want to refresh this key. Is it possible for me to copy the new key I generated into the docker data volume that is supporting the docker configuration files…
Ole
  • 29,797
  • 32
  • 110
  • 232
2
votes
0 answers

Too many redirects while setting up gogs with nginx

I am setting up gogs on nginx server.I also have cpanel/apache hosted on the same server.I am redirecting my gogs call using .htaccess from cpanel.My nginx configuration is server { listen 9800; server_name ; proxy_set_header…
Atul Agrawal
  • 1,208
  • 3
  • 16
  • 35
1
2 3 4 5 6 7 8