aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (buildsystem) Set llvm17-suite timeout to 64000Dan Fandrich2024-03-041-0/+1
|
* Allow mga-qa-committers to post to backports-announce (mga#32854)Dan Fandrich2024-03-041-1/+4
| | | | | There are currently no automated e-mails to that list, so this allows some communication to backports users.
* Drop trailing slash in vhost namesDan Fandrich2024-03-013-3/+3
|
* Fix vhost names for the new https: redirects (mga#32903)Dan Fandrich2024-03-013-0/+3
| | | | The puppet object names are used otherwise which isn't correct.
* Enable https: versions of all http: redirects (mga#32903)Dan Fandrich2024-03-013-0/+11
| | | | | Also, reinstate the http://start.mageia.org/ redirect that was accidentally deleted in the previous commit.
* Enable https on start.mageia.org (mga#32903)Dan Fandrich2024-03-011-0/+1
|
* Skip reply_to_header in Sympa list config when falseDan Fandrich2024-02-211-0/+2
| | | | | | | | | false means we don't want to add a Reply-To: header, which is Sympa's default, but writing this section causes a warning message: Bad entry "other_email false" for key "other_email", paragraph "reply_to_header" when running "sympa upgrade".
* Add an SPF DNS record for group.mageia.orgDan Fandrich2024-02-191-2/+3
| | | | | | This complements the one for ml.mageia.org and is needed for some automated e-mails to get through. There should be no senders from this domain other than on Mageia infrastructure.
* Fix cleanup of noarch packagesPascal Terjan2024-02-171-2/+2
| | | | | | | There were 2 bugs: - getting the architecture got broken due to a missing % - name of the binary package instead of the src was used, somethimes they are different
* Allow subversion and root as senders in *-commit listsuser/danf/testDan Fandrich2024-02-162-6/+13
| | | | | | | | When subversion update messages were changed to come from a new address in commit f3f49a26, not all the mailing lists there were send to were updated to accept the new sender. This change whitelists it for all the remaining subversion destination lists. It also adds root@mageia.org to some lists, which were likely missing some other automated messages.
* Disable https: probes on friteuseDan Fandrich2024-02-161-1/+1
| | | | Use of https was disabled there as unnecessary in commit 56079da1.
* Add a ticket_map for Bugzilla to hook_sendmail.pl (mga#2566)Dan Fandrich2024-02-151-0/+4
| | | | | This time, use a YAML mapping, as I suspect that's what the code is looking for instead of a plain string.
* Remove the ticket_map option in hook_sendmail.pl (mga#2566)Dan Fandrich2024-02-131-2/+0
| | | | | | | | It resulted in the svnlook error: Can't use string ("\bmga#(\d+)\b=https://bugs.magei"...) as a HASH ref while "strict refs" in use at /usr/share/perl5/vendor_perl/SVN/Notify.pm line 1789.
* Send packages-commits e-mails from new addressesDan Fandrich2024-02-123-4/+4
| | | | | These mails should be delivered more reliably because this domain has an SPF record.
* Improve the subversion commit messages (mga#2566)Dan Fandrich2024-02-121-0/+6
| | | | | | - Add the path to the subject - Add a link to Bugzilla for bugs - Add a link to svnweb
* Flush logs in on-the-pullDan Fandrich2024-02-121-2/+8
| | | | | | | | | | It's not perfect (logs for requests that are rejected by the server are still buffered) but at least normal requests can be immediately be seen in the logs now. A better approach would be to use a logging function that flushes automatically. Also, wait for the queue thread to complete before exiting so things are left in a clean state.
* Enable snapshots for cgit (mga#32534)Dan Fandrich2024-02-121-0/+1
|
* Connect to the forums server from the proxy via http:Dan Fandrich2024-02-101-4/+2
| | | | | | | The forum's certificate expired so the reverse proxy was returning 500 errors. But, since the forums server is running in a VM (friteuse) on the proxy server (sucuk), data never leaves the machine so there is no need to encrypt it.
* Send wiki e-mails from wiki_noreply@ml.mageia.orgDan Fandrich2024-02-101-1/+1
| | | | | This should resolve wiki e-mail delivery issues as b9c41d85 did for Bugzilla.
* Remove the DNS verification record (mga#32819)Dan Fandrich2024-02-101-3/+1
|
* Add DNS verification record for Gandi certificate renewalDan Fandrich2024-02-101-1/+3
|
* Tune alerting for some duvel partitionPascal Terjan2024-02-101-0/+2
| | | | | | binrepo is 93% full but that's fine (133G free) so alert at 95%. www is 97% full (3.5G free) but the only growing part is autobuild logs when it runs.
* Enable opportunistic TLS when receiving mail (mga#29514)Dan Fandrich2024-02-091-2/+3
|
* Create a self-signed certificate for incoming mail (mga#29514)Dan Fandrich2024-02-092-5/+15
| | | | This still needs to be enabled once it's checked.
* Send Bugzilla e-mails from bugzilla_noreply@ml.mageia.orgDan Fandrich2024-02-083-10/+10
| | | | | | | This is currently the only subdomain with an SPF record and is therefore the only one from which some mail providers will accept e-mails these days. Having _noreply in the name makes it more obvious that a reply will go nowhere.
* Eliminate an error message in a race condition in kill_viewvc.shDan Fandrich2024-01-271-4/+4
| | | | | If the process info can't be read, just skip it instead of displaying "[: : integer expression expected"
* Fix spec-tree-reports report generationDan Fandrich2024-01-252-1/+2
| | | | | | Remove errors.log or the report won't be generated. Also, log stderr to the journal or else the normal stderr logs will cause a spurious cron e-mail to be sent.
* 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
|