aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove comments from apache config snippetDan Fandrich2024-01-251-2/+2
| | | | Apache doesn't support comments here.
* Switch links to https: where possibleDan Fandrich2024-01-2520-25/+27
| | | | | | | All these point to valid https: resources, but there is a small chance that some unusual interaction will cause it not to work. Some of these changes also won't take effect until the server is restarted, so we'll need to keep this in mind if failures occur long from now.
* Switch links to https: that are found in commentsDan Fandrich2024-01-2521-25/+25
| | | | These are for use by humans only.
* Run the spec-rpm-mismatch report daily on duvelDan Fandrich2024-01-253-0/+60
| | | | | The report will be available at https://pkgsubmit.mageia.org/spec-rpm-mismatch.html
* Make the schedbot cleaning jobs actually cleanDan Fandrich2024-01-231-6/+6
| | | | | | | The test jobs seem to be working as desired, so make them actually start deleting the old files every 4 hours. Use -ignore_readdir_race in all of them to avoid errors when schedbot cleans the files in the middle of a run (an unlikely situation because of the clean-up times involved).
* Update a missed package install to Python3Dan Fandrich2024-01-231-2/+2
| | | | Follow-up to 82f3da50
* Use the config variables for the schedbot cleanup jobsDan Fandrich2024-01-232-32/+19
|
* Don't delete empty placeholder directoriesDan Fandrich2024-01-231-1/+1
| | | | | | | Even if 9/nonfree/backports_testing/ hasn't had any builds recently, it shouldn't be deleted. Only delete directories deeper in the hierarchy. Follow-up to f7e017e8
* Add a pair of test jobs for clearing old schedbot packagesDan Fandrich2024-01-231-15/+35
| | | | | | | | | | | | | | It's now confirmed that tidy() has been creating huge (2.6 GiB) state files that the Puppet agent loads before every agent run, which causes runs to take up to 4 days each and use of all RAM on the server. Cleaning files using find is more straightforward and efficient and avoids this problem. The tidy() functions are disabled here and the cron jobs aren't actually deleting files yet, so a follow-up commit will enable deleting imminently, once testing shows it will work. Follow-up to 59d57245
* Remove ciabot_svn.pyDan Fandrich2024-01-181-398/+0
| | | | This hasn't been used in over a decade (removed in commit 18854eb0).
* Switch libvirt helpers to Python3Dan Fandrich2024-01-183-15/+4
| | | | | No code changes are needed. Also, drop support for older than mga7 since the two nodes that need this are running that.
* Switch gitmirror files from templates to filesDan Fandrich2024-01-184-3/+3
| | | | | | There are no template substitutions needed in these files, so allowing them opens the danger of substitutions happening unknowingly with future changes to these files.
* Convert on-the-pull to Python3Dan Fandrich2024-01-181-90/+80
| | | | | | It now also passes pytype and flake8 checks. Also, improve logging in the case of errors
* Specify the git_multimail.py file using different syntaxDan Fandrich2024-01-171-1/+1
| | | | | | | Puppet complained with "Files must be fully qualified" using the file() function. Follow-up to 0ea383bf2
* Add a test cron job to see how it would clean up upload logsDan Fandrich2024-01-151-0/+8
| | | | | | | The Puppet method for doing this seems to be what's causing its memory usage to reach the size of the physical RAM in the system and take up to 4 days to complete a Puppet run. The test will show the files being deleted and how long it takes, but won't actually delete them.
* Fix gitweb update integration in the git hookDan Fandrich2024-01-151-1/+1
| | | | The service doesn't support TLS.
* Convert git-post-receive-hook to Python3Dan Fandrich2024-01-153-97/+105
| | | | | | | | | | | | | | | | | | | | | This depends on a newer version of pybugz that's Python 3 compatible (tested with 0.14) and git_multimail.py, which has already been updated. Replace token support with API key support, as per the latest pybugz (and Bugzilla). If an API key is found, it will be used and if not found it will fall back to username/password. No attempt is made to try to create an API key in the same way that a token was minted before. Use a different file name for an API key for coexistence with a token, which is still used by other programs. Add a debug flag for enabling more logging to better see when things go wrong. Create variables for configuration items. Log a message when an i18n e-mail is sent. Do a few little code cleanups.
* Fix a harmless message typoDan Fandrich2024-01-151-1/+1
|
* Copy git_multimail.py as-isDan Fandrich2024-01-132-1/+1
| | | | | Don't try to perform template variable substitution because there are strings in the file that look like substitutions but aren't.
* Add error logging to git Bugzilla update code (mga#32716)Dan Fandrich2024-01-121-2/+2
|
* Add a favicon on the mirrors status page (mga#12220)Dan Fandrich2024-01-121-0/+1
|
* Properly extract e-mail address in i18n git mailDan Fandrich2024-01-121-1/+1
| | | | | This file had what looked like an ERB delimiter eaten by Puppet so git didn't see the right percent placeholder to get the address.
* Further adapt git-post-receive-hookDan Fandrich2024-01-121-2/+1
|
* Further adapt git-post-receive-hookDan Fandrich2024-01-121-1/+6
|
* Adapt git-post-receive-hook to new git_multimail.pyDan Fandrich2024-01-121-1/+1
|
* mgagit: Update to git_multimail.py a984395eDan Fandrich2024-01-121-419/+2260
| | | | | | | | | | This is from https://github.com/mhagger/git-multimail I've reapplied the changes which avoid some unnecessary error messages when the summary email address is not configured (used for i18n mails). This latest upstream version also supports Python 3 although the shebang is left at Python 2.
* Display the time zone at start in check_mirrors_statusDan Fandrich2024-01-081-1/+1
|
* Cleanup duplicate src.rpmPascal Terjan2024-01-031-2/+15
| | | | | | | Sometimes someone moves a package manually and we end up with several versions of a package. In this case we should delete the src.rpm and handle its binary packages like if it was gone.
* Bump timeouts in check_mirrors_statusDan Fandrich2024-01-011-2/+2
| | | | | Slow systems/networks might be the reason for the occasional missing data causing previous crashes.
* Give the mirror summary page a titleDan Fandrich2024-01-011-2/+4
| | | | Also, use CSS to highlight the colour summary.
* Another nil ref_times check in check_mirrors_statusDan Fandrich2024-01-011-1/+1
|
* Add another ibiblio hots we are currently rejectingPascal Terjan2023-12-301-0/+1
|
* Better handle nil ref_times in check_mirrors_statusDan Fandrich2023-12-281-1/+1
| | | | | This happens every once in a while and results in a cron job failure e-mail.
* Remove some extra quote characters accidentally submittedDan Fandrich2023-12-271-3/+1
|
* Port ldap-sshkey2file.py to Python 3Dan Fandrich2023-12-272-96/+91
| | | | It now also passes pytype and (mostly) flake8 checks.
* Fix units to be days in youri-checkDan Fandrich2023-12-271-1/+1
|
* Fix max_days calculation portability in youri-checkDan Fandrich2023-12-261-1/+3
| | | | This method should work in the old Puppet 3.6 we're using
* Have vhost_simple create an https site, tooDan Fandrich2023-12-261-0/+5
| | | | | This is only currently used by xymon, but it looks like it could be used to simplify a few other vhosts.
* Fix global variable access in the xymon templateDan Fandrich2023-12-261-2/+2
| | | | This fixes commit eb04f63d
* Provide a slapd file for the master, tooDan Fandrich2023-12-203-0/+43
| | | | Puppet insists on it.
* Disable the slave LDAP backup using the right config fileDan Fandrich2023-12-202-4/+8
| | | | | The cron job uses the slapd file, not the ldap file to configure itself, so disable the job there instead. This updates commit a27358df4
* Add an SPF DNS record for ml.mageia.orgDan Fandrich2023-12-201-2/+5
| | | | | | This only affects mailing lists from @ml.mageia.org and not user e-mails (from @mageia.org). The mailing list is configured to rewrite the sender of each message as X-owner@ml.mageia.org
* Fix the xymon tests of forums.mageia.orgDan Fandrich2023-12-201-2/+3
| | | | | | | The reverse proxy test hard-coded the address of the obsolete alamut server. Enable SNI on probes so that friteuse returns the correct certificate. Get the addresses from the configuration instead of hard-coding them.
* Allow members of mga-sysadmin to run sudo on all serversDan Fandrich2023-12-203-0/+9
| | | | | | | | This is try #2 after e0230ba1 was reverted. This time, the sudoers file is given a name that will cause it to be sorted before any other rules, allowing those other rules to override it. This is on the assumption that the revert was needed because a NOPASSWD: rule wasn't taking effect because this one (which requires a password) took precedence.
* Disable LDAP backup on slaveDan Fandrich2023-12-192-1/+39
| | | | | The master is backed up and is the source of reference, and the slave backup was just throwing up errors due to missing packages.
* Allow mga-qa-committers to write advisoriesPascal Terjan2023-12-191-1/+1
| | | | | | | We can have only one group so mga-packagers was made a member of mga-qa-committers. Should fix mga#32424
* Fix Removing leading `/' from member names' warningDan Fandrich2023-12-121-2/+3
| | | | This should stop an unnecessary cron warning e-mail.
* Also backup the sv locale in backup_blog-files.shDan Fandrich2023-12-121-1/+1
|
* (buildsystem) Set rocm-llvm timeout to 64000Nicolas Lécureuil2023-12-111-1/+1
|
* (buildsystem) Set rocm-llvm timeout to 64000Nicolas Lécureuil2023-12-021-1/+1
|