Repository navigation
Send the report emails to extra addresses - #394
Merged
Merged
Conversation
Add the job parameter extraEmails, a space separated list of email addresses. all-reports.py takes it as --extra-emails and adds these addresses to the recipients of every report, next to openmodelicabuilds and the commit authors. Fixes OpenModelica#393. Assisted-by: Claude Opus 5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Fixes #393.
Purpose
The report emails go only to openmodelicabuilds@ida.liu.se and to the authors of the OpenModelica commits in each report. This adds a way to send them to other addresses too.
Approach
extraEmails: a space separated list of addresses. Empty by default, which changes nothing.all-reports.pygets--extra-emails. It adds each address that contains@to the recipients of every report it generates. As for the other recipients, a report is sent only if it has improvements or regressions.reportstage passes the parameter as--extra-emails="$extraEmails". The shell takes the value from the environment, so the value is not part of the command.Testing
python3 -m py_compile all-reports.pypasses."a@x.org b@y.se junk"givesa@x.organdb@y.se, and an empty value gives no addresses.An AI agent (Claude Code) wrote this change.
🤖 Generated with Claude Code