{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4896","repository_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4896/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4896/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4896/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4896","id":183650912,"number":4896,"title":"Use jinja2 when populating metadata maps","user":{"login":"manics","id":1644105,"avatar_url":"https://avatars.githubusercontent.com/u/1644105?v=3","gravatar_id":"","url":"https://api.github.com/users/manics","html_url":"https://github.com/manics","followers_url":"https://api.github.com/users/manics/followers","following_url":"https://api.github.com/users/manics/following{/other_user}","gists_url":"https://api.github.com/users/manics/gists{/gist_id}","starred_url":"https://api.github.com/users/manics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manics/subscriptions","organizations_url":"https://api.github.com/users/manics/orgs","repos_url":"https://api.github.com/users/manics/repos","events_url":"https://api.github.com/users/manics/events{/privacy}","received_events_url":"https://api.github.com/users/manics/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/metadata52","name":"metadata52","color":"069970"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T10:43:38Z","updated_at":"2016-10-18T18:26:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4896","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4896","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4896.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4896.patch"},"body":"# What this PR does\r\n\r\nThe IDR bulk-annotation -> map-annotations process involves building URLs. Previously these were simple identifiers, but now they may include phrases including characters which need to be escaped when used in a URL. This PR now uses the Jinja templating module if it's installed, so standard Jinja2 filters such as `{{ value | urlencode }}` can be used.\r\n\r\n# Testing this PR\r\n\r\nCurrent use case: Mapr @aleksandra-tarkowska which creates mapr URLs with spaces.\r\n\r\n# Potential issues\r\n\r\nThis adds a new optional dependency, `jinja2`, to OMERO.py. Should it be made mandatory along with yaml in order to keep things clearer?"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/254596277","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4896#issuecomment-254596277","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4896","id":254596277,"user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T18:26:57Z","updated_at":"2016-10-18T18:26:57Z","body":"tested via http://10.0.51.150/web/mapr/compound/NIFLUMIC%20ACID/\r\n\r\nThank you"}}
{"actor":{"display_login":"aleksandra-tarkowska"}}