{"action":"created","comment":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/comments/195657573","pull_request_review_id":129070486,"id":195657573,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTY1NzU3Mw==","diff_hunk":"@@ -136,3 +134,10 @@ def _get_acronym_from_proposal(luy):\n     if proposal and proposal.initial_data and proposal.initial_data.get('learning_unit_year'):\n         return proposal.initial_data['learning_unit_year']['acronym']\n     return None\n+\n+\n+def _get_acronym_from_luy(luy):\n+    luys = find_lt_learning_unit_years_with_different_acronym(luy)\n+    for luy in luys:\n+        if not has_proposal(luy):\n+            return luy.acronym if luy else None","path":"base/templatetags/learning_unit.py","position":30,"original_position":30,"commit_id":"cf265a96a9cfcf92c8dfd87e1e1db415c49ad4cb","original_commit_id":"cf265a96a9cfcf92c8dfd87e1e1db415c49ad4cb","user":{"login":"albrugnetti","id":19836473,"node_id":"MDQ6VXNlcjE5ODM2NDcz","avatar_url":"https://avatars3.githubusercontent.com/u/19836473?v=4","gravatar_id":"","url":"https://api.github.com/users/albrugnetti","html_url":"https://github.com/albrugnetti","followers_url":"https://api.github.com/users/albrugnetti/followers","following_url":"https://api.github.com/users/albrugnetti/following{/other_user}","gists_url":"https://api.github.com/users/albrugnetti/gists{/gist_id}","starred_url":"https://api.github.com/users/albrugnetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albrugnetti/subscriptions","organizations_url":"https://api.github.com/users/albrugnetti/orgs","repos_url":"https://api.github.com/users/albrugnetti/repos","events_url":"https://api.github.com/users/albrugnetti/events{/privacy}","received_events_url":"https://api.github.com/users/albrugnetti/received_events","type":"User","site_admin":false},"body":"Tu peux supprimer cette partie car, elle est réalisée dans le Queryset :) ","created_at":"2018-06-15T07:56:28Z","updated_at":"2018-06-15T07:56:32Z","html_url":"https://github.com/uclouvain/osis/pull/3806#discussion_r195657573","pull_request_url":"https://api.github.com/repos/uclouvain/osis/pulls/3806","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments/195657573"},"html":{"href":"https://github.com/uclouvain/osis/pull/3806#discussion_r195657573"},"pull_request":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3806"}}},"pull_request":{"url":"https://api.github.com/repos/uclouvain/osis/pulls/3806","id":195090970,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MDkwOTcw","html_url":"https://github.com/uclouvain/osis/pull/3806","diff_url":"https://github.com/uclouvain/osis/pull/3806.diff","patch_url":"https://github.com/uclouvain/osis/pull/3806.patch","issue_url":"https://api.github.com/repos/uclouvain/osis/issues/3806","number":3806,"state":"open","locked":false,"title":"#OSIS-1203","user":{"login":"verpoorten","id":5947635,"node_id":"MDQ6VXNlcjU5NDc2MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/5947635?v=4","gravatar_id":"","url":"https://api.github.com/users/verpoorten","html_url":"https://github.com/verpoorten","followers_url":"https://api.github.com/users/verpoorten/followers","following_url":"https://api.github.com/users/verpoorten/following{/other_user}","gists_url":"https://api.github.com/users/verpoorten/gists{/gist_id}","starred_url":"https://api.github.com/users/verpoorten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verpoorten/subscriptions","organizations_url":"https://api.github.com/users/verpoorten/orgs","repos_url":"https://api.github.com/users/verpoorten/repos","events_url":"https://api.github.com/users/verpoorten/events{/privacy}","received_events_url":"https://api.github.com/users/verpoorten/received_events","type":"User","site_admin":false},"body":"Référence Jira : OSIS-\r\n\r\nVérifier les points suivants : \r\n- [ ] Ouvrir une release task Jira si le ticket génère une tâche pour la release : \r\n    - modification de configuration\r\n    - table à synchroniser en entier, etc.\r\n- [ ] Uniformiser les modèles osis-portal avec les changements effectués dans osis si nécessaire\r\n- [ ] Permissions et droits d’accès mettre à jour la documentation si : \r\n    - on rajoute/modifie une permission\r\n    - on rajoute/modifie un groupe d’utilisateurs, etc.\r\n","created_at":"2018-06-15T06:53:42Z","updated_at":"2018-06-15T07:56:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fc987fbdcb7fd63ec490e3318534be4d347f17d","assignee":{"login":"verpoorten","id":5947635,"node_id":"MDQ6VXNlcjU5NDc2MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/5947635?v=4","gravatar_id":"","url":"https://api.github.com/users/verpoorten","html_url":"https://github.com/verpoorten","followers_url":"https://api.github.com/users/verpoorten/followers","following_url":"https://api.github.com/users/verpoorten/following{/other_user}","gists_url":"https://api.github.com/users/verpoorten/gists{/gist_id}","starred_url":"https://api.github.com/users/verpoorten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verpoorten/subscriptions","organizations_url":"https://api.github.com/users/verpoorten/orgs","repos_url":"https://api.github.com/users/verpoorten/repos","events_url":"https://api.github.com/users/verpoorten/events{/privacy}","received_events_url":"https://api.github.com/users/verpoorten/received_events","type":"User","site_admin":false},"assignees":[{"login":"verpoorten","id":5947635,"node_id":"MDQ6VXNlcjU5NDc2MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/5947635?v=4","gravatar_id":"","url":"https://api.github.com/users/verpoorten","html_url":"https://github.com/verpoorten","followers_url":"https://api.github.com/users/verpoorten/followers","following_url":"https://api.github.com/users/verpoorten/following{/other_user}","gists_url":"https://api.github.com/users/verpoorten/gists{/gist_id}","starred_url":"https://api.github.com/users/verpoorten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verpoorten/subscriptions","organizations_url":"https://api.github.com/users/verpoorten/orgs","repos_url":"https://api.github.com/users/verpoorten/repos","events_url":"https://api.github.com/users/verpoorten/events{/privacy}","received_events_url":"https://api.github.com/users/verpoorten/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/uclouvain/osis/pulls/3806/commits","review_comments_url":"https://api.github.com/repos/uclouvain/osis/pulls/3806/comments","review_comment_url":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uclouvain/osis/issues/3806/comments","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/cf265a96a9cfcf92c8dfd87e1e1db415c49ad4cb","head":{"label":"uclouvain:OSIS-1203","ref":"OSIS-1203","sha":"cf265a96a9cfcf92c8dfd87e1e1db415c49ad4cb","user":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"node_id":"MDEwOlJlcG9zaXRvcnkzNzQ4OTM4OA==","name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System Backoffice","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2018-06-13T07:48:47Z","pushed_at":"2018-06-15T07:01:52Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":60082,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":14,"open_issues":14,"watchers":35,"default_branch":"dev"}},"base":{"label":"uclouvain:dev","ref":"dev","sha":"bceb23032b89bfa213bcb64484d367424f1494ee","user":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"repo":{"id":37489388,"node_id":"MDEwOlJlcG9zaXRvcnkzNzQ4OTM4OA==","name":"osis","full_name":"uclouvain/osis","owner":{"login":"uclouvain","id":9862060,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4NjIwNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/9862060?v=4","gravatar_id":"","url":"https://api.github.com/users/uclouvain","html_url":"https://github.com/uclouvain","followers_url":"https://api.github.com/users/uclouvain/followers","following_url":"https://api.github.com/users/uclouvain/following{/other_user}","gists_url":"https://api.github.com/users/uclouvain/gists{/gist_id}","starred_url":"https://api.github.com/users/uclouvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uclouvain/subscriptions","organizations_url":"https://api.github.com/users/uclouvain/orgs","repos_url":"https://api.github.com/users/uclouvain/repos","events_url":"https://api.github.com/users/uclouvain/events{/privacy}","received_events_url":"https://api.github.com/users/uclouvain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uclouvain/osis","description":"Open Student Information System Backoffice","fork":false,"url":"https://api.github.com/repos/uclouvain/osis","forks_url":"https://api.github.com/repos/uclouvain/osis/forks","keys_url":"https://api.github.com/repos/uclouvain/osis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uclouvain/osis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uclouvain/osis/teams","hooks_url":"https://api.github.com/repos/uclouvain/osis/hooks","issue_events_url":"https://api.github.com/repos/uclouvain/osis/issues/events{/number}","events_url":"https://api.github.com/repos/uclouvain/osis/events","assignees_url":"https://api.github.com/repos/uclouvain/osis/assignees{/user}","branches_url":"https://api.github.com/repos/uclouvain/osis/branches{/branch}","tags_url":"https://api.github.com/repos/uclouvain/osis/tags","blobs_url":"https://api.github.com/repos/uclouvain/osis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uclouvain/osis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uclouvain/osis/git/refs{/sha}","trees_url":"https://api.github.com/repos/uclouvain/osis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uclouvain/osis/statuses/{sha}","languages_url":"https://api.github.com/repos/uclouvain/osis/languages","stargazers_url":"https://api.github.com/repos/uclouvain/osis/stargazers","contributors_url":"https://api.github.com/repos/uclouvain/osis/contributors","subscribers_url":"https://api.github.com/repos/uclouvain/osis/subscribers","subscription_url":"https://api.github.com/repos/uclouvain/osis/subscription","commits_url":"https://api.github.com/repos/uclouvain/osis/commits{/sha}","git_commits_url":"https://api.github.com/repos/uclouvain/osis/git/commits{/sha}","comments_url":"https://api.github.com/repos/uclouvain/osis/comments{/number}","issue_comment_url":"https://api.github.com/repos/uclouvain/osis/issues/comments{/number}","contents_url":"https://api.github.com/repos/uclouvain/osis/contents/{+path}","compare_url":"https://api.github.com/repos/uclouvain/osis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uclouvain/osis/merges","archive_url":"https://api.github.com/repos/uclouvain/osis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uclouvain/osis/downloads","issues_url":"https://api.github.com/repos/uclouvain/osis/issues{/number}","pulls_url":"https://api.github.com/repos/uclouvain/osis/pulls{/number}","milestones_url":"https://api.github.com/repos/uclouvain/osis/milestones{/number}","notifications_url":"https://api.github.com/repos/uclouvain/osis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uclouvain/osis/labels{/name}","releases_url":"https://api.github.com/repos/uclouvain/osis/releases{/id}","deployments_url":"https://api.github.com/repos/uclouvain/osis/deployments","created_at":"2015-06-15T20:25:28Z","updated_at":"2018-06-13T07:48:47Z","pushed_at":"2018-06-15T07:01:52Z","git_url":"git://github.com/uclouvain/osis.git","ssh_url":"git@github.com:uclouvain/osis.git","clone_url":"https://github.com/uclouvain/osis.git","svn_url":"https://github.com/uclouvain/osis","homepage":"http://uclouvain.github.io/osis","size":60082,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":14,"open_issues":14,"watchers":35,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3806"},"html":{"href":"https://github.com/uclouvain/osis/pull/3806"},"issue":{"href":"https://api.github.com/repos/uclouvain/osis/issues/3806"},"comments":{"href":"https://api.github.com/repos/uclouvain/osis/issues/3806/comments"},"review_comments":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3806/comments"},"review_comment":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uclouvain/osis/pulls/3806/commits"},"statuses":{"href":"https://api.github.com/repos/uclouvain/osis/statuses/cf265a96a9cfcf92c8dfd87e1e1db415c49ad4cb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"albrugnetti"}}