Commit Graph

28 Commits

Author SHA1 Message Date
James Antill
23641d29ab distgit: Copy the rsyslog logrotate from copr.
Signed-off-by: James Antill <james@and.org>
2025-07-15 19:43:48 -04:00
James Antill
3ea2e91e4f pagure: Add a copy of rsyslog-logrotate where ansible can find it.
Signed-off-by: James Antill <james@and.org>
2025-07-08 18:20:09 -04:00
James Antill
3c4184912e pagure: Use the basefile as we moved from syslog to rsyslog.
Signed-off-by: James Antill <james@and.org>
2025-07-08 17:13:51 -04:00
Michal Konecny
3d9bc5b494 [distgit] Fix the patch
The patch provided originally was made against the latest pagure code,
but we are not on the latest dev version. So I created the patch
directly for the source file deployed on src.stg.fedoraproject.org.
2025-04-30 15:09:25 +02:00
Michal Konecny
5b0120cea9 [dist-git] Fix for api call token
There is a local fix on src.fedoraproject.org that is missing on
src.stg.fedoraproject.org. I provided the fix in
https://pagure.io/pagure/pull-request/5525 and this commit is adding it
as patch to ansible, so the change is permanent.
2025-04-30 12:36:11 +00:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Kevin Fenzi
3c960624f4 fas2: good bye! You served long and well
Remove fas2 and all the checks that depended on it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-01 12:09:36 -07:00
Lenka Segura
d654d59f3a Change FAS link from admin.fp.o to accounts.fp.o 2021-08-04 14:19:45 +00:00
Pierre-Yves Chibon
618cbde6cc distgit/pagure: make the selinux files available to the distgit/pagure role
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-11-05 15:55:14 +01:00
Pierre-Yves Chibon
43be9500bd distgit/pagure: drop a hotfix that is no longer needed
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:20 +02:00
Pierre-Yves Chibon
55e68ff124 distgit/pagure: fix comment
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
9f933fddee distgit / fas override: add override for pkfed
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Pierre-Yves Chibon
6ae1ad74d4 distgit/pagure: actually apply the hotfix
So in out dist-git setup the git hook have a dedicated configuration
file which only contains a read-only access to the database.
This is because of the way our dist-git is setup where every packager
actually has a shell account on the machine and the hook are run by
that account.
So if the packager manages to get a shell access, they will be able to
read this configuration file and we do not want to give them read/write
access to the database.
Pagure however in the default hook tries to update the database, among
other it tries to clear the cached merge status of the open PR when a
commit is pushed.
For a nice UX, it does this within the hook process, this way there is
no race-condition and users accessing a PR right after a push will get
an up to date merge status (as it will be re-generated).
But we cannot do this in dist-git since we cannot update the database
directly, so instead, with this hotfix, we move the process of cleaning
up the merge status to an async job that will have read/write access
and there may be some race-condition in displaying the merge status
but so be it.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-03-07 16:31:25 +01:00
Pierre-Yves Chibon
89fce190b9 [distgit/pagure] hotfix the default hook to clean the PR merge status async
This is necessary because of the way our dist-git is deployed, the git hook
only have a read-only access to the database so they can't reset the cached
merge status of the open PRs in the same process so we need to do this via
an async process which is basically what this hotfix does.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-02-27 17:23:25 +01:00
Pierre-Yves Chibon
dd2d0643ec [distgit/pagure] Drop --autoreload from our systemd service file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-02-27 10:31:55 +00:00
Kevin Fenzi
c95ded92e8 add bugzilla exception for thofmann - https://pagure.io/releng/issue/7905 2018-12-18 19:40:11 +00:00
Kevin Fenzi
ed43e211cf add bugzilla exception for dwd 2018-12-07 20:30:36 +00:00
Kevin Fenzi
8c007d54aa compress logs on pkgs02 2018-07-30 20:23:50 +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
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
Nick Bebout
c737933ae6 Add dustymabe to bugzilla exceptions 2018-02-22 21:13:46 +00:00
Pierre-Yves Chibon
f12e3171ff Oups missed adding the apache config
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2017-09-29 16:14:55 +02:00
Ralph Bean
2a9968f867 Apply the bugzilla override fas hotfix to the new bugzilla sync script. 2017-08-10 19:12:29 +00:00
Pierre-Yves Chibon
0757b47a15 Install the customized systemd service files for pagure on distgit 2017-08-04 15:59:18 +02:00
Pierre-Yves Chibon
3aff7686a7 Try commenting out the group in the systemd service file 2017-07-26 22:27:08 +02:00
Pierre-Yves Chibon
578d5a0afa Override the default pagure_worker as the user is different 2017-06-30 14:36:40 +02:00
Pierre-Yves Chibon
c3c1c9ec05 Start working on installing pagure on distgit.stg 2016-07-20 18:27:18 +02:00