Bug 1212663

Summary: RFE: notifications for updated translation, above % thresholds
Product: [Retired] Zanata Reporter: Pete Travis <me>
Component: Component-APIAssignee: Damian Jansen <djansen>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aeng, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-28 23:19:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete Travis 2015-04-17 01:25:01 UTC
I'd like to get websockets notifications, or preferably fedmsg signals, for updated translations of a project.  Optionally, this could be sent only if the language's overall completion has reached a given percentage; I'll end up ignoring signals sent for projects below a given completion percentage.

The use case for the request comes from Fedora Docs, where I would like to implement continuous integration to localize books.  Fedmsg integration would allow metrics, badges, dashboards, and ad-hoc integration with other Fedora infrastucture.

Comment 1 Sean Flanigan 2015-04-17 01:39:11 UTC
I'm not sure it would make sense to integrate Zanata *directly* with any Fedora-specific solutions, but hopefully webhooks could be used to integrate with fedmsg indirectly.  Or if webhooks prove impractical for this, perhaps a JMS channel.

(We should read "websockets" here as "webhooks".  I gave Pete the wrong name in our discussion.)

Comment 2 Alex Eng 2015-04-17 01:46:15 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1122776. This is the original webhook request from fedora community on notification. At the moment, it will send out notification when it's 100% translate/approved. We can extend the feature for customised percentage for project/version.

Comment 3 Pete Travis 2015-04-17 01:52:18 UTC
Yes, I agree that this request extends the one in BZ#1122776.  We like to a lot of signal for contributor activity on the fedmsg bus; notifications for each string translated with an appropriate amount of context (user, resource, project, more?) would be ideal.  For what I'm doing, I can set up a change window so that a build wouldn't kick off until no new change notifications were received for a given period of time, so too much signal wouldn't be a problem.

Comment 4 Zanata Migrator 2015-07-28 23:19:15 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-109