Pierre-Yves Chibon
a4664e06c6
Create the remotes folder for the remote PR
2015-07-31 02:42:30 +02:00
Patrick Uiterwijk
22e24e21be
Make a pagure.org -> pagure.io redirect
2015-07-29 10:00:53 +00:00
Patrick Uiterwijk
83948e50e3
Separate Pagure main and Pagure docs
...
RCA of issue sent on IRC:
It's a very interresting edge case and related to my previous diag.
In short: both the pagure main app and pagure docs app were using the same process pool (WSGIProcessDaemon).
As soon as they would both be loaded in the same thread, they would both load the FFI (C wrapper) code, and only the
latest process to load it would still have valid type references, the other would start sending wrong references,
which causes it to error out (correctly), because it doesn't know the types it got.
So basically, the fix I just applied is put pagure docs into its own WSGI daemon process, that keeps them nicely separated.
the reason that this didn't hit in staging and why it also worked *sometimes* in production is that it would only crash if:
1. both pagure main app and docs app were loaded in the thread that's used for the current request
2. pagure docs app was loaded last in the current thread, overriding the types for pagure main app, and
3. we have 4 processes with 4 threads each, so each request gets into one of 16 threads, making the staging
not likely to hit the previous two conditions, but prod has so many requests it's likely to hit 1 and 2
2015-07-23 22:13:41 +00:00
Pierre-Yves Chibon
20c9a3e6cb
Works better w/o typo
2015-07-23 09:59:43 +02:00
Pierre-Yves Chibon
aab7b9e5fc
Adjust the apache configuration of docs.pagure.org to be ssl only
2015-07-23 09:57:45 +02:00
Pierre-Yves Chibon
f900885937
Install the ssl certs for docs.pagure.org
2015-07-23 09:56:48 +02:00
Kevin Fenzi
1803473df8
Adjust pagure config to work.
2015-07-23 03:45:11 +00:00
Pierre-Yves Chibon
e4bc1915f8
Do not install file that are not present
2015-07-20 12:19:09 +02:00
Pierre-Yves Chibon
627256cec4
Place all the apache configuration in 0_pagure.conf and drop pagure.conf
2015-07-20 12:17:11 +02:00
Pierre-Yves Chibon
78e628ab26
Another attempt to fix indentation
2015-07-20 11:56:29 +02:00
Pierre-Yves Chibon
0dadaf2a85
Drop location and fix indentation
2015-07-20 11:53:55 +02:00
Pierre-Yves Chibon
a42250530c
And more adjustments
2015-07-20 11:49:49 +02:00
Pierre-Yves Chibon
6e1d0afca2
More adjustements to the apache configuration file
2015-07-20 11:41:35 +02:00
Pierre-Yves Chibon
4cc45d279c
Move the 0_pagure.conf apache configuration file from a file to a template
2015-07-20 11:37:38 +02:00
Pierre-Yves Chibon
cf582b5c3e
Adjust the apache configuration for the docs server
2015-07-20 11:35:08 +02:00
Pierre-Yves Chibon
4126baab19
Fix typo and domain name
2015-07-20 11:25:08 +02:00
Pierre-Yves Chibon
2ced33df9d
Oups, forgot the file
2015-07-20 11:07:30 +02:00
Pierre-Yves Chibon
9469e2a654
Start working on the split of the doc server to a different wsgi app
2015-07-20 11:02:38 +02:00
Pierre-Yves Chibon
bc593245ee
Adjust the EV server URL for pagure prod
2015-06-22 12:25:51 +02:00
Pierre-Yves Chibon
0843a0ba64
Make sure stunnel is correctly working
2015-06-19 00:03:34 +02:00
Pierre-Yves Chibon
f659e160ac
Fix the stunnel configuration and adjust the EV endpoint
2015-06-19 00:03:01 +02:00
Pierre-Yves Chibon
85deb07233
Let's not forget to install stunnel
2015-06-18 19:26:56 +02:00
Pierre-Yves Chibon
bcd2be9627
Start working on stunnel for pagure
2015-06-18 19:19:16 +02:00
Pierre-Yves Chibon
855a751a4c
Back to 8080 for pagure-stg
2015-06-18 17:38:34 +02:00
Pierre-Yves Chibon
ff01b358e0
Move the eventsource port to 9939
2015-06-18 17:17:38 +02:00
Pierre-Yves Chibon
a985c7d91e
Adjust the eventsource server url
2015-06-18 17:05:15 +02:00
Pierre-Yves Chibon
7c9ca85814
Adjust the pagure playbook for 0.2 with the eventsource server
2015-06-18 16:55:24 +02:00
Pierre-Yves Chibon
fa27a2b5fb
Expand the list of blacklisted projects
2015-06-16 11:57:11 +02:00
Pierre-Yves Chibon
c59c50c1df
Ensure all the services are up and running at the end of the playbook
2015-06-16 11:45:17 +02:00
Pierre-Yves Chibon
03dd049529
Let's allow pring statements for now in pagure
2015-06-14 09:56:09 +02:00
Ralph Bean
60dbdd00cf
Try dynamically generating some fedmsg config from group/host vars in staging.
2015-06-12 16:27:45 +00:00
Pierre-Yves Chibon
6646bd3341
Pass on the Authorization header
2015-06-11 11:02:43 +02:00
Pierre-Yves Chibon
54c246199d
Add index for the releases dir
2015-06-05 13:51:16 +02:00
Pierre-Yves Chibon
c3764014a2
Allow everyone on /releases
2015-06-05 13:49:14 +02:00
Pierre-Yves Chibon
dd7253c6ff
Add the missing UPLOAD_FOLDER
2015-06-05 13:46:17 +02:00
Pierre-Yves Chibon
dc5f214a9a
Set the UPLOAD_FOLDER_PATH
2015-06-05 13:42:36 +02:00
Pierre-Yves Chibon
29131d9962
Create the alias for /releases
2015-06-05 13:40:53 +02:00
Pierre-Yves Chibon
9d229a461e
Create the /var/www/releases for pagure
2015-06-05 13:39:41 +02:00
Pierre-Yves Chibon
8f66dcee0e
Disable the IRC plugin
2015-06-05 13:36:47 +02:00
Pierre-Yves Chibon
fb25061190
Install the alembic.ini file
2015-06-05 13:36:47 +02:00
Pierre-Yves Chibon
c5237142a6
Add the SSH_KEYS info in pagure's configuration file
2015-05-21 20:10:47 +02:00
Pierre-Yves Chibon
c713daa97f
Drop the admin config since we don't require it in the DB anymore
2015-05-21 11:36:29 +02:00
Pierre-Yves Chibon
b59c87e699
Use https for anonymous cloning instead of git://
2015-05-21 11:30:52 +02:00
Patrick Uiterwijk
2d8c1e06e8
Replace chown with file and set current acl
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-05-21 09:16:15 +00:00
Patrick Uiterwijk
20348df7b5
Let's actually APPLY it instead of query
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-05-21 09:11:40 +00:00
Patrick Uiterwijk
ee71aa5156
According to the docs, this needs quotes
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-05-21 09:07:26 +00:00
Pierre-Yves Chibon
c16f0abe35
Adjust name and tag tasks
2015-05-21 11:02:39 +02:00
Patrick Uiterwijk
157d2e00eb
Fix pagure facls for https cloning
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-05-21 08:58:11 +00:00
Pierre-Yves Chibon
5464c589d1
Add support for git clone over http to pagure
2015-05-21 09:21:25 +02:00
Pierre-Yves Chibon
82b5e526c8
Restart postfix after changing the list of aliases
2015-05-19 18:34:17 +02:00