Accepting request 1169377 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/1169377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/forgejo?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-04-21 18:27:41 +00:00 committed by Git OBS Bridge
commit f26bea8e46
8 changed files with 41 additions and 20 deletions

View File

@ -73,9 +73,9 @@ profile forgejo /usr/bin/forgejo flags=(attach_disconnected) {
# Ugly! # Ugly!
/usr/share/forgejo/.gitconfig rw, /usr/share/forgejo/.gitconfig rw,
/usr/share/forgejo/.gitconfig.lock rw, /usr/share/forgejo/.gitconfig.lock rw,
/usr/share/forgejo/.ssh/ rw, /var/lib/forgejo/.ssh/ rw,
/usr/share/forgejo/.ssh/* rw, /var/lib/forgejo/.ssh/* rw,
/usr/share/forgejo/.local/** rw, /var/lib/forgejo/.local/** rw,
# for writing access log file # for writing access log file
/var/log/forgejo/ rw, /var/log/forgejo/ rw,

View File

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

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTrEU9ebA3CvN0YNVCkthotxZI3EAUCZg74swAKCRCkthotxZI3
EBzXAQCmG82PVpACkS5CtOpszxURBNf5TeAeDfzJQWrT9484OQD/Xhuk00rUL+LY
hsj8u8sFppW1AgEtM1SufLQsUeZIaAI=
=+By3
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTrEU9ebA3CvN0YNVCkthotxZI3EAUCZiJhbwAKCRCkthotxZI3
ENVQAP0VWzKeGnmwUQ2HoBpWORiN8n5OW3N1t08KnfuzUuvyZwEAs5dVjZzrz9HQ
54/FA+yGDxunNBVvZLzGoRg5Y37/Ggo=
=xA2A
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Apr 20 12:39:56 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- update to 1.21.11-1:
* error 500 on tag creation when a workflow exists
- update to 1.21.11-0:
* Fixed a privilege escalation through git push options that
allows any user to change the visibility of any repository they can see,
regardless of their level of access.
* Fixed a bug that allows user-supplied, non-sandboxed JavaScript to be run
from the same domain as the forge, via
/{owner}/{repo}/render/branch/{branch}/{filename} URLs.
* Close file in upload function
* Prevent registering runners for deleted repositories.
Prevents 500 Internal Server Error in admin interface.
* More reliable pagination support when migrating from gitbucket
* Fix automerge when used with actions
- fix apparmor profile
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 5 18:39:07 UTC 2024 - Richard Rahl <rrahl0@proton.me> Fri Apr 5 18:39:07 UTC 2024 - Richard Rahl <rrahl0@proton.me>

View File

@ -16,8 +16,8 @@
# #
%define gitea_version 1.21.10 %define gitea_version 1.21.11
%define forgejo_version 0 %define forgejo_version 1
%if 0%{?suse_version} > 1600 %if 0%{?suse_version} > 1600
# TW # TW
%bcond_without selinux %bcond_without selinux
@ -180,10 +180,10 @@ semodule -r %{name} 2>/dev/null || :
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/gitea %{_bindir}/gitea
%defattr(0660,root,forgejo,770) %defattr(0660,root,forgejo,770)
%config(noreplace) %{_sysconfdir}/%{name}/conf/app.ini
%{_sysconfdir}/%{name}
%{_localstatedir}/log/%{name} %{_localstatedir}/log/%{name}
%defattr(0660,forgejo,forgejo,750) %defattr(0660,forgejo,forgejo,750)
%config(noreplace) %{_sysconfdir}/%{name}/conf/app.ini
%{_sysconfdir}/%{name}
%{_datadir}/%{name} %{_datadir}/%{name}
%{_sharedstatedir}/%{name} %{_sharedstatedir}/%{name}
%{_sysusersdir}/%{name}.conf %{_sysusersdir}/%{name}.conf

View File

@ -20,8 +20,8 @@ echo "++++++++++++++++++++++++++++++++++++++++++++++"
echo "extracting package-lock.json" echo "extracting package-lock.json"
echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++"
tar xf forgejo-src-${VERSION}-0.tar.gz forgejo-src-${VERSION}-0/package-lock.json tar xf forgejo-src-${VERSION}-1.tar.gz forgejo-src-${VERSION}-1/package-lock.json
cp forgejo-src-${VERSION}-0/package-lock.json . cp forgejo-src-${VERSION}-1/package-lock.json .
echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++"
echo "Downloading node_modules" echo "Downloading node_modules"
@ -33,7 +33,7 @@ echo "++++++++++++++++++++++++++++++++++++++++++++++"
echo "Cleanup Step" echo "Cleanup Step"
echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++"
rm -r forgejo-src-${VERSION}-0 rm -r forgejo-src-${VERSION}-1
rm node_modules.sums rm node_modules.sums
echo "++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++"