{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/640","repository_url":"https://api.github.com/repos/swcarpentry/amy","labels_url":"https://api.github.com/repos/swcarpentry/amy/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/amy/issues/640/comments","events_url":"https://api.github.com/repos/swcarpentry/amy/issues/640/events","html_url":"https://github.com/swcarpentry/amy/pull/640","id":124615133,"number":640,"title":"WIP: workshops/models.py: Add LanguageTag and LanguageQualification models","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swcarpentry/amy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/swcarpentry/amy/milestones/27","html_url":"https://github.com/swcarpentry/amy/milestones/v1.6","labels_url":"https://api.github.com/repos/swcarpentry/amy/milestones/27/labels","id":1740223,"number":27,"title":"v1.6","description":"","creator":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":1,"state":"open","created_at":"2016-04-30T19:10:20Z","updated_at":"2016-05-20T20:22:05Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-01-02T22:35:56Z","updated_at":"2016-05-20T20:22:05Z","closed_at":"2016-05-20T20:22:05Z","pull_request":{"url":"https://api.github.com/repos/swcarpentry/amy/pulls/640","html_url":"https://github.com/swcarpentry/amy/pull/640","diff_url":"https://github.com/swcarpentry/amy/pull/640.diff","patch_url":"https://github.com/swcarpentry/amy/pull/640.patch"},"body":"Based on [a very restricted subset][1] of [RFC 5646][2].  This will\nallow us to match instructors (and potentially students) with events\nin an appropriate language.\n\nAs of the current tip (63fa782), this stores language ↔ person\nassociations, but doesn't currently allow you to edit weights (the\ndatabase has weights, but the UI doesn't provide a way to edit them,\nand will clobber with 1s on person-edit).\n\nThere's currently no support for @pbanaszkiewicz's [requested][3]:\n\n* store event language in events\n* ask for the language in profile update form\n\nI'm not familiar enough with the latter to know how to handle it.  Do\nI have to do anything besides updating ProfileUpdateRequest?  I looked\naround briefly for a template that we email instructors, since that\nprobably needs to be updated to list the languages we know about, but\ncouldn't find anything.  Can anyone give me some pointers or a refence\nto docs or previous similar work?\n\nI haven't stored event languages, because I expect there's not much\nuse for this information after the event is setup.  The EventRequest\nform now uses a many-to-many language table, so we don't have to parse\nuser-entered languages.  And once the EventRequest is translated into\nan Event, the language bits have already taken care of themselves\n(unless we want to list them on out upcoming events feed?)\n\nSo this is a bit of a work-in-progress, but I think it's far enough\nalong to get some feedback ;).\n\n[1]: https://github.com/swcarpentry/amy/issues/582#issuecomment-158678235\n[2]: https://tools.ietf.org/html/rfc5646\n[3]: https://github.com/swcarpentry/amy/issues/582#issuecomment-158628490"},"comment":{"url":"https://api.github.com/repos/swcarpentry/amy/issues/comments/220709129","html_url":"https://github.com/swcarpentry/amy/pull/640#issuecomment-220709129","issue_url":"https://api.github.com/repos/swcarpentry/amy/issues/640","id":220709129,"user":{"login":"pbanaszkiewicz","id":72821,"avatar_url":"https://avatars.githubusercontent.com/u/72821?v=3","gravatar_id":"","url":"https://api.github.com/users/pbanaszkiewicz","html_url":"https://github.com/pbanaszkiewicz","followers_url":"https://api.github.com/users/pbanaszkiewicz/followers","following_url":"https://api.github.com/users/pbanaszkiewicz/following{/other_user}","gists_url":"https://api.github.com/users/pbanaszkiewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/pbanaszkiewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbanaszkiewicz/subscriptions","organizations_url":"https://api.github.com/users/pbanaszkiewicz/orgs","repos_url":"https://api.github.com/users/pbanaszkiewicz/repos","events_url":"https://api.github.com/users/pbanaszkiewicz/events{/privacy}","received_events_url":"https://api.github.com/users/pbanaszkiewicz/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T20:22:05Z","updated_at":"2016-05-20T20:22:05Z","body":"We're ditching this one in favor of #798."}}
{"actor":{"display_login":"pbanaszkiewicz"}}