Commit Graph

75 Commits

Author SHA1 Message Date
Kevin Fenzi
6e982da0d4 bugz.fedoraproject.org: urlescape redirect instead of \
In a recent apache update they fixed CVE-2023-25690 which now disallowes
redirects with spaces in them. So, just urlencode the space instead of
trying to escape it and it should redirect correctly.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-15 12:29:55 -07:00
Samyak Jain
549e5d3ace Branch Fedora 38 from rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2023-02-08 20:30:05 +01:00
Tomas Hrcka
a7dcdbd794 Branch Fedora 37 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-08-09 17:58:51 +02:00
Michel Alexandre Salim
fb42ccf3e6 Make bugz.fedoraproject.org display all open bugs for a package
Currently it's configured to show NEW, ASSIGNED, and ON_QA bugs.

However:
- this misses pending Bodhi updates, which have bugs set to MODIFIED
- approved but not built package reviews are often set to POST

For simplicity, just show all open bugs with `__open__`.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-04-03 17:50:13 +00:00
Tomas Hrcka
dfcaed1b32 F36 branching
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-02-08 15:55:04 +00:00
Tomas Hrcka
e15133639e Branching f35 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-08-10 15:17:02 +00:00
Mattia Verga
15f3dea6a1 Use bugzilla.stage instance after partner-bugzilla shutdown
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2021-07-31 17:08:49 +00:00
Tomas Hrcka
c6b02d2071 Branching f34 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2021-02-09 19:09:18 +01:00
Tomas Hrcka
309026dcc3 Branching F33 from rawhide
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2020-08-11 16:07:06 +00:00
Kevin Fenzi
0dea991f21 proxies: Try and correct the bugz url to show Fedora EPEL right
Seems if you use a %20 for a space in the Redirect url it will just pass
that on and not urldecode it. So, try and just \ the space and see if
that works better.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-05 17:13:28 -07:00
Francois Andrieu
798bf46c82 bugz: include ON_QA status in redirect
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-31 14:05:18 +02:00
Kevin Fenzi
ce63d5f3ea bugz: Try and redirect this to bugzilla for now since we have no packages app. 2020-07-29 13:51:14 -07:00
Stephen Smoogen
d89168a30f clean up download usage 2020-06-06 15:23:40 -04:00
Mohan Boddu
fdf52dca0a Branching F32 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-24 21:34:22 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Kevin Fenzi
a562b8a3f8 ansible_distribution_version: address FIXME's/review tweaks.
download: mod_limitipconn isn't used anyone, dropped the entire line.
transient_cloud: just dropped the dnf part and use 'package' entirely.
sshd_config: UsePrivilegeSeparation isn't used in Fedora at all.
koji_hub: no fedora or rhel8 hubs yet, so just 7 is fine for now.
openvpn: changes look ok
packages3: Should get cverna to review, packages is using fedora now.
varnish: no rhel8 varnish servers yet.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Mohan Boddu
fec2d57539 Branching F31 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-04-24 21:34:08 +02:00
Stephen Smoogen
01697e28aa [packages3] put in distmappings for epel8 2019-06-06 17:35:59 +00:00
Mohan Boddu
afcfd8b730 Branching F30 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2019-02-19 20:07:12 +00:00
Clement Verna
e04cc56096 fedora-packages: deploy latest version and update box to f29
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-12 08:25:27 +01:00
Kevin Fenzi
665023329a This creates= was accidentally removed. This means all master runs have been running this on both packages03 and packages04 every run. :( 2018-11-26 18:57:26 +00:00
David Shier
c0f45892ff Removed all traces i could fild of the tagger and statscache (and stats_cache for databases) in ansible, proxy configs, and the nagios config. Pursuant to request in pagzre issue https://pagure.io/fedora-infrastructure/issue/7267 . - Odin2016 2018-10-03 17:50:38 +00:00
Mohan Boddu
1324e6784d Branching F29 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-08-14 16:58:01 +00:00
Kevin Fenzi
250bd9ade6 Revert "Update path to fedora-packages wsgi file"
This reverts commit 1144e921bc.
2018-07-20 20:15:54 +00:00
Clement Verna
1144e921bc Update path to fedora-packages wsgi file
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-07-18 11:06:00 +02:00
Mohan Boddu
68598ed941 Setup for branching f28 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-02-20 09:00:29 +00:00
Clement Verna
b8100fc5ff Fix packages stg bugzilla.
This commit add the correct bugzilla address for
packages.stg.
It also cleanup the template by making use of
the env_suffix variable.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-14 19:43:45 +01:00
Clement Verna
a4b3eee7e6 Cleanup the packages03 role
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-14 10:05:22 +01:00
Clement Verna
5885e444be Set the correct selinux context to allow httpd to clone git repos
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-13 20:32:22 +01:00
Clement Verna
d80ead8087 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>
2018-02-13 10:45:55 +00:00
Patrick Uiterwijk
ba4bccf109 Allow httpd_execmem and nfs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 18:48:37 +00:00
Patrick Uiterwijk
a0ea57487e Revert splitting creates out. That was invalid
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 13:00:30 +00:00
Clement Verna
6396276ec9 Add the destination for the icons during indexing
Signed-off-by: Clement Verna <cverna@tutanota.com>
2017-12-21 12:00:26 +01:00
Clement Verna
e22d3eb039 Cleanup packages httpd configuration file.
This commit remove the duplicated Directory configuration
and use apache 2.4 configuration syntax.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2017-12-21 10:54:38 +01:00
Patrick Uiterwijk
ad4a96b03f Allow access to icons
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-20 23:00:59 +00:00
Patrick Uiterwijk
a0c0e235c4 Add script_name for packages
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-20 17:40:53 +00:00
Patrick Uiterwijk
988148e972 Update the filename of the termlist database
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-20 03:15:59 +00:00
Patrick Uiterwijk
d510cef413 Fix path to xapian db
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-19 18:19:39 +00:00
Patrick Uiterwijk
1d7755a63f Move packages extra resources to apache
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-30 00:09:00 +00:00
Kevin Fenzi
4b57e2d022 Tweak path and set indexer to run only in stg for now via playbook 2017-10-13 21:21:32 +00:00
Kevin Fenzi
5bac2bb17e Fix packages vars for new version in stg 2017-10-13 21:11:54 +00:00
Kevin Fenzi
40561379f2 this is py2.7 now 2017-10-11 17:38:50 +00:00
Patrick Uiterwijk
ebec5485f2 Correctly configure koji
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-11 19:36:38 +02:00
Kevin Fenzi
ddc36498b0 fix task, creates is part of the command module 2017-10-10 23:56:35 +00:00
Patrick Uiterwijk
4c7079ce8e Make this work for both stg and prod
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-11 01:33:47 +02:00
Patrick Uiterwijk
c82fa60308 Create the database the first time we deploy packages
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-11 01:31:26 +02:00
Kevin Fenzi
4a8eec62f2 make packages http config work with either 2.2 or 2.4 2017-10-10 22:20:32 +00:00
Kevin Fenzi
1b76c99aff this one also should be rhel6 only 2017-10-10 22:13:51 +00:00
Kevin Fenzi
a9d7ce335d only apply dist hotfix on rhel6 hosts 2017-10-10 22:09:31 +00:00