Hi all,
I have attached a patch to allow httpd to clone the git repo of package so that fedora-packages can display the spec file and patches.
Thanks Clément
--- PATCH ----- From 5b818a229d3dfdcfc0d880ce45b82ed093eba73d Mon Sep 17 00:00:00 2001 From: Clement Verna cverna@tutanota.com Date: Fri, 9 Feb 2018 17:16:08 +0100 Subject: [PATCH 1/1] Allow httpd to write the git repo used by the source tab
The Source tab is using git repository that are cloned under /var/cache/fedoracommunity/git.fp.o. This commit allow httpd to access this folder.
Signed-off-by: Clement Verna cverna@tutanota.com --- roles/packages3/web/files/packages-httpd.conf | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/roles/packages3/web/files/packages-httpd.conf b/roles/packages3/web/files/packages-httpd.conf index 4d255a9bc..ae873c3ac 100644 --- a/roles/packages3/web/files/packages-httpd.conf +++ b/roles/packages3/web/files/packages-httpd.conf @@ -61,6 +61,10 @@ WSGIScriptAlias /packages /usr/share/fedoracommunity/production/apache/fedoracom WSGIProcessGroup fedoracommunity </Directory>
+<Directory /var/cache/fedoracommunity/git.fedoraproject.org> + Require all granted +</Directory> + <Directory /var/cache/fedoracommunity/packages/icons/> # If someone tries to access an icon that doesn't exist, # then send them to the default icon. This is used by
infrastructure@lists.fedoraproject.org