fedora-infra / anitya

A cross-distribution upstream release monitoring project
https://release-monitoring.org
GNU General Public License v2.0
244 stars 104 forks source link

Duplicate name causes false warning with every new update seen #1664

Closed penguinpee closed 12 months ago

penguinpee commented 12 months ago

There are two applications called flare in Anitya. On is a game, of which I am one of the maintainers. The other is a Signal (chat) client.

Whenever the Signal client has a new release, I'm getting the following:

Id: e7616955-af4a-4f21-a6a3-8db4fcea6b5e
Topic: org.fedoraproject.prod.hotness.update.drop
Headers: {
    "fedora_messaging_rpm_flare": true,
    "fedora_messaging_schema": "hotness.update.drop",
    "fedora_messaging_severity": 20,
    "fedora_messaging_user_None": true,
    "sent-at": "2023-08-28T12:41:17+00:00"
}
Body: {
    "reason": "anitya",
    "trigger": {
        "msg": {
            "distro": null,
            "message": {
                "agent": "anitya",
                "ecosystem": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                "old_version": "0.9.3",
                "packages": [
                    {
                        "distro": "Alpine",
                        "package_name": "flare"
                    }
                ],
                "project": {
                    "backend": "GitLab",
                    "created_on": 1677870644.0,
                    "ecosystem": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                    "homepage": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                    "id": 328536,
                    "name": "flare",
                    "regex": null,
                    "stable_versions": [
                        "0.10.0",
                        "0.9.3",
                        "0.9.2",
                        "0.9.1",
                        "0.9.0",
                        "0.8.2",
                        "0.8.1",
                        "0.8.0",
                        "0.7.2",
                        "0.7.1",
                        "0.7.0",
                        "0.6.0",
                        "0.5.7",
                        "0.5.6",
                        "0.5.5",
                        "0.5.4",
                        "0.5.3",
                        "0.5.2",
                        "0.5.1",
                        "0.5.0",
                        "0.4.1",
                        "0.4.0",
                        "0.3.3",
                        "0.3.2",
                        "0.3.1",
                        "0.3.0",
                        "0.2.1",
                        "0.2.0",
                        "0.1.5",
                        "0.1.4",
                        "0.1.3"
                    ],
                    "updated_on": 1693226477.0,
                    "version": "0.10.0",
                    "version_url": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                    "versions": [
                        "0.10.0",
                        "0.9.3",
                        "0.9.2",
                        "0.9.1",
                        "0.9.0",
                        "0.9.0-beta.1",
                        "0.8.2",
                        "0.8.2-beta.1",
                        "0.8.1",
                        "0.8.0",
                        "0.8.0-beta.1",
                        "0.7.2",
                        "0.7.1",
                        "0.7.0",
                        "0.7.0-beta.1",
                        "0.6.0",
                        "0.5.7",
                        "0.5.6",
                        "0.5.5",
                        "0.5.4",
                        "0.5.3",
                        "0.5.2",
                        "0.5.1",
                        "0.5.0",
                        "0.4.1",
                        "0.4.0",
                        "0.3.3",
                        "0.3.2",
                        "0.3.1",
                        "0.3.0",
                        "0.2.1",
                        "0.2.0",
                        "0.1.5",
                        "0.1.4",
                        "0.1.3"
                    ]
                },
                "stable_versions": [
                    "0.10.0",
                    "0.9.3",
                    "0.9.2",
                    "0.9.1",
                    "0.9.0",
                    "0.8.2",
                    "0.8.1",
                    "0.8.0",
                    "0.7.2",
                    "0.7.1",
                    "0.7.0",
                    "0.6.0",
                    "0.5.7",
                    "0.5.6",
                    "0.5.5",
                    "0.5.4",
                    "0.5.3",
                    "0.5.2",
                    "0.5.1",
                    "0.5.0",
                    "0.4.1",
                    "0.4.0",
                    "0.3.3",
                    "0.3.2",
                    "0.3.1",
                    "0.3.0",
                    "0.2.1",
                    "0.2.0",
                    "0.1.5",
                    "0.1.4",
                    "0.1.3"
                ],
                "upstream_versions": [
                    "0.10.0"
                ],
                "versions": [
                    "0.10.0",
                    "0.9.3",
                    "0.9.2",
                    "0.9.1",
                    "0.9.0",
                    "0.9.0-beta.1",
                    "0.8.2",
                    "0.8.2-beta.1",
                    "0.8.1",
                    "0.8.0",
                    "0.8.0-beta.1",
                    "0.7.2",
                    "0.7.1",
                    "0.7.0",
                    "0.7.0-beta.1",
                    "0.6.0",
                    "0.5.7",
                    "0.5.6",
                    "0.5.5",
                    "0.5.4",
                    "0.5.3",
                    "0.5.2",
                    "0.5.1",
                    "0.5.0",
                    "0.4.1",
                    "0.4.0",
                    "0.3.3",
                    "0.3.2",
                    "0.3.1",
                    "0.3.0",
                    "0.2.1",
                    "0.2.0",
                    "0.1.5",
                    "0.1.4",
                    "0.1.3"
                ]
            },
            "project": {
                "backend": "GitLab",
                "created_on": 1677870644.0,
                "ecosystem": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                "homepage": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                "id": 328536,
                "name": "flare",
                "regex": null,
                "stable_versions": [
                    "0.10.0",
                    "0.9.3",
                    "0.9.2",
                    "0.9.1",
                    "0.9.0",
                    "0.8.2",
                    "0.8.1",
                    "0.8.0",
                    "0.7.2",
                    "0.7.1",
                    "0.7.0",
                    "0.6.0",
                    "0.5.7",
                    "0.5.6",
                    "0.5.5",
                    "0.5.4",
                    "0.5.3",
                    "0.5.2",
                    "0.5.1",
                    "0.5.0",
                    "0.4.1",
                    "0.4.0",
                    "0.3.3",
                    "0.3.2",
                    "0.3.1",
                    "0.3.0",
                    "0.2.1",
                    "0.2.0",
                    "0.1.5",
                    "0.1.4",
                    "0.1.3"
                ],
                "updated_on": 1693226477.0,
                "version": "0.10.0",
                "version_url": ["https://gitlab.com/schmiddi-on-mobile/flare"](https://gitlab.com/schmiddi-on-mobile/flare),
                "versions": [
                    "0.10.0",
                    "0.9.3",
                    "0.9.2",
                    "0.9.1",
                    "0.9.0",
                    "0.9.0-beta.1",
                    "0.8.2",
                    "0.8.2-beta.1",
                    "0.8.1",
                    "0.8.0",
                    "0.8.0-beta.1",
                    "0.7.2",
                    "0.7.1",
                    "0.7.0",
                    "0.7.0-beta.1",
                    "0.6.0",
                    "0.5.7",
                    "0.5.6",
                    "0.5.5",
                    "0.5.4",
                    "0.5.3",
                    "0.5.2",
                    "0.5.1",
                    "0.5.0",
                    "0.4.1",
                    "0.4.0",
                    "0.3.3",
                    "0.3.2",
                    "0.3.1",
                    "0.3.0",
                    "0.2.1",
                    "0.2.0",
                    "0.1.5",
                    "0.1.4",
                    "0.1.3"
                ]
            }
        },
        "topic": "org.release-monitoring.prod.anitya.project.version.update.v2"
    }
}

There is no mapping for the other flare into Fedora. So, how come it sends me these reminders?

Zlopez commented 12 months ago

How are you getting these reminders? This looks like a message we send to Fedora messaging bus and this is usually consumed only by consumers. This shouldn't get to anyone except the consumers. If you are Fedora package maintainer you should just get ticket filled in bugzilla.

penguinpee commented 12 months ago

The email is from notifications@fedoraproject.org. So, I'm getting those through FMN. I have a rule enabled in Notifications. But it should only send me messages for stuff I'm involved in in some role. I've got nothing to do with the other flare and there's no mapping from other flare to any Fedora package.

Zlopez commented 12 months ago

This looks more like issue with FMN and should be reported there. The FMN is just consuming whatever message is sent by the-new-hotness or Anitya and we can't affect what happens after that.

I'm closing this one as it should be solved on FMN side.

penguinpee commented 12 months ago

Yeah, makes sense. I'll file an issue with FMN.