Accepting request 1238299 from devel:tools:scm

- update to 10.0.0:
  full changelog at https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/10.0.0.md
  * Fix and refactor markdown rendering
  * migrate TOTP secrets to keying
  * Ensure source_id parameter is not skipped when set to 0 and correctly
    filter users in /api/v1/admin/users endpoint
  * Rework user profile settings
  * Rework new repository dialog
  * Show repository size on mobile
  * Add links to commit lists in contributors graph page
  * Add copy path button to file view
  * Put issue actions in a single row on mobile
  * Don't display email in profile settings when hidden
  * Highlight user mention in comments and commit messages
  * When bleve is used for issue search, a fuzzy search now applies to each
    word instead of all of them, as if they were a phrase
  * Add search to releases page
  * Combine review requests comments
  * If you select a portion of a comment and use the 'Quote reply' feature in
    the context menu, only that portion will be quoted
  * Set "your repositories" as the default filter for org dashboards
  * Add button to create a Markdown table in a comment
  * Add a bullet symbol between author and committer
  * Added link to show all Issues/PullRequests
  * Fix Action log UI race condition that occasionally prevents logs from loading
  * Fix wiki search overflowing on wide screens
  * Move "forgot_password"-link to fix login tab order
  * Update help links on page with no workflows
  * Add Low German to list of default languages
  * i18n: Add dummy language for checking translation keys (forwarded request 1238298 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1238299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forgejo?expand=0&rev=21
This commit is contained in:
Ana Guerrero 2025-01-16 19:24:12 +00:00 committed by Git OBS Bridge
commit 515f3dfd8c
8 changed files with 4328 additions and 5431 deletions

View File

@ -1,6 +1,6 @@
diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patched/custom/conf/app.example.ini
--- forgejo-src-8.0.0/custom/conf/app.example.ini 2024-07-30 06:40:03.000000000 +0200
+++ forgejo-src-8.0.0-patched/custom/conf/app.example.ini 2024-08-01 20:24:55.972480197 +0200
diff -rub forgejo-src-10.0.0/custom/conf/app.example.ini forgejo-src-10.0.0-patched/custom/conf/app.example.ini
--- forgejo-src-10.0.0/custom/conf/app.example.ini 2025-01-16 07:37:10.000000000 +0100
+++ forgejo-src-10.0.0-patched/custom/conf/app.example.ini 2025-01-16 14:05:03.035772154 +0100
@@ -51,7 +51,7 @@
;APP_DISPLAY_NAME_FORMAT = {APP_NAME}: {APP_SLOGAN}
;;
@ -10,7 +10,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Application run mode, affects performance and debugging: "dev" or "prod", default is "prod"
;; Mode "dev" makes Gitea easier to develop and debug, values other than "dev" are treated as "prod" which is for production use.
@@ -284,15 +284,17 @@
@@ -284,15 +284,15 @@
;; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
;; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
;; Paths are relative to CUSTOM_PATH
@ -21,39 +21,34 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Root directory containing templates and static files.
;; default is the path where Gitea is executed
;STATIC_ROOT_PATH = ; Will default to the built-in value _`StaticRootPath`_
-;STATIC_ROOT_PATH = ; Will default to the built-in value _`StaticRootPath`_
+STATIC_ROOT_PATH = /usr/share/forgejo
;;
;; Default path for App data
;APP_DATA_PATH = data ; relative paths will be made absolute with _`AppWorkPath`_
+APP_DATA_PATH = /var/lib/forgejo/data
-;APP_DATA_PATH = data ; relative paths will be made absolute with _`AppWorkPath`_
+;APP_DATA_PATH = /var/lib/forgejo/data
;;
;; Enable gzip compression for runtime-generated content, static resources excluded
;ENABLE_GZIP = false
@@ -304,6 +306,7 @@
@@ -303,7 +303,7 @@
;ENABLE_PPROF = false
;;
;; PPROF_DATA_PATH, use an absolute path when you start gitea as service
;PPROF_DATA_PATH = data/tmp/pprof ; Path is relative to _`AppWorkPath`_
-;PPROF_DATA_PATH = data/tmp/pprof ; Path is relative to _`AppWorkPath`_
+PPROF_DATA_PATH = /var/lib/forgejo/data/tmp/pprof
;;
;; Landing page, can be "home", "explore", "organizations", "login", or any URL such as "/org/repo" or even "https://anotherwebsite.com"
;; The "login" choice is not a security measure but just a UI flow change, use REQUIRE_SIGNIN_VIEW to force users to log in.
@@ -355,10 +358,10 @@
@@ -370,7 +370,7 @@
;;
;; MySQL Configuration
;;
-DB_TYPE = mysql
-HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock
-NAME = gitea
-USER = root
+;DB_TYPE = mysql
+;HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock
;DB_TYPE = mysql
;HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock
-;NAME = gitea
+;NAME = forgejo
+;USER = root
;USER = root
;PASSWD = ;Use PASSWD = `your password` for quoting if you use special characters in the password.
;SSL_MODE = false ; either "false" (default), "true", or "skip-verify"
;CHARSET_COLLATION = ; Empty as default, Gitea will try to find a case-sensitive collation. Don't change it unless you clearly know what you need.
@@ -369,7 +372,7 @@
@@ -382,7 +382,7 @@
;;
;DB_TYPE = postgres
;HOST = 127.0.0.1:5432 ; can use socket e.g. /var/run/postgresql/
@ -62,33 +57,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;USER = root
;PASSWD =
;SCHEMA =
@@ -379,21 +382,10 @@
;;
;; SQLite Configuration
;;
-;DB_TYPE = sqlite3
-;PATH= ; defaults to data/forgejo.db
-;SQLITE_TIMEOUT = ; Query timeout defaults to: 500
-;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode
-;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-;; MSSQL Configuration
-;;
-;DB_TYPE = mssql
-;HOST = 172.17.0.2:1433
-;NAME = gitea
-;USER = SA
-;PASSWD = MwantsaSecurePassword1
-;CHARSET_COLLATION = ; Empty as default, Gitea will try to find a case-sensitive collation. Don't change it unless you clearly know what you need.
+DB_TYPE = sqlite3
+PATH= /var/lib/forgejo/data/forgejo.db ; defaults to data/forgejo.db
+SQLITE_TIMEOUT = ; Query timeout defaults to: 500
+SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
@@ -579,14 +571,14 @@
@@ -573,14 +573,14 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Root path for the log files - defaults to %(GITEA_WORK_DIR)/log
@ -105,7 +74,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Either "Trace", "Debug", "Info", "Warn", "Error" or "None", default is "Info"
LEVEL = Info
@@ -946,7 +938,7 @@
@@ -962,7 +962,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Root path for storing all repository data. By default, it is set to %(APP_DATA_PATH)s/gitea-repositories.
;; A relative path is interpreted as _`AppWorkPath`_/%(ROOT)s
@ -114,7 +83,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available.
;SCRIPT_TYPE = bash
@@ -1065,7 +1057,7 @@
@@ -1081,7 +1081,7 @@
;ENABLED = true
;;
;; Path for uploads. Defaults to `data/tmp/uploads` (content gets deleted on gitea restart)
@ -123,42 +92,43 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
;ALLOWED_TYPES =
@@ -1444,7 +1436,7 @@
@@ -1460,7 +1460,7 @@
;ISSUE_INDEXER_TYPE = bleve
;;
;; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve
-;ISSUE_INDEXER_PATH = indexers/issues.bleve ; Relative paths will be made absolute against _`AppWorkPath`_.
+;ISSUE_INDEXER_PATH = /var/lib/forgejo/indexers/issues.bleve ; Relative paths will be made absolute against _`AppWorkPath`_.
+ISSUE_INDEXER_PATH = /var/lib/forgejo/indexers/issues.bleve
;;
;; Issue indexer connection string, available when ISSUE_INDEXER_TYPE is elasticsearch (e.g. http://elastic:password@localhost:9200) or meilisearch (e.g. http://:apikey@localhost:7700)
;ISSUE_INDEXER_CONN_STR =
@@ -1471,7 +1463,7 @@
@@ -1487,7 +1487,7 @@
;REPO_INDEXER_TYPE = bleve
;;
;; Index file used for code search. available when `REPO_INDEXER_TYPE` is bleve
-;REPO_INDEXER_PATH = indexers/repos.bleve
+;REPO_INDEXER_PATH = /var/lib/forgejo/indexers/repos.bleve
+REPO_INDEXER_PATH = /var/lib/forgejo/indexers.bleve
;;
;; Code indexer connection string, available when `REPO_INDEXER_TYPE` is elasticsearch. i.e. http://elastic:changeme@localhost:9200
;REPO_INDEXER_CONN_STR =
@@ -1510,6 +1502,7 @@
@@ -1525,7 +1525,7 @@
;TYPE = persistable-channel
;;
;; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
;DATADIR = queues/ ; Relative paths will be made absolute against `%(APP_DATA_PATH)s`.
+DATADIR = /var/lib/forgejo/queues/
-;DATADIR = queues/ ; Relative paths will be made absolute against `%(APP_DATA_PATH)s`.
+DATADIR = /var/lib/forgejo/queues
;;
;; Default queue length before a channel queue will block
;LENGTH = 100000
@@ -1852,7 +1845,7 @@
@@ -1872,7 +1872,7 @@
;; file: session file path, e.g. `data/sessions`
;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` (or `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` for a Redis cluster)
;; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
-;PROVIDER_CONFIG = data/sessions ; Relative paths will be made absolute against _`AppWorkPath`_.
+;PROVIDER_CONFIG = /var/lib/forgejo/data/sessions ; Relative paths will be made absolute against _`AppWorkPath`_.
+PROVIDER_CONFIG = /var/lib/forgejo/data/sessions
;;
;; Session cookie name
;COOKIE_NAME = i_like_gitea
@@ -1939,7 +1932,7 @@
@@ -1959,7 +1959,7 @@
;;
;; Path for attachments. Defaults to `attachments`. Only available when STORAGE_TYPE is `local`
;; Relative paths will be resolved to `${AppDataPath}/${attachment.PATH}`
@ -167,7 +137,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Minio endpoint to connect only available when STORAGE_TYPE is `minio`
;MINIO_ENDPOINT = localhost:9000
@@ -1965,7 +1958,7 @@
@@ -1985,7 +1985,7 @@
;MINIO_LOCATION = us-east-1
;;
;; Minio base path on the bucket only available when STORAGE_TYPE is `minio`
@ -176,7 +146,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Minio enabled ssl only available when STORAGE_TYPE is `minio`
;MINIO_USE_SSL = false
@@ -2548,10 +2541,10 @@
@@ -2568,10 +2568,10 @@
;;
;STORAGE_TYPE = local
;; override the minio base path if storage type is minio
@ -189,7 +159,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;
;; Maximum count of package versions a single owner can have (`-1` means no limits)
;LIMIT_TOTAL_OWNER_COUNT = -1
@@ -2618,10 +2611,10 @@
@@ -2640,10 +2640,10 @@
;STORAGE_TYPE = local
;;
;; Where your lfs files reside, default is data/lfs.
@ -202,7 +172,7 @@ diff -rub forgejo-src-8.0.0/custom/conf/app.example.ini forgejo-src-8.0.0-patche
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -2641,10 +2634,10 @@
@@ -2663,10 +2663,10 @@
;STORAGE_TYPE = local
;;
;; Where your lfs files reside, default is data/lfs.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1d48d2aafa88f7a4ca8d38d93dc084bb762902d401da2a0b547fb7628b29853
size 56895191

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:805fa2e8e799b8ba9e3cae2984033295d1a46fb24271e673dd01362cfefe8881
size 54029967

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
Thu Jan 16 15:16:58 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 10.0.0:
full changelog at https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/10.0.0.md
* Fix and refactor markdown rendering
* migrate TOTP secrets to keying
* Ensure source_id parameter is not skipped when set to 0 and correctly
filter users in /api/v1/admin/users endpoint
* Rework user profile settings
* Rework new repository dialog
* Show repository size on mobile
* Add links to commit lists in contributors graph page
* Add copy path button to file view
* Put issue actions in a single row on mobile
* Don't display email in profile settings when hidden
* Highlight user mention in comments and commit messages
* When bleve is used for issue search, a fuzzy search now applies to each
word instead of all of them, as if they were a phrase
* Add search to releases page
* Combine review requests comments
* If you select a portion of a comment and use the 'Quote reply' feature in
the context menu, only that portion will be quoted
* Set "your repositories" as the default filter for org dashboards
* Add button to create a Markdown table in a comment
* Add a bullet symbol between author and committer
* Added link to show all Issues/PullRequests
* Fix Action log UI race condition that occasionally prevents logs from loading
* Fix wiki search overflowing on wide screens
* Move "forgot_password"-link to fix login tab order
* Update help links on page with no workflows
* Add Low German to list of default languages
* i18n: Add dummy language for checking translation keys
* Updates for translations
* Add summary card for repos and releases
* Implement update branch API
* Allow changing default branch update style
* Add sorting functionality to /api/v1/admin/users endpoint
* Add Swift login endpoint
* Make LFS http_client parallel within a batch
* Improve performance of notifications page for MySQL
* Filepath filter for code search
* Add option to disable builtin authentication
* Add github compatible tarball download API endpoints
* Improve performance of allowed org repo creation query
* Allow the actions user to login via the jwt token
* Add a "summary card" to issues & PRs for consumption by OpenGraph clients
* Add a doctor check to disable the "Actions" unit for mirrors
* Make AVIF Images work with Forgejo
* Trim spaces from repo names on form submission
* Add new [lfs_client].BATCH_SIZE and [server].LFS_MAX_BATCH_SIZE config settings.
* Add setting to block disposable emails
* mermaid: Add the Kanban board diagram type.
* mermaid: Class diagram includes a new "classBox" shape, classDef statement,
support for styling the default class and lollipop interfaces.
* Add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE settings for explore pages
* Add branch deletion for scheduled PRs
* The requested_reviewers data is included in more webhook events.
* Support migrating GitHub/GitLab PR draft status.
* Language detection in the repository learned about the following languages:
- Java Template Engine, Noir, Cylc, iCalendar, vCard (aka. VCF: Virtual
Contact File) and Variant Call Format (VCF), B4X, Carbon, LiveCode
Script, Dune (OCaml build system)
* Allow filtering pull requests by poster in the API.
* Add support for searching users by email.
* New mermaid flowchart shapes.
* Code search results when using the bleve indexer are sorted by relevance.
* Add bin to Composer Metadata.
* Support regexp in git-grep search
* Git notes can be modified via the API or the UI
-------------------------------------------------------------------
Fri Dec 13 05:19:57 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package forgejo
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -30,13 +30,14 @@
%endif
%endif
Name: forgejo
Version: 9.0.3
Version: 10.0.0
Release: 0
Summary: Self-hostable forge
License: GPL-3.0-or-later
Group: Development/Tools/Version Control
URL: https://forgejo.org
Source0: https://codeberg.org/%{name}/%{name}/releases/download/v%{version}/%{name}-src-%{version}.tar.gz
# something is broken with the verification, works fine manually
#Source1: https://codeberg.org/%{name}/%{name}/releases/download/v%{version}/%{name}-src-%{version}.tar.gz.asc
#Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xeb114f5e6c0dc2bcdd183550a4b61a2dc5923710#/%{name}.keyring
Source3: package-lock.json
@ -126,8 +127,10 @@ by the hooks. An ini file also gives a good default and means that
users do not have to completely provide a full environment.
%description
Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo
the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.
Providing Git hosting for your project, friends, company or community? Forgejo
(/for'd͡ʒe.jo/ inspired by forĝejo the Esperanto word for forge) has you
covered with its intuitive interface, light and easy hosting and a lot of
builtin functionality.
%prep
%autosetup -p1 -n %{name}-src-%{version}
@ -197,10 +200,6 @@ semodule -r %{name} 2>/dev/null || :
%postun
%service_del_postun %{name}.service
%check
#as of now, broken
#%%make_build test
%files
%license LICENSE
%doc README.md RELEASE-NOTES.md CONTRIBUTING.md

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:017bf975dd6771c4390e5d4f0285ce17900126deb0d598af5e4dba033b0885f7
size 210595124
oid sha256:e1cc1e3368deff8be27918fc62363609551a723bc9e63b78bdb2874fd517a563
size 206753656

File diff suppressed because it is too large Load Diff

7280
package-lock.json generated

File diff suppressed because it is too large Load Diff