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
1 answer

fresh install gogs panic after setup with mkdir data: permission denied

Here just checking out gogs, I followed a tutorial to setup gogs behind apache. I was able to see the install page, ran install successfully. But unable to go past that step, as I don't see a login page for gogs. terminal shows below error [Macaron]…
ganesh
  • 780
  • 7
  • 19
1
vote
1 answer

How do I remove all files of a particular extension from my git repository (history only, only files not in the latest commit)?

Question is mostly explained in the title. One of my repository contains a lot of binary files that never really change. However, I changed the format I was using for a new file extension/storage format. Now I've 1000, or so, files sitting in my git…
Laz
  • 63
  • 1
  • 5
1
vote
0 answers

How to sign in on locale drone instance

I'm running drone on my Synology NAS and can't find any hint what the password might be. I started with this instruction and added --env=DRONE_USER_CREATE=username:Imperative,admin:true. In gogs personal access tokes, an entry drone is created. Also…
Imperative
  • 3,138
  • 2
  • 25
  • 40
1
vote
1 answer

Secret from Gogs hook (failing to get on python3)

I'm configuring a gogs hook, I have an API that receives this POST from push e.g. secret: myS3cr3t it's supposed that " Secret will be sent as SHA256 HMAC hex digest of payload via X-Gogs-Signature header." then in python3 I got it like…
MaxJRB
  • 612
  • 2
  • 7
  • 16
1
vote
1 answer

Nginx reverse proxy to Gogs

i am trying to implement a nginx server as reverse proxy for accessing my Gogs instance. Reason is i need to access my services from work, where all but standard ports are blocked. To avoid port conflicts on my server, most serves are running on…
Tim
  • 33
  • 1
  • 8
1
vote
0 answers

Allow access to personnal git server (gogs) on dockerized ubuntu

I just set up an ubuntu server in a docker, and installed gogs on it. Everything seemed to work fine: I can access gogs via firefox without any problem, create repos or add files, but when I try to git clone a repo from it, or git push from my local…
olinox14
  • 6,177
  • 2
  • 22
  • 39
1
vote
2 answers

Installing gogs with docker-compose

I need to install the GIT-server Gogs as a service in docker-compose. This is quite easy using: services: gogs: image: gogs/gogs:latest ports: - "10022:22" - "3000:3000" environment: - "RUN_CROND=true" volumes: …
WeSee
  • 3,158
  • 2
  • 30
  • 58
1
vote
0 answers

Installing gogs persistent on minishift

I'm trying to install gogs on minishift with persistentVolumes. I did this: c:\> oc login -u system -p admin c:\> oc new-project cicd c:\> oc create -f…
adev
  • 367
  • 1
  • 3
  • 20
1
vote
0 answers

update git submodule when submodule is changed

i currently want to improve my workflow with git. I run a Gogs server on which there are several repos. One repo is software, the others are language files or translations. Since the translators are not allowed to see the source code for internal…
FrankStein
  • 85
  • 13
1
vote
4 answers

Git Push fails and returns 403 in Windows

Environment client : Windows server : Gogs I'd like to push some sources to git repository. But there are some problems to push it. Error message is below : D:\workspace\excel-demo>git push -u origin master Counting objects: 42, done. Delta…
Dev OneQ
  • 11
  • 2
1
vote
1 answer

Web development structure on multiple devices

I have a question regarding web development. (I mostly make Drupal websites) I've been trying to figure this out but I just can't find the best workflow. I will explain my issues: I have a laptop (which I use for school mostly) And a pc. I would…
woxene
  • 25
  • 9
1
vote
0 answers

Manage same repository with both Gitlab and Gogs

Let's assume I have a repository created using gitlab community edition (hosted on my server) and now, I want to be able to interact with the same repository also using Gogs (https://gogs.io) How can I do that without having to import the…
Vignesh T.V.
  • 1,790
  • 3
  • 27
  • 48
1
vote
1 answer

How to setup Gogs as a local github cache for "go get"

I have a Gogs server setup and running with PostgreSQL. I have also mirrored a public repo from github by using the Gogs web interface. Now I'm wondering can I make the commandline go get use the Gogs server as a proxy for getting packages? ie. I…
thurt
  • 882
  • 1
  • 10
  • 25
1
vote
2 answers

Gogs throws a "Permission denied" error when I delete public key file from client

I just installed Gogs (Go Git Server) on a Raspberry Pi3 using the offical gogs/gogs-rpi docker image, which I run as suggested : docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs-rpi I used my laptop to register an…
Rotareti
  • 49,483
  • 23
  • 112
  • 108
1
vote
1 answer

"fatal: could not read Username for 'https://XXX': No such device or address" with drone.io and Gogs

I want to use drone.io and gogs in order to have some CI features in my environment. The documentation of drone.io (http://docs.drone.io/) is not up-to-date, and I had to dig a lot in order to launch it. My docker-compose.yml file is the…
Blusky
  • 3,470
  • 1
  • 19
  • 35