On a side note: I really hope that this repo keeps being maintained because IMHO the scope is quite different from Gitea. More features, contributors and updates does not always mean better, and a slower growing, more minimal project has its own place.
Search Criteria
Package Details: gogs 1:0.12.10-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gogs.git (read-only, click to copy) |
---|---|
Package Base: | gogs |
Description: | Self Hosted Git Service written in Go |
Upstream URL: | https://gogs.io |
Keywords: | git go gogs |
Licenses: | MIT |
Submitter: | kureikain |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 52 |
Popularity: | 0.000004 |
First Submitted: | 2014-05-12 08:56 (UTC) |
Last Updated: | 2022-08-02 16:52 (UTC) |
Dependencies (9)
- git (git-vfs, git-git, git-run-command-patch-git)
- pam (pam-minimal-git, pam-selinux)
- go (go-git, go-go2go-git, go-beta, gcc-go-git, gcc-go) (make)
- mariadb (mysql55, mysql56, mytop-git, mysql57, mysql, percona-server) (optional) – MariaDB support
- memcached (memcached-git) (optional) – MemCached support
- openssh (openssh-hpn-git, openssh-git, openssh-xdg-git, openssh-selinux, openssh-dotconfig, openssh-gssapi, openssh-dotconfig-bin, openssh-hpn-shim) (optional) – GIT over SSH support
- postgresql (pipelinedb, agensgraph-git, postgresql-1c, postgresql-9.5, postgresql-9.4, postgresql-src-beta, postgresql-9.6, postgresql-11, postgresql-10, postgresql-12, postgresql-lts, postgresql13, postgresql-src) (optional) – PostgreSQL support
- redis (redis-testing, redis-git, keydb) (optional) – Redis support
- sqlite (sqlite-minimal-git, sqlite-fts3-parenthesis, sqlite-fossil) (optional) – SQLite support
Required by (0)
Sources (3)
scossu commented on 2022-08-12 02:09 (UTC)
scossu commented on 2022-08-12 02:05 (UTC)
@Martchus Thanks for the reply. I am not interested in switching to Gitea, but I also don't have any Go experience (or any experience with AUR package authoring). If I can figure this out with my limited capacities, I'll be glad to send over a patch.
Martchus commented on 2022-08-11 16:44 (UTC)
Not sure when I'll have time to implement any changes. If you have a patch, I'll apply it (or disown the package so you can continue on your own). Also read the pinned comments; likely you want to use Gitea anyways.
scossu commented on 2022-08-11 16:38 (UTC)
It seems like the "custom" directory (where e.g. custom themes are kept) is set to /usr/bin/custom
, which seems strange.
See https://github.com/gogs/gogs/discussions/7059
Is it possible to set the custom directory to one in /usr/share/gogs
, or similar, and add it to the install package? Thanks.
FabioLolix commented on 2022-03-19 17:04 (UTC)
All the conflicts are not needed, are the variations that need to provide and conflicts gogs
Martchus commented on 2022-01-18 11:39 (UTC) (edited on 2022-01-18 11:41 (UTC) by Martchus)
@respiranto No surprise as I've already noted a 2nd GitHub notification for the new release. It looks like the author changed the release afterwards. I haven't applied the change yet because I wanted to wait whether the 2nd release will actually be the last amendment.
I've also noticed that the new release broke my setup. There's no error message logged but stracing shows that it cannot connect to my MariaDB instance (and then silently exists). So I guess I'll have to figure out that as well.
Maybe it is time to abandon this one completely (in favor of Gitea). (See further notes in pinned comment.)
respiranto commented on 2022-01-18 11:33 (UTC)
I get a checksum mismatch for the tarball:
caee12ab0dc2c2c137788d2fed0c55c5891e889948d6bbf04d5683b7160e01cf49419a5faf9a34798bed7a79314af08409f2e1f14150a3b660e528f0d8bd4e88
jrnewell commented on 2020-08-27 20:21 (UTC)
Can you add the new go option '-modcacherw' so the build module cache folders and files are set with default permission instead of read-only. Currently, using yay, I get a lot of "permission denied" errors when doing a clean build on this package.
Martchus commented on 2020-08-24 14:06 (UTC)
The release 0.12.0 will change various configuration variables, e.g. ROOT_URL
is changed to EXTERNAL_URL
. Please read the official changelog before reporting any issues: https://github.com/gogs/gogs/releases/tag/v0.12.0
Further notes from myself:
ROOT_URL
did not work at all for me anymore. So it is apparently not just deprecated (as the changelog states).- The changelog mentions no alternative to
STATIC_ROOT_PATH
. It looks like this directory is simply not required at all anymore because files are built into the executable. Overrides should be possible by placing files into the working directory (should be/var/lib/gogs/public
with the default config provided by this package; haven't tested yet).
Pinned Comments
Martchus commented on 2020-08-24 14:06 (UTC)
The release 0.12.0 will change various configuration variables, e.g.
ROOT_URL
is changed toEXTERNAL_URL
. Please read the official changelog before reporting any issues: https://github.com/gogs/gogs/releases/tag/v0.12.0Further notes from myself:
ROOT_URL
did not work at all for me anymore. So it is apparently not just deprecated (as the changelog states).STATIC_ROOT_PATH
. It looks like this directory is simply not required at all anymore because files are built into the executable. Overrides should be possible by placing files into the working directory (should be/var/lib/gogs/public
with the default config provided by this package; haven't tested yet).Martchus commented on 2017-06-12 22:24 (UTC) (edited on 2020-08-24 14:22 (UTC) by Martchus)
Important note: You likely want to use the official Gitea package instead.
Gitea - a fork of Gogs - has been added to the official repositories: https://www.archlinux.org/packages/community/x86_64/gitea
That means for Arch Linux the decision has been made to support Gitea rather than Gogs. Hence I suggest everyone to use Gitea instead of Gogs for new installations. I've been testing Gitea for a while myself now and it works well. So I'm also going to switch fully to Gitea myself.
Nevertheless I'll continue maintaining this package for a while now to support old installations. However, I'm not doing any fine-tuning for this package anymore.
Further notes
gitea
and the official package the usergit
. So that has to be changed in the config and for the ownership of/var/lib/gitea
.~~~ The official package now uses the usergitea
similar to my initial packaging was done.