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.8.tar.gz 0009526767 9.09 MB
gitea-apache-vhost.conf 0000000857 857 Bytes
gitea-apache.conf 0000000708 708 Bytes
gitea-docs-1.21.8.tar.gz 0002290944 2.18 MB
gitea-docs-1.21.8.tar.gz.asc 0000000566 566 Bytes
gitea-node_modules-1.21.8.tar.gz 0134342780 128 MB
gitea-rpmlintrc 0000000159 159 Bytes
gitea-user.conf 0000000105 105 Bytes
gitea.app.ini.patch 0000008349 8.15 KB
gitea.changes 0000538056 525 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 0021564711 20.6 MB
Revision 154 (latest revision is 157)
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 1157607 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 154)
- Update to version 1.21.8:
  * Add changelog for 1.21.8 (#29735)
  * Fix date rendering by adding `<gitea-absolute-date>` (#29725) (#29747)
  * Improve CSV rendering (#29638) (#29744)
  * Use Get but not Post to get actions artifacts (#29734) (#29737)
  * Fix inconsistent rendering of block mathematical expressions (#29677) (#29711)
  * fix: rendering internal file links in org (#29669) (#29705)
  * Fix bug hidden on CI and make ci failed if tests failure (#29254) (#29662)
  * Don't show AbortErrors on logout (#29639) (#29667)
  * Use more specific selector for `name` links (#29679) (#29681)
  * Fix user-defined markup links targets (#29305) (#29666)
  * Fix commit_status problem when testing (#29672) (#29675)
  * Fix 500 when deleting account with incorrect password or unsupported login type (#29579) (#29656)
  * Add empty repo check in DetectAndHandleSchedules (#29606) (#29659)
  * Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize (#29653) (#29663)
  * Fixing the issue when status check per rule matches multiple actions (#29631) (#29655)
  * Use strict protocol check when redirect (#29642) (#29644)
  * Update Twitter Logo (#29621) (#29633)
  * Avoid issue info panic (#29625) (#29632)
  * Avoid unexpected panic in graceful manager (#29629) (#29630)
  * Fix wrong line number in code search result (#29260) (#29623)
  * bump protobuf module (#29617) (#29619)
  * Add missing database transaction for new issue (#29490) (#29607)
  * Make "/user/login" page redirect if the current user has signed in (#29583) (#29599)
  * Add a trailing slash to dashboard links (#29555) (#29573)
  * Fix workflow trigger event IssueChangeXXX bug (#29559) (#29565)
  * Fix 500 when pushing release to an empty repo (#29554) (#29564)
  * Only use supported sort order for "explore/users" page (#29430) (#29443)
  * Fix incorrect cookie path for AppSubURL (#29534) (#29552)
  * gitea.service: Remove syslog.target (#29550) (#29551)
  * Fix incorrect redirection when creating a PR fails (#29537) (#29543)
  * Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) (#29546)
  * Fix incorrect relative/absolute URL usages (#29531) (#29547)
  * Fix incorrect subpath in links (#29535) (#29541)
  * Fix issue link does not support quotes (#29484) (#29487) (#29536)
  * Fix issue & comment history bugs (#29525) (#29527)
  * Set pre-step status to `skipped` if job is skipped (#29489) (#29523)
  * Update FAQ about git hook problems (#29495) (#29496)
  * Improve contrast on blame timestamp, fix double border (#29482) (#29485)
  * Fix wrong test usage of `AppSubURL` (#29459) (#29488)
  * Fix/Improve `processWindowErrorEvent` (#29407) (#29480)
  * Fix counter display number incorrectly displayed on the page (#29448) (#29478)
  * Fix workflow trigger event bugs (#29467) (#29475)
  * Fix URL calculation in clone input box (#29470) (#29473)
  * The job should always run when `if` is `always()` (#29464) (#29469)
  * Fix missed return (#29450) (#29453)
  * Fix template bug (#27581) (#29446)
  * Update docs about `DEFAULT_ACTIONS_URL` (#29442) (#29445)
  * Not trigger all jobs any more, when re-running the first job (#29439) (#29441)
  * Ignore empty repo for CreateRepository in action notifier (#29416) (#29424)
  * Fix incorrect tree path value for patch editor (#29377) (#29421)
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