hotosm / tech

Resources and issue tracking for Technical Working Group and all things Tech within HOT. Start here to get more information about how to get involved in HOT.
68 stars 13 forks source link

receiver location for Transifex notifications about translated learnOSM documents #85

Open michael63-osm opened 7 years ago

michael63-osm commented 7 years ago

The learnOSM website hosted on github uses Transifex for translation management. Currently the maintainers do not receive any notifications once a document has been fully translated. Transifex offers to send http-requests to a configurable website triggered by this event.

What is required? Just a script listening on one of HOT's servers which converts the contents (info about resource=document and language) to an email which should be sent to learnosm@hotosm.org. The specification about the http-request can be found in the Transifex documentation

Currently such events occur every few days, this might increase a bit with the increasing number of languages and translators. However we are not talking about real load on a server.

bgirardot commented 7 years ago

This is probably overkill, however, it is probably worth it for us to understand if we can make use of it anyway in some fashion. It is a github - transifex bridge.

https://github.com/transifex/txgh

But I understand that michael is asking for a simple one file handler for the transifex webhook call that takes the call and makes it an email sent to the above email address.

bgirardot commented 7 years ago

I just wanted to update this - We are working really hard to get some big issues related to our infrastructure worked out (slow Tasking Manager for example) that is taking all of our resources at the moment.

As soon as we get most of that sorted out we will start working through the individual issues here.

If anyone has any ideas for how we might get a volunteer to handle a small, discrete project like this one please share those ideas.

cheers blake

bgirardot-np commented 6 years ago

@david-hotosm David, do you have any ideas about this? We need to use the web hooks transifex provides to notify the Training Working Group of activity.

smit1678 commented 6 years ago

@bgirardot @michael63-osm Picking this back up. I like this idea and it seems like it could be helpful. Let's scope this out a little more. One idea is based on our increased usage of things like AWS Lambda (and use something like the Serverless Framework). Since would be a prime use case for a simple function that receives the webhook from Transifex and then sends an email to the list with the details of what was completed.