action #2424
closed
osc plugin: prototype of a mechanism to notify involved users (without repetition)
Added by ancorgs over 10 years ago.
Updated over 10 years ago.
Description
The plugin should be able to notify involved users about failed builds and failed tests. The first approach will be writing a comment in the staging project mentioning all the submitters. The plugin will need to store some information about the already notified events, to prevent it to notify twice about the same test result of buildfail if it's invoked several timed (which will happen).
Of course, #2428 needs to be done before being able to finish this task.
I see the comments, where is the basic API and rules for the plugin.
In OBS you have the following routes for creating, reading and deleting comments:
- get 'comments/request/REQUEST_ID'
- post 'comments/request/REQUEST_ID'
- get 'comments/package/PROJECT_NAME/PACKAGE_NAME'
- post 'comments/package/PROJECT_NAME/PACKAGE_NAME'
- get 'comments/project/PROJECT_NAME'
- post 'comments/project/PROJECT_NAME'
- delete 'comment/COMMENT_ID'
- Priority changed from Normal to Urgent
- Target version deleted (
Staging sprint 5)
- Priority changed from Urgent to Immediate
- Target version set to Staging sprint 08
- Status changed from New to In Progress
I tried to test the best way I can, but is not enough. For example, I didn't receive any notification from OBS for any comment with @aplanas text.
Also I commented the remove of the comments in the acceptance command to avoid lost of data until there are more test in the code.
- Status changed from In Progress to Resolved
I will work fixing / adjusting comments when the need appears.
Also available in: Atom
PDF