A painless self-hosted Git service.

Edit Package gitea
https://gitea.io/

Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

Refresh
Refresh
Source Files
Filename Size Changed
README.SUSE 0000001388 1.36 KB
_service 0000001425 1.39 KB
_servicedata 0000000231 231 Bytes
apparmor-usr.bin.gitea 0000002578 2.52 KB
get-gitea-source.sh 0000003506 3.42 KB
gitea-1.21.9.tar.gz 0009531154 9.09 MB
gitea-apache-vhost.conf 0000000857 857 Bytes
gitea-apache.conf 0000000708 708 Bytes
gitea-docs-1.21.9.tar.gz 0002324204 2.22 MB
gitea-docs-1.21.9.tar.gz.asc 0000000566 566 Bytes
gitea-node_modules-1.21.9.tar.gz 0135089871 129 MB
gitea-rpmlintrc 0000000159 159 Bytes
gitea-user.conf 0000000105 105 Bytes
gitea.app.ini.patch 0000008349 8.15 KB
gitea.changes 0000540360 528 KB
gitea.firewall 0000000123 123 Bytes
gitea.firewalld 0000000185 185 Bytes
gitea.keyring 0000005397 5.27 KB
gitea.profile.csh 0000000030 30 Bytes
gitea.profile.sh 0000000031 31 Bytes
gitea.service 0000001949 1.9 KB
gitea.spec 0000010465 10.2 KB
vendor.tar.gz 0022095138 21.1 MB
Revision 155 (latest revision is 157)
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 1160668 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 155)
- Update to version 1.21.9:
  * Add changelog for 1.21.9 (#29971)
  * Fix bugs in rerunning jobs (#29955) (#29983)
  * Performance improvements for pull request list page (#29900) (#29972)
  * Fix the bug that user may logout if GetUserByID return unknow error (#29964)
  * Solving the issue of UI disruption when the review is deleted without refreshing (#29951) (#29968)
  * Fix and rewrite markup anchor processing (#29931) (#29946)
  * Fix loadOneBranch panic (#29938) (#29939)
  * Add cache for dashbaord commit status (#29932)
  * Show Actions post step when it's running (#29926) (#29928)
  * Notify reviewers added via CODEOWNERS (#29842) (#29902)
  * Fix the wrong default value of ENABLE_OPENID_SIGNIN on docs (#29925) (#29927)
  * Fix invalid link of the commit status when ref is tag (#29752) (#29908)
  * Only do counting when count_only=true for repo dashboard (#29884) (#29905)
  * Fix PR creation via api between branches of same repo with head field namespaced (#26986) (#29857)
  * Fix template error when comment review doesn't exist (#29888) (#29889)
  * Fix bug on template (#29887)
  * Editor error message misleading due to re-used key. (#29859) (#29876)
  * Fix user id column case (#29863) (#29867)
  * Fix codeowner detected diff base branch to mergebase (#29783) (#29807)
  * fix double border and border-radius on empty action steps (#29845) (#29850)
  * Make meilisearch do exact search for issues (#29740 & #29671) (#29846)
  * Fix `for` attribute not pointing to the ID of the color picker (#29813) (#29815)
  * Use `Temporal.PlainDate` for absolute dates (#29804) (#29808)
  * Update Chroma to v2.13.0 (#29732) (#29805)
  * Fix Safari spinner rendering (#29801) (#29802)
  * Support GITEA_I_AM_BEING_UNSAFE_RUNNING_AS_ROOT env (#29788) (#29791)
  * Fix missing translation on milestons (#29785) (#29789)
  * Fix user router possbile panic (#29751) (#29786)
  * Make runs-on support variable expression (#29468) (#29782)
  * Fix possible NPE in ToPullReviewList (#29759) (#29775)
  * Update to labeler v5 (#29721) (#29765)
  * Fix incorrect package link method calls in templates (#29580) (#29764)
  * Suppress error from monaco-editor (#29684) (#29758)
Comments 6

Sauer's avatar

I spotted two problems with this package:

  • Templates do not work. 'journalctl -eu gitea' says 'permission denied' Solution: The apparmor profile needs to be updated to allow read access to /etc/gitea/templates/**.

  • The commit search functionality in /[owner]/[repo]/[commits]/branch/[branch] does not work

The user sees a 500 Server error

'journalctl -eu gitea' reports "Couldn't JIT the PCRE2 pattern x got -48"

The underlying problem is this:

  - gitea uses the command 'git log --grep=keyword'

  - git uses the PCRE2 library to grep

  - PCRE2 needs memory with write and execute permission

  - systemd denies that because of the setting MemoryDenyWriteExecute=yes in gitea.service

Solution1:

Now i know that it is not great to allow that for such a wide open application like gitea,
but i don't know any better way right now than to set MemoryDenyWriteExecute=no in gitea.service.

    If anyone has a better way to do this (allow w+x memory for git only) please reply.

Solution2:

Git has a compile time flag to disable LibPCRE2. One could use a differently compiled git and it should work, albeit slow(er).

Eric Schirra's avatar

For apparmor please contact michael@stroeder.com


Eric Schirra's avatar

Yes. Appamor or systemd hardening is broken since some weeks. Can you test point C: in README.SUSE? Are your errors gone now?


Dirk Mueller's avatar

thanks for the reports, I will take a look


Georg Pfuetzenreuter's avatar

Hi,

I am trying to build this package with the "bindata" tag which is recommended by Gitea https://docs.gitea.com/next/installation/install-from-source#build and will allow assets to be bundled instead of being fetched remotely. However I think to be facing an issue with the vendored modules:

[  134s] # code.gitea.io/gitea/modules/migration
[  134s] modules/migration/schemas_static.go:14:9: undefined: Assets

Do you happen to know about this?

There is an issue on GitHub but it seems we already use the suggested build process according to the linked sample spec file: https://github.com/go-gitea/gitea/issues/7997


Eric Schirra's avatar

The ticket was from me

Upstream doesn't really understand some things about epm and buiilserver. At least that's my impression. Help does not come either. Besides, they are changing things. Sometimes all dependencies are in there. Sometimes a few are missing.

And why do you want to change my build process?

It works without errors.

Among other things, because I do it the way I do it.

openSUSE Build Service is sponsored by