Commit graph

48 commits

Author SHA1 Message Date
Pierre-Yves Chibon
8832f7c5ca Blacklist projects as project name on pagure, it's an existing URL 2015-12-07 17:23:23 +01:00
Pierre-Yves Chibon
956a4e4a9b Install and configure the webhook server for pagure 2015-11-30 16:19:38 +01:00
Pierre-Yves Chibon
d35500929e Add the datagrepper information to pagure config 2015-11-20 09:47:09 +01:00
Pierre-Yves Chibon
ff845a226d Move the folder storing the local clone of remote repo one level up
This fixes ``gitolite trigger POST_COMPILE`` that barfed on this otherwise, but
I am not sure why.
2015-11-13 15:11:30 +01:00
Pierre-Yves Chibon
2bbe785292 Make pagure.io be before pagure.org so that we always server that SSL cert by default 2015-08-14 00:22:03 +02:00
Pierre-Yves Chibon
74fab3b93b Fix the GIT_URL for the new pagure version 2015-08-05 21:55:22 +02:00
Pierre-Yves Chibon
8ccd985b70 Move pagure.io above pagure.org to server pagure.io SSL ceret by default 2015-08-05 16:16:52 +02:00
Pierre-Yves Chibon
271d20cfd8 Add the trailing slash to fix the links in the new version of pagure 2015-08-05 16:11:15 +02:00
Pierre-Yves Chibon
1b4501657f docs in stg now has its own certificate 2015-08-05 16:02:19 +02:00
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
aab7b9e5fc Adjust the apache configuration of docs.pagure.org to be ssl only 2015-07-23 09:57:45 +02:00
Kevin Fenzi
1803473df8 Adjust pagure config to work. 2015-07-23 03:45:11 +00: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
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
f659e160ac Fix the stunnel configuration and adjust the EV endpoint 2015-06-19 00:03:01 +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
03dd049529 Let's allow pring statements for now in pagure 2015-06-14 09:56:09 +02: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
8f66dcee0e Disable the IRC plugin 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
Pierre-Yves Chibon
5464c589d1 Add support for git clone over http to pagure 2015-05-21 09:21:25 +02:00
Pierre-Yves Chibon
4b811b5b6d Set the list of IPs allowed for the internal API endpoints 2015-05-19 17:45:23 +02:00
Pierre-Yves Chibon
6c124824fc Move the tmp folder under /srv 2015-05-19 16:56:29 +02:00
Pierre-Yves Chibon
8564b9d5d3 Set the salt for email and to use when sending email from pagure 2015-05-19 16:42:48 +02:00
Pierre-Yves Chibon
eb4960a401 Be sure the cookie is always using SSL, even temporarily 2015-05-19 12:57:54 +02:00
Ralph Bean
8298f7e068 Give pagure its own fedmsg bus. 2015-05-18 18:03:11 +00:00