Package Details: gogs-git

Git Clone URL: (read-only, click to copy)
Package Base: gogs-git
Description: Self Hosted Git Service in the Go Programming Language. This is the current git version from master branch.
Upstream URL:
Keywords: git gitea gogits
Licenses: MIT
Conflicts: gogs
Provides: gogs
Submitter: fanningert
Maintainer: None
Last Packager: edacval
Votes: 6
Popularity: 0.000000
First Submitted: 2014-05-13 15:42
Last Updated: 2019-02-05 12:22

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

nylocx commented on 2017-02-22 14:17

The package seems still broken at least the theme directories are off.
Using this two lines seems to work:

install -d "$pkgdir/usr/share/themes/gogs/default"
cp -rt "$pkgdir/usr/share/themes/gogs/default" ./{templates,public}

helmi77 commented on 2017-02-15 15:08

According to commit 2fd69f1[1] the dependencies are now included in the repository, which means there is no need for Glide and subsequently no glide.yaml file.
As a solution just remove the lines starting with "glide" from the PKGBUILD.


letroll commented on 2017-02-14 07:32

I have an error in prepare():

"failed to find glide.yaml file in directory tree: cannot resolve parent of /"

Someone has an idea how to fix this?

belette commented on 2016-12-28 09:46

Thanks for the package!
I realize that changing ROOT_URL & HTTP_PORT in app.ini is working for everything > 1024.
When I try to use TCP 80 and restart the service everything is ok until the first request from a user and then the service crashes!
I have to do a setcap 'cap_net_bind_service=+ep' /usr/share/gogs/gogs to make it work.
I don't know if there is any security implication to do it

grandchild commented on 2016-11-22 01:01

You can add 'aarch64' to the arch list, just successfully compiled and run on an odroid-c2.
(After I changed the power supply, after wondering for half an hour how makepkg could possibly kill all my ssh sessions at once! :D oh my... )

culot commented on 2016-10-31 08:19

Still have to replace 'cd "$srcdir/../$_pkgname"' with 'cd "$srcdir/build/src/${_gourl}" to get this to build. It's been like this most of the year.

None of the 3 Gogs packages on AUR actually build, you have to manually to fiddle with them all every time. It's been like this most of this year.

fanningert commented on 2016-09-27 14:34

I update the PKGBUILD file and add following points.
* Add 'glide update' before 'glide install'
* The local saving name is no more 'gogs', now it is 'gogs-$version'

But it looks like the is an problem in the source with the current release. So I openend a Git-Issue. <- workaround is only with last commit

FoPref commented on 2016-09-22 16:54

To get to the compile stage I had to

1. replace 'cd "$srcdir/../$_pkgname"' with 'cd "$srcdir/build/src/${_gourl}"
2. add 'glide update' before 'glide install'

But compilation then failed anyway.

FoPref commented on 2016-05-03 16:58

Building gogs now fails with:

/tmp/yaourt-tmp-johannes/aur-gogs-git/./PKGBUILD: line 43: cd: /tmp/yaourt-tmp-johannes/aur-gogs-git/src/../gogs: No such file or directory

My last successful build was 17 Mar 2016 (1:3834.d6b09c3-1)

I replaced 'cd "$srcdir/../$_pkgname"' with 'cd "$srcdir/build/src/${_gourl}"' to make it work. Now I have 1:3871.7049cb9-1 successfully installed.

fanningert commented on 2016-03-17 21:33

@FSMaxB Thanks for the information. I corrected the package.