Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package forgejo-guardian for 
openSUSE:Factory checked in at 2025-03-11 20:46:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/forgejo-guardian (Old)
 and      /work/SRC/openSUSE:Factory/.forgejo-guardian.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "forgejo-guardian"

Tue Mar 11 20:46:18 2025 rev:6 rq:1252050 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/forgejo-guardian/forgejo-guardian.changes        
2025-02-26 17:16:22.753827898 +0100
+++ 
/work/SRC/openSUSE:Factory/.forgejo-guardian.new.19136/forgejo-guardian.changes 
    2025-03-11 20:47:37.695987932 +0100
@@ -1,0 +2,7 @@
+Mon Mar 10 21:34:51 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- import config handling from the gitea-action-runner package
+  the config can contain secrets and we should probably protect
+  them with proper default permissions
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ forgejo-guardian.spec ++++++
--- /var/tmp/diff_new_pack.1lkNWc/_old  2025-03-11 20:47:38.468020256 +0100
+++ /var/tmp/diff_new_pack.1lkNWc/_new  2025-03-11 20:47:38.472020423 +0100
@@ -42,9 +42,10 @@
 %{cargo_build}
 
 %install
-install -d %{buildroot}%{_sysconfdir}/%{name}
+install -D -d -m 0750 %{buildroot}%{_sysconfdir}/%{name}
 install -Dm0755 ./target/release/%{name} %{buildroot}%{_bindir}/%{name}
 install -Dm0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
+install -Dm0640 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{name}/config.toml
 
 %pre
 %service_add_pre %{name}.service
@@ -63,5 +64,5 @@
 %doc README.md DCO %{name}.config.example.toml
 %{_bindir}/%{name}
 %{_unitdir}/%{name}.service
-%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}
 

++++++ forgejo-guardian.config.example.toml ++++++
--- /var/tmp/diff_new_pack.1lkNWc/_old  2025-03-11 20:47:38.528022769 +0100
+++ /var/tmp/diff_new_pack.1lkNWc/_new  2025-03-11 20:47:38.536023103 +0100
@@ -1,11 +1,11 @@
-[forgejo]
-instance_url = "https://forgejo.example";
-token = "your-token"
-
-[expressions.ban]
-usernames = ['^admin.*$']
-websites = ['^https://example\.com$', { re = '^https://example2\.com$', reason 
= "Example 2 is not allowed" }, '^https://example3\.com$']
-
-[expressions.sus]
-usernames = ['^mod.*$']
+# [forgejo]
+# instance_url = "https://forgejo.example";
+# token = "your-token"
+# 
+# [expressions.ban]
+# usernames = ['^admin.*$']
+# websites = ['^https://example\.com$', { re = '^https://example2\.com$', 
reason = "Example 2 is not allowed" }, '^https://example3\.com$']
+# 
+# [expressions.sus]
+# usernames = ['^mod.*$']
 

Reply via email to