Package Details: gitea-git v1.15.0_dev_359_g2a998048ef-1

Git Clone URL: (read-only, click to copy)
Package Base: gitea-git
Description: Painless self-hosted Git service. Community managed fork of Gogs.
Upstream URL:
Keywords: git
Licenses: MIT
Conflicts: gitea
Provides: gitea
Submitter: francoism90
Maintainer: kageru
Last Packager: kageru
Votes: 6
Popularity: 0.000028
First Submitted: 2016-11-15 09:57
Last Updated: 2021-05-29 16:52

Latest Comments

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

Archange commented on 2019-12-04 10:48

They are other changes you could do in order to simplify the PKGBUILD, just have a look at the current repo one:

tinywrkb commented on 2019-11-28 23:38

Great! Thanks.

kageru commented on 2019-11-28 18:59

Thank you. I updated the package.

tinywrkb commented on 2019-11-25 20:22

The package has two issues:

  • On the patch directives it points to the start folder which is wrong because everything in the source array is copied to $srcdir and it also breaks if the user set makepkg's BUILDDIR environment var.

  • go mod init will fail if it cannot create pkg/mod/cache/lock in GOPATH. I noticed this because my ~ is immutable. So GOPATH var is required to be set to $srcdir/gopath. This looks like a bug in Go which was solved recently so it should be fixed in the next release though I still added the workaround.

diff --git a/PKGBUILD b/PKGBUILD
index 28c2a81..813f9ae 100644
@@ -9,7 +9,7 @@

 pkgdesc='Painless self-hosted Git service. Community managed fork of Gogs.'
 arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -50,11 +50,12 @@ pkgver() {
 prepare() {
   cd ${srcdir}/${_pkgname}
   # Change default repos path for ArchLinux
-  patch -Np1 -i ../../gitea-arch-defaults.patch
+  patch -Np1 -i ../gitea-arch-defaults.patch
   # Fix LDFLAGS not being passed correctly
-  patch -Np1 -i ../../gitea-ldflags.patch
+  patch -Np1 -i ../gitea-ldflags.patch

   # Make sure we rebuild the mod file from Gopkg.toml to pick up any changes.
+  export GOPATH="${srcdir}/gopath"
   rm -f go.mod
   go mod init || true
   GOCACHE="${srcdir}/cache" go mod download

SamWhited commented on 2019-02-01 14:12

Hi all, I'm no longer using Gitea for any projects, so I am going to disown this package so that someone who's actually using it and will see when problems crop up can maintain it.

SamWhited commented on 2018-12-23 13:31

oops, you're quite right. Thanks!

Archange commented on 2018-12-23 10:04

Note, you can drop from the tree. ;)

I’ve updated the wiki page regarding default paths/user.

SamWhited commented on 2018-12-13 16:02

Thanks; I've updated this package to match. It now uses the gitea user.

Archange commented on 2018-12-13 00:25


Archange commented on 2018-12-12 19:46

We had some issues figuring out all the required steps during migration. I think that I’ve pinned them all now, will push to [community-testing] tonight.