-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
anitya.project.version.remove.v2
topic
This will allow Anitya to support batch deletion and removes the need to send one message per deleted version. Closes #31 Signed-off-by: Michal Konečný <[email protected]>
- Loading branch information
Showing
6 changed files
with
243 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
92 changes: 92 additions & 0 deletions
92
...a_schema/tests/fixtures/org.release-monitoring.prod.anitya.project.version.remove.v2.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
[ | ||
{ | ||
"distro": null, | ||
"message": { | ||
"agent": "tibbs", | ||
"project": "gbrainy", | ||
"versions": ["GBRAINY_2_2_7"] | ||
}, | ||
"project": { | ||
"backend": "custom", | ||
"created_on": 1453077751.0, | ||
"ecosystem": "https://gent.softcatala.org/jmas/gbrainy/", | ||
"homepage": "https://gent.softcatala.org/jmas/gbrainy/", | ||
"id": 8936, | ||
"name": "gbrainy", | ||
"regex": "(?<=gbrainy-)[0-9]+\\.[0-9]+\\.[0-9]+(?=\\.tar\\.gz)", | ||
"updated_on": 1539016658.0, | ||
"version": "2.3.7", | ||
"version_url": "https://gent.softcatala.org/jmas/gbrainy/", | ||
"versions": [ | ||
"2.3.7", | ||
"GBRAINY_2_2_7" | ||
] | ||
} | ||
}, | ||
{ | ||
"distro": null, | ||
"message": { | ||
"agent": "tibbs", | ||
"project": "gbrainy", | ||
"versions": [ | ||
"GBRAINY_2_2_7", | ||
"GBRAINY_2_3_0" | ||
] | ||
}, | ||
"project": { | ||
"backend": "custom", | ||
"created_on": 1453077751.0, | ||
"ecosystem": "https://gent.softcatala.org/jmas/gbrainy/", | ||
"homepage": "https://gent.softcatala.org/jmas/gbrainy/", | ||
"id": 8936, | ||
"name": "gbrainy", | ||
"regex": "(?<=gbrainy-)[0-9]+\\.[0-9]+\\.[0-9]+(?=\\.tar\\.gz)", | ||
"updated_on": 1539016658.0, | ||
"version": "2.3.7", | ||
"version_url": "https://gent.softcatala.org/jmas/gbrainy/", | ||
"versions": [ | ||
"2.3.7", | ||
"GBRAINY_2_3_0", | ||
"GBRAINY_2_2_7" | ||
] | ||
} | ||
}, | ||
{ | ||
"distro": null, | ||
"message": { | ||
"agent": "http://zlopez.id.fedoraproject.org/", | ||
"project": "tint2", | ||
"versions": [ | ||
"0.14.4", | ||
"0.13.3", | ||
"0.13.2", | ||
"0.13.1", | ||
"v0.13", | ||
"0.12.12", | ||
"0.12.11", | ||
"0.11" | ||
] | ||
}, | ||
"project": { | ||
"backend": "GitHub", | ||
"created_on": 1412175120.0, | ||
"homepage": "https://github.com/o9000/", | ||
"id": 4973, | ||
"name": "tint2", | ||
"regex": null, | ||
"updated_on": 1537276371.0, | ||
"version": null, | ||
"version_url": null, | ||
"versions": [ | ||
"0.14.4", | ||
"0.13.3", | ||
"0.13.2", | ||
"0.13.1", | ||
"v0.13", | ||
"0.12.12", | ||
"0.12.11", | ||
"0.11" | ||
] | ||
} | ||
} | ||
] |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add `anitya.project.version.remove.v2` topic |
This file contains 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