Ryan Lerch
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2024-11-28 17:31:45 +10:00
Aurélien Bompard
fcad3efdfd
Dist-Git: adjust for OIDC changes
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2024-11-14 08:02:08 +01:00
Kevin Fenzi
a6878760ea
distgit: increase cgi body to 10G from 1G default to allow larger uploads
...
Fixes ticket 11001
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2022-11-23 10:13:00 -08:00
Pierre-Yves Chibon
19ad9380b0
dist-git: clean up the playbook for the left over phx2 sections
...
Remove all the sections there were RHEL7/phx2/gitolite related
now that we're running on RHEL8 with python3 and all of its goodies
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2020-07-10 12:51:56 +00:00
Pierre-Yves Chibon
aacd00cdc1
distgit: iad2 also runs rhel8 and thus python 3.6 so adjust the path to the static files
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2020-06-04 14:27:01 +02:00
Pierre-Yves Chibon
2d1de54c89
distgit: Apply Kevin's fix to get the static files to show
...
Basically, we have two places where we apply the rewrite rule
allowing to access static files either in pagure-dist-git
or in the regular pagure.
We had fixed the first one earlier and this commit fixes the
second one.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2020-05-23 21:30:32 +02:00
Stephen Smoogen
4d9f322a13
[repospanner] When defining ports please use the variables in global.yml to make sure that all the files get edited during a playrun versus just one or two. Thank you.
2019-04-12 14:22:24 +00:00
Pierre-Yves Chibon
c444bb0a61
Install a repospanner-admin config file in /etc/pagure
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2019-02-12 11:46:03 +01:00
Patrick Uiterwijk
a8dfa2c319
Keep this suexec line for cgit for now
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2018-11-21 12:53:51 +01:00
Patrick Uiterwijk
82ae94410b
Use in-pagure HTTP pull/push
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2018-11-21 12:46:09 +01:00
Patrick Uiterwijk
5f5ce08129
Cover all repos with auth require
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2018-10-06 21:56:04 +02:00
Patrick Uiterwijk
107ffe30bf
Allow anon gitolite cloning
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2018-10-05 16:30:01 +02:00
Patrick Uiterwijk
02ff6983fa
Use the Pagure code for http cloning
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2018-10-05 07:28:38 +02:00
Kevin Fenzi
bb0793c9d5
typo city. fixing
2018-08-15 20:59:21 +00:00
Kevin Fenzi
785ecfc9a0
and finally use the new cert
2018-08-15 20:45:36 +00:00
Kevin Fenzi
e1a8b796df
fix pkgs redirect to work for letsencrypt
2018-08-15 20:33:00 +00: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
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
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
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
bf392d6e41
Add auth_openidc config
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-05-23 21:17:38 +00: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
Patrick Uiterwijk
4aa1c5bcc3
Block all but internal from pkgs.fp.o and set up robots.txt files
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-02-08 22:44:06 +00:00
Patrick Uiterwijk
321ad82c19
Unblock pkgs and do redirect instead
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2018-02-05 13:17:54 +00:00
Pierre-Yves Chibon
d2fa8a904b
Fix the overriding of static files in dist-git
2017-09-05 10:36:06 +02:00
Pierre-Yves Chibon
a0c61406f0
Let's not crash the entire script if the repo is present but empty
...
This is the case with :
https://src.fedoraproject.org/rpms/ntetris
https://src.fedoraproject.org/rpms/python-yubikey-manager
2017-08-17 11:03:40 +02:00
Pierre-Yves Chibon
5fda2de1f6
More fixes to make the mass-branching script work (was done yesterday)
2017-08-16 14:38:23 +02:00
Pierre-Yves Chibon
70b6353dd9
Start porting pkgdb_sync_git_branches to a world w/o pkgdb
2017-08-15 22:28:20 +02:00
Patrick Uiterwijk
0fa102cbff
Forward main page requests and login requests to src.fp.o
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2017-08-08 13:02:38 +02:00
Pierre-Yves Chibon
3fb6322541
Actually we need python-fedmsg-genacls and its config file
2017-08-04 23:02:08 +02:00
Pierre-Yves Chibon
8a117cd76c
Let fedmsg-genacls piles up on the blockerbug FAS account
2017-07-25 15:48:04 +02:00
Pierre-Yves Chibon
be8af9ae90
Somehow string needs quotes...
2017-07-25 15:28:43 +02:00
Pierre-Yves Chibon
7180f1669a
Move fedmsg-genacls-config.py to a template and configure it for the new world
2017-07-25 15:21:00 +02:00
Patrick Uiterwijk
48773ca530
Make the hostname valid pkgs..stgfedoraproject.org is not valid somehow
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-07-21 22:13:44 +00:00
Pierre-Yves Chibon
51842f1648
Drop genacls.pkgdb in stg
2017-07-13 17:52:41 +02:00
clime
70442e105d
dist-git: setup for production
2017-05-31 19:14:01 +02:00
clime
cc29d3ed65
pkgs-stg: employ the dist-git package setup_git_package and mkbranch scripts
2017-05-22 09:25:39 +02:00
clime
b2ed7fde89
pkgs-stg: use the new dist-git package
...
only upload.cgi script is used for now
2017-05-09 05:34:26 +02:00
Pierre-Yves Chibon
47f282b645
Make all the maintainers, groups and users have commit access
2017-04-21 12:13:38 +02:00
Pierre-Yves Chibon
89180a68ed
Instantiate the variable and properly pass on the DB session
2017-04-21 11:58:10 +02:00
Pierre-Yves Chibon
69cedaca12
Make all the creation (group and project) be done by the releng user
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2017-04-21 11:37:21 +02:00
Pierre-Yves Chibon
d0d66db763
Drop the test-* namespaces
2017-03-27 12:35:34 +02:00
Mohan Boddu
81e0d3a84b
Undo the changes for pkgdb syncing git branches
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com >
2017-03-01 01:51:03 +00:00
Mohan Boddu
0dfce6597f
Fedora 26 Branching
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com >
2017-02-28 21:30:32 +00:00
Mohan Boddu
b3a8bcf78e
Use mkbranch_branching for branching
...
Signed-off-by: Mohan Boddu <mboddu@redhat.com >
2017-02-28 19:07:12 +00:00
Pierre-Yves Chibon
ba5f8484a7
Make updating gitolite and pagure multi-threaded
...
This speeds up the process a little bit but not enough for what we want
we'll still need to optimize this.
2017-02-24 19:05:55 +01:00
Pierre-Yves Chibon
f22ac8df1d
Include the forks in the gitolite configuration
2017-02-21 16:17:09 +01:00