FBR: Allow anonymous HTTPS pulling via in-Pagure systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This should be my last FBR for now, as with this I tested everything in staging, and I believe it works there (SSH pull/push and HTTPS pull, we don't have HTTPS push for pagure.io (yet)).
This basically sets the username for anonymous access to something that would never be a valid user for FAS.

Patrick


commit b89814426a0565219684336952a823178b973619 (HEAD -> master)
Author: Patrick Uiterwijk <patrick@xxxxxxxxxxxxxx>
Date:   Fri Oct 12 11:51:57 2018 +0200

    Enable anon user for prod Pagure
    
    Signed-off-by: Patrick Uiterwijk <patrick@xxxxxxxxxxxxxx>

diff --git a/roles/pagure/frontend/templates/gitolite.rc b/roles/pagure/frontend/templates/gitolite.rc
index 41c0b3f1f..77eb32b3e 100644
--- a/roles/pagure/frontend/templates/gitolite.rc
+++ b/roles/pagure/frontend/templates/gitolite.rc
@@ -15,9 +15,8 @@
 %RC = (
 
     # ------------------------------------------------------------------
-{% if env == "pagure-staging" %}
     HTTP_ANON_USER => 'ANONYMOUS_',
-{% endif %}
+
     # default umask gives you perms of '0700'; see the rc file docs for
     # how/why you might change this
     UMASK                           =>  0077,
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux