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
1
vote
0 answers

Go local imports with CI

I understand Go is pretty opinionated about local import paths. I have a CI/Git server set up with Gogs and Drone - lets call it ci.company.corp when requiring files locally I would write something like this: import…
Sean Gregory
  • 571
  • 2
  • 10
1
vote
2 answers

Mirror repositories on web development server

As I read on git documentation bare repositories are good for sharing and non-bare repositories are good for developing. I'm setting up a development server which should provide SCM, Jenkins, and serve webpages to do some manual testing. To provide…
Gonzo RI
  • 71
  • 1
  • 10
1
vote
0 answers

Gogs API jquery access allow origin

I am using the postman rest client on Brackets. Using that client I can request the Gogs api. But if I want to request it using jquery I get a: XMLHttpRequest cannot load…
Wikunia
  • 1,564
  • 1
  • 16
  • 37
1
vote
1 answer

Disable syntax-highlighting for code style in Gogs

How can I disable syntax highlighting in Gogs for an (intented) code block in the README.md? The problem is that the commands described in the readme are self-defined but contain keywords of other programming languages, therefore the code is…
Patrick
  • 1,046
  • 2
  • 10
  • 31
1
vote
0 answers

C source files not allowed when not using cgo or SWIG: sqlite3-binding.c

I'm trying to compile gogs with the sqlite tag for alpine, I need to create a statically linked bin because otherwise I get a file not found if I try to run the ADD'ed bin from within an alpine container. Here's what I'm doing: Cloning the develop…
Jonathan
  • 10,792
  • 5
  • 65
  • 85
1
vote
1 answer

What is the Gogs ROOT_URL Configuration parameter for?

Gogs has the following server configuration parameters: [server] DOMAIN = 172.17.0.2 HTTP_PORT = 3000 ROOT_URL = http://172.17.0.2:3000/ So the ROOT_URL parameter could be constructed from the DOMAIN and the HTTP_PORT the way it is…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
0 answers

GOGS Secret Key Usage Context / Process

This question is similar to this question: GOGS secret key However the post does not really confirm whether this key is the right key or whether the right key to use is a personal access token that can be generated via the UI. Also I'm wondering…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
0 answers

What are the best option to build a jupyter notebook sharing platform

I have to build a "open science platform" where engineer can build and share their script and jupyter notebook. (and versioning) One good example could be the kaggle website. There is data and people fork this one to make script from them. People…
fobyy
  • 11
  • 3
1
vote
2 answers

can not push files to remote host

I have started a container (git service) using this command... # Create local directory for volume. $ mkdir -p /var/gogs # Use `docker run` for the first time. $ docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs I am…
shantanuo
  • 31,689
  • 78
  • 245
  • 403
1
vote
2 answers

Does the GOGS Docker Container run an SSH Daemon?

I'm wondering whether the GOGS Docker container is also running an the OpenSSH daemon inside the container?
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
1 answer

Is it possible to set limit for users quota in gogs?

I was check in admin section, also looked in config files but there is not parameter to manage limit for users quota. Is it possible in gogs?
Kaxa
  • 515
  • 1
  • 6
  • 11
1
vote
1 answer

How let gogs support ssh

After install gogs, i want to let gogs support ssh. In the insall web page, i filled the Run User with git. when I use ssh to git clone, gogs need me to input git@xxx's password. But I don't know the git@xxx's password. What should I do to solve…
0
votes
1 answer

Should the gogs suggested ssh url be the real on disk location of the repository?

I'm having trouble with the gogs ssh url,but am not sure if the web ui config needs corrected, or whether server config needs changed. The recommended ssh url in the web ui always has the same user and looks like…
user2782001
  • 3,380
  • 3
  • 22
  • 41
0
votes
0 answers

Gogs server is throwing SSL certificate problem: unable to get local issuer certificate while doing git clone

I have installed gogs and configured https. https url is loading in the browser without any warning. When I try to clone it in my local I am getting "SSL certificate problem: unable to get local issuer certificate". Can someone please help me on…
Velan
  • 21
  • 1
  • 3
0
votes
1 answer

How to Sync gogs repositories automatically

I have a gogs repository which is loaded from local directory (I will clone git repo to that local repository periodically). In repository settings there is an option called "Sync now" to sync the repository. How to invoke this Sync now option via a…
Velan
  • 21
  • 1
  • 3