Commit Graph

757 Commits

Author SHA1 Message Date
Pierre-Yves Chibon
dcbe830ef3 Don't specify a logging level on the console handler
This allows each logger to log at whichever level they want and always
show up in the console log (regardless of their level).
Otherwise, we can log 'debug' on pagure, only the level specified
in the handler will show up.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-07-20 10:17:22 +02:00
Patrick Uiterwijk
59766dcce9 For the acme redirect, use http
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-07-19 21:02:08 +00:00
Rick Elrod
4a60ddc875 Nuke pkgdb some more... and probably break everything.
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-07-19 20:40:14 +00:00
Pierre-Yves Chibon
0e04af843a Enable the email handler on src.fp.o
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-07-19 15:29:52 +02:00
Patrick Uiterwijk
c4844d58ed Move cgit to suexec'd as well
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-06-12 11:10:34 +02:00
Patrick Uiterwijk
6773c7a403 Fix the other location that refers to upload.cgi
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-06-11 17:32:42 +02:00
Patrick Uiterwijk
5c18fc378d Redirect 'smart' http checkout to canonical
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-06-11 17:29:09 +02:00
Patrick Uiterwijk
4a8fc6080e All scripts on pkgs02 are now run as pagure
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-06-11 17:29:09 +02:00
Kevin Fenzi
9ffea1b7f1 Fix typo 2018-06-04 19:06:07 +00:00
Patrick Uiterwijk
c666f61ee4 Deploy https pushing to prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-31 00:17:48 +02:00
Patrick Uiterwijk
4b841972b3 The allow all is not needed here anymore
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-29 12:11:43 +02:00
Patrick Uiterwijk
6a8abd2306 We are using basic auth
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-28 15:50:47 +02:00
Patrick Uiterwijk
06c04a3fb9 Commit http push stuff
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-28 15:08:48 +02:00
Patrick Uiterwijk
267ebd639f Use post
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-24 00:07:15 +02:00
Patrick Uiterwijk
30aa2a5557 I had already set this up. Use the registered client ID
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:30:21 +00:00
Patrick Uiterwijk
e2177e7a00 Remove stray A
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:28:02 +00:00
Patrick Uiterwijk
39bfc5317e Only do m_a_openidc in staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:26:11 +00:00
Patrick Uiterwijk
5d2c3bd947 This is a template
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:25:36 +00:00
Patrick Uiterwijk
54e41feed7 dependencies are not common for Fedora Infrastructure ansible roles
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:24:21 +00:00
Patrick Uiterwijk
bf392d6e41 Add auth_openidc config
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:17:38 +00:00
Patrick Uiterwijk
b10187776c Install m_a_openidc for pkgs staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-23 21:09:36 +00:00
Pierre-Yves Chibon
7b9cb9e8a5 Let's point to /openid/ as Patrick said
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-22 15:25:11 +02:00
Pierre-Yves Chibon
f8ce72b87d Use ipsilon in stg for dist-git.stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-22 15:14:18 +02:00
Kevin Fenzi
61646457e1 this is roles_path 2018-05-19 18:16:48 +00:00
Pierre-Yves Chibon
e18ba2107b Cleaner way to install from another role
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:48:25 +02:00
Pierre-Yves Chibon
689fe7ece7 Fix owner
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:46:03 +02:00
Pierre-Yves Chibon
179e53556b One more
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:45:04 +02:00
Pierre-Yves Chibon
3ab3d86f26 What about this
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:44:12 +02:00
Pierre-Yves Chibon
e2ef9d489d Let's see if this works
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 12:42:06 +02:00
Pierre-Yves Chibon
41688a48ab Turn off sending emails on commit on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-18 09:49:21 +02:00
Pierre-Yves Chibon
deadff2000 Add the create_branch ACL to pagure's config on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-14 21:30:36 +02:00
Patrick Uiterwijk
7f9d48bbf1 Revert "Let's only start the services for now"
These services must run on system start or parts of Pagure will be down

This reverts commit 75cafd3584.
2018-05-10 13:25:22 +02:00
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Pierre-Yves Chibon
76dcfec4b0 Update the systemd service file for dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-03 12:30:36 +02:00
Pierre-Yves Chibon
b22cdd3e17 Always send fedmsg notification on dist-git
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-03 12:08:59 +02:00
Pierre-Yves Chibon
840dea9774 Port the .wsgi file to pagure 4.0
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-05-03 10:41:27 +02:00
Pierre-Yves Chibon
724308a71a Turn back on the cron jobs on dist-git.stg, they got fixed
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-23 14:33:04 +02:00
Patrick Uiterwijk
9cbf120b54 Make sure packagers can access the fedmsg key
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 18:17:04 +02:00
Pierre-Yves Chibon
809489bc7c Disable the fedmsg hook in pagure's ui in dist-git
Since that hook will from now on be enabled for all projects

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-17 14:04:01 +02:00
Pierre-Yves Chibon
c7133fefad Let's disable the cron on staging dist-git until they are fixed
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-04-05 19:02:04 +02:00
Nick Bebout
77bd7da1c3 Add BZ email exception for jbwillia 2018-03-29 20:32:49 +00:00
Nick Bebout
230a9e78c9 Add a bugzilla email exception for jbwillia 2018-03-29 17:39:34 +00:00
clime
f915d6bed6 dist-git: add temporary cache_dir_override option 2018-03-27 12:41:10 +02:00
Kevin Fenzi
877215fa7d Make the redirect for pkgs handle more than just / Ticket https://pagure.io/fedora-infrastructure/issue/6785 2018-03-20 18:59:54 +00:00
Kevin Fenzi
5bbb1c5f5e fix invocation of git-check-perms. This is needed to setup hooks on new packages as they are added 2018-03-09 19:01:56 +00:00
clime
4f901eb9cf update dist-git.conf for next dist-git release
* this change is not exactly necessary due to default values, but
  I think it's better to be explicit
2018-02-26 14:46:54 +01:00
Nick Bebout
c737933ae6 Add dustymabe to bugzilla exceptions 2018-02-22 21:13:46 +00:00
Pierre-Yves Chibon
56efae7e16 Do not relying on the existance of 3 spaces to make decisions
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-21 15:21:21 +01:00
Pierre-Yves Chibon
445e2eadfc Invert logic of namespace vs pdc type
We are iterating through the gitolite config that is namespace
aware (ie: rpms, modules) and are checking if the repo is in the
list to update, list coming from pdc and thus style aware not
namespaces (ie: rpm, module).
So invert the logic.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2018-02-20 17:23:21 +01:00
Pierre-Yves Chibon
d640cbbba0 Fix if the entry exists in pdc and not on disk and typo in an error message 2018-02-20 17:22:58 +01:00