#1504 fedmsg notifications don't support namespaces
Closed: Invalid 7 years ago Opened 7 years ago by jflory7.

Summary

When creating new repositories, the fedmsg event doesn't see namespaces, so a repository named team-name/tasks becomes tasks in the event message.

Analysis

I first noticed this in IRC when I created a repository using a namespace. The repository ambassadors-na/tasks triggered this notification:

<commopsbot> pagure.project.new -- jflory7 created a new project "tasks" https://pagure.io/tasks

The fedmsg event notification should (1) display the full name of the repository, and (2) show the correct URL.

Implementation

  1. Create repository using namespace.
  2. Ensure fedmsg sees the namespace.
  3. Output fedmsg notification using the proper namespace.

(Sorry this is so incredibly vague, my knowledge on fedmsg is a little thin.)


So looking at the complete message it seems that it does contain the namespace: https://apps.fedoraproject.org/datagrepper/id?id=2016-f7197dc9-13c5-43d6-a993-6093eeaea6d9&is_raw=true&size=extra-large

This means that the issue is in fedmsg_meta_fedora_infrastructure which is responsible for converting message to human readable formats.

The issue has been reported upstream: https://github.com/fedora-infra/fedmsg_meta_fedora_infrastructure/issues/406

Let's close this ticket and keep the discussion there (if time allows, I'll fix it later today)

@pingou changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata