{"action":"created","comment":{"url":"https://api.github.com/repos/patacrep/patacrep/pulls/comments/51364320","id":51364320,"diff_hunk":"@@ -360,3 +359,15 @@ def clean(self):\n                     os.unlink(self.basename + ext)\n                 except Exception as exception:\n                     raise errors.CleaningError(self.basename + ext, exception)\n+\n+\n+def config_model(*args):","path":"patacrep/build.py","position":121,"original_position":121,"commit_id":"9bcd5f869fccfc2d95c5a43a6a632fcd92e31d49","original_commit_id":"9bcd5f869fccfc2d95c5a43a6a632fcd92e31d49","user":{"login":"paternal","id":6587757,"avatar_url":"https://avatars.githubusercontent.com/u/6587757?v=3","gravatar_id":"","url":"https://api.github.com/users/paternal","html_url":"https://github.com/paternal","followers_url":"https://api.github.com/users/paternal/followers","following_url":"https://api.github.com/users/paternal/following{/other_user}","gists_url":"https://api.github.com/users/paternal/gists{/gist_id}","starred_url":"https://api.github.com/users/paternal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paternal/subscriptions","organizations_url":"https://api.github.com/users/paternal/orgs","repos_url":"https://api.github.com/users/paternal/repos","events_url":"https://api.github.com/users/paternal/events{/privacy}","received_events_url":"https://api.github.com/users/paternal/received_events","type":"User","site_admin":false},"body":"> 1. Il me semble que `config_model('schema')` est aussi utilisé. `*args` était censé permettre d'accéder à une sous-clé facilement, mais en fait c'est inutile.\r\n\r\nEffectivement. J'en avais raté un. Pour la sous-clef, si ça marche, et que c'est testé (ce qui est le cas), autant le laisser.\r\n\r\n> 2. Tu as pleinement raison. Autre proposition de nom: `get_songfile_model` (avec `schema` et `default`)\r\n\r\nÇa me va aussi.","created_at":"2016-01-31T17:52:41Z","updated_at":"2016-01-31T17:52:41Z","html_url":"https://github.com/patacrep/patacrep/pull/193#discussion_r51364320","pull_request_url":"https://api.github.com/repos/patacrep/patacrep/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/patacrep/patacrep/pulls/comments/51364320"},"html":{"href":"https://github.com/patacrep/patacrep/pull/193#discussion_r51364320"},"pull_request":{"href":"https://api.github.com/repos/patacrep/patacrep/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/patacrep/patacrep/pulls/193","id":57752604,"html_url":"https://github.com/patacrep/patacrep/pull/193","diff_url":"https://github.com/patacrep/patacrep/pull/193.diff","patch_url":"https://github.com/patacrep/patacrep/pull/193.patch","issue_url":"https://api.github.com/repos/patacrep/patacrep/issues/193","number":193,"state":"open","locked":false,"title":"Yaml","user":{"login":"paternal","id":6587757,"avatar_url":"https://avatars.githubusercontent.com/u/6587757?v=3","gravatar_id":"","url":"https://api.github.com/users/paternal","html_url":"https://github.com/paternal","followers_url":"https://api.github.com/users/paternal/followers","following_url":"https://api.github.com/users/paternal/following{/other_user}","gists_url":"https://api.github.com/users/paternal/gists{/gist_id}","starred_url":"https://api.github.com/users/paternal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paternal/subscriptions","organizations_url":"https://api.github.com/users/paternal/orgs","repos_url":"https://api.github.com/users/paternal/repos","events_url":"https://api.github.com/users/paternal/events{/privacy}","received_events_url":"https://api.github.com/users/paternal/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-30T22:21:07Z","updated_at":"2016-01-31T17:52:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/patacrep/patacrep/pulls/193/commits","review_comments_url":"https://api.github.com/repos/patacrep/patacrep/pulls/193/comments","review_comment_url":"https://api.github.com/repos/patacrep/patacrep/pulls/comments{/number}","comments_url":"https://api.github.com/repos/patacrep/patacrep/issues/193/comments","statuses_url":"https://api.github.com/repos/patacrep/patacrep/statuses/9bcd5f869fccfc2d95c5a43a6a632fcd92e31d49","head":{"label":"patacrep:yaml","ref":"yaml","sha":"9bcd5f869fccfc2d95c5a43a6a632fcd92e31d49","user":{"login":"patacrep","id":6632026,"avatar_url":"https://avatars.githubusercontent.com/u/6632026?v=3","gravatar_id":"","url":"https://api.github.com/users/patacrep","html_url":"https://github.com/patacrep","followers_url":"https://api.github.com/users/patacrep/followers","following_url":"https://api.github.com/users/patacrep/following{/other_user}","gists_url":"https://api.github.com/users/patacrep/gists{/gist_id}","starred_url":"https://api.github.com/users/patacrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patacrep/subscriptions","organizations_url":"https://api.github.com/users/patacrep/orgs","repos_url":"https://api.github.com/users/patacrep/repos","events_url":"https://api.github.com/users/patacrep/events{/privacy}","received_events_url":"https://api.github.com/users/patacrep/received_events","type":"Organization","site_admin":false},"repo":{"id":9257808,"name":"patacrep","full_name":"patacrep/patacrep","owner":{"login":"patacrep","id":6632026,"avatar_url":"https://avatars.githubusercontent.com/u/6632026?v=3","gravatar_id":"","url":"https://api.github.com/users/patacrep","html_url":"https://github.com/patacrep","followers_url":"https://api.github.com/users/patacrep/followers","following_url":"https://api.github.com/users/patacrep/following{/other_user}","gists_url":"https://api.github.com/users/patacrep/gists{/gist_id}","starred_url":"https://api.github.com/users/patacrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patacrep/subscriptions","organizations_url":"https://api.github.com/users/patacrep/orgs","repos_url":"https://api.github.com/users/patacrep/repos","events_url":"https://api.github.com/users/patacrep/events{/privacy}","received_events_url":"https://api.github.com/users/patacrep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/patacrep/patacrep","description":"Engine for LaTeX songbooks ","fork":false,"url":"https://api.github.com/repos/patacrep/patacrep","forks_url":"https://api.github.com/repos/patacrep/patacrep/forks","keys_url":"https://api.github.com/repos/patacrep/patacrep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patacrep/patacrep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patacrep/patacrep/teams","hooks_url":"https://api.github.com/repos/patacrep/patacrep/hooks","issue_events_url":"https://api.github.com/repos/patacrep/patacrep/issues/events{/number}","events_url":"https://api.github.com/repos/patacrep/patacrep/events","assignees_url":"https://api.github.com/repos/patacrep/patacrep/assignees{/user}","branches_url":"https://api.github.com/repos/patacrep/patacrep/branches{/branch}","tags_url":"https://api.github.com/repos/patacrep/patacrep/tags","blobs_url":"https://api.github.com/repos/patacrep/patacrep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patacrep/patacrep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patacrep/patacrep/git/refs{/sha}","trees_url":"https://api.github.com/repos/patacrep/patacrep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patacrep/patacrep/statuses/{sha}","languages_url":"https://api.github.com/repos/patacrep/patacrep/languages","stargazers_url":"https://api.github.com/repos/patacrep/patacrep/stargazers","contributors_url":"https://api.github.com/repos/patacrep/patacrep/contributors","subscribers_url":"https://api.github.com/repos/patacrep/patacrep/subscribers","subscription_url":"https://api.github.com/repos/patacrep/patacrep/subscription","commits_url":"https://api.github.com/repos/patacrep/patacrep/commits{/sha}","git_commits_url":"https://api.github.com/repos/patacrep/patacrep/git/commits{/sha}","comments_url":"https://api.github.com/repos/patacrep/patacrep/comments{/number}","issue_comment_url":"https://api.github.com/repos/patacrep/patacrep/issues/comments{/number}","contents_url":"https://api.github.com/repos/patacrep/patacrep/contents/{+path}","compare_url":"https://api.github.com/repos/patacrep/patacrep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patacrep/patacrep/merges","archive_url":"https://api.github.com/repos/patacrep/patacrep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patacrep/patacrep/downloads","issues_url":"https://api.github.com/repos/patacrep/patacrep/issues{/number}","pulls_url":"https://api.github.com/repos/patacrep/patacrep/pulls{/number}","milestones_url":"https://api.github.com/repos/patacrep/patacrep/milestones{/number}","notifications_url":"https://api.github.com/repos/patacrep/patacrep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patacrep/patacrep/labels{/name}","releases_url":"https://api.github.com/repos/patacrep/patacrep/releases{/id}","deployments_url":"https://api.github.com/repos/patacrep/patacrep/deployments","created_at":"2013-04-06T09:16:23Z","updated_at":"2016-01-29T18:07:26Z","pushed_at":"2016-01-30T22:21:07Z","git_url":"git://github.com/patacrep/patacrep.git","ssh_url":"git@github.com:patacrep/patacrep.git","clone_url":"https://github.com/patacrep/patacrep.git","svn_url":"https://github.com/patacrep/patacrep","homepage":"www.patacrep.com","size":23787,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":26,"forks":4,"open_issues":26,"watchers":8,"default_branch":"master"}},"base":{"label":"patacrep:master","ref":"master","sha":"392abfd5fe53352417c1e6febe8f8bccbf6b634e","user":{"login":"patacrep","id":6632026,"avatar_url":"https://avatars.githubusercontent.com/u/6632026?v=3","gravatar_id":"","url":"https://api.github.com/users/patacrep","html_url":"https://github.com/patacrep","followers_url":"https://api.github.com/users/patacrep/followers","following_url":"https://api.github.com/users/patacrep/following{/other_user}","gists_url":"https://api.github.com/users/patacrep/gists{/gist_id}","starred_url":"https://api.github.com/users/patacrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patacrep/subscriptions","organizations_url":"https://api.github.com/users/patacrep/orgs","repos_url":"https://api.github.com/users/patacrep/repos","events_url":"https://api.github.com/users/patacrep/events{/privacy}","received_events_url":"https://api.github.com/users/patacrep/received_events","type":"Organization","site_admin":false},"repo":{"id":9257808,"name":"patacrep","full_name":"patacrep/patacrep","owner":{"login":"patacrep","id":6632026,"avatar_url":"https://avatars.githubusercontent.com/u/6632026?v=3","gravatar_id":"","url":"https://api.github.com/users/patacrep","html_url":"https://github.com/patacrep","followers_url":"https://api.github.com/users/patacrep/followers","following_url":"https://api.github.com/users/patacrep/following{/other_user}","gists_url":"https://api.github.com/users/patacrep/gists{/gist_id}","starred_url":"https://api.github.com/users/patacrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patacrep/subscriptions","organizations_url":"https://api.github.com/users/patacrep/orgs","repos_url":"https://api.github.com/users/patacrep/repos","events_url":"https://api.github.com/users/patacrep/events{/privacy}","received_events_url":"https://api.github.com/users/patacrep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/patacrep/patacrep","description":"Engine for LaTeX songbooks ","fork":false,"url":"https://api.github.com/repos/patacrep/patacrep","forks_url":"https://api.github.com/repos/patacrep/patacrep/forks","keys_url":"https://api.github.com/repos/patacrep/patacrep/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patacrep/patacrep/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patacrep/patacrep/teams","hooks_url":"https://api.github.com/repos/patacrep/patacrep/hooks","issue_events_url":"https://api.github.com/repos/patacrep/patacrep/issues/events{/number}","events_url":"https://api.github.com/repos/patacrep/patacrep/events","assignees_url":"https://api.github.com/repos/patacrep/patacrep/assignees{/user}","branches_url":"https://api.github.com/repos/patacrep/patacrep/branches{/branch}","tags_url":"https://api.github.com/repos/patacrep/patacrep/tags","blobs_url":"https://api.github.com/repos/patacrep/patacrep/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patacrep/patacrep/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patacrep/patacrep/git/refs{/sha}","trees_url":"https://api.github.com/repos/patacrep/patacrep/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patacrep/patacrep/statuses/{sha}","languages_url":"https://api.github.com/repos/patacrep/patacrep/languages","stargazers_url":"https://api.github.com/repos/patacrep/patacrep/stargazers","contributors_url":"https://api.github.com/repos/patacrep/patacrep/contributors","subscribers_url":"https://api.github.com/repos/patacrep/patacrep/subscribers","subscription_url":"https://api.github.com/repos/patacrep/patacrep/subscription","commits_url":"https://api.github.com/repos/patacrep/patacrep/commits{/sha}","git_commits_url":"https://api.github.com/repos/patacrep/patacrep/git/commits{/sha}","comments_url":"https://api.github.com/repos/patacrep/patacrep/comments{/number}","issue_comment_url":"https://api.github.com/repos/patacrep/patacrep/issues/comments{/number}","contents_url":"https://api.github.com/repos/patacrep/patacrep/contents/{+path}","compare_url":"https://api.github.com/repos/patacrep/patacrep/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patacrep/patacrep/merges","archive_url":"https://api.github.com/repos/patacrep/patacrep/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patacrep/patacrep/downloads","issues_url":"https://api.github.com/repos/patacrep/patacrep/issues{/number}","pulls_url":"https://api.github.com/repos/patacrep/patacrep/pulls{/number}","milestones_url":"https://api.github.com/repos/patacrep/patacrep/milestones{/number}","notifications_url":"https://api.github.com/repos/patacrep/patacrep/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patacrep/patacrep/labels{/name}","releases_url":"https://api.github.com/repos/patacrep/patacrep/releases{/id}","deployments_url":"https://api.github.com/repos/patacrep/patacrep/deployments","created_at":"2013-04-06T09:16:23Z","updated_at":"2016-01-29T18:07:26Z","pushed_at":"2016-01-30T22:21:07Z","git_url":"git://github.com/patacrep/patacrep.git","ssh_url":"git@github.com:patacrep/patacrep.git","clone_url":"https://github.com/patacrep/patacrep.git","svn_url":"https://github.com/patacrep/patacrep","homepage":"www.patacrep.com","size":23787,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":26,"forks":4,"open_issues":26,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/patacrep/patacrep/pulls/193"},"html":{"href":"https://github.com/patacrep/patacrep/pull/193"},"issue":{"href":"https://api.github.com/repos/patacrep/patacrep/issues/193"},"comments":{"href":"https://api.github.com/repos/patacrep/patacrep/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/patacrep/patacrep/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/patacrep/patacrep/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/patacrep/patacrep/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/patacrep/patacrep/statuses/9bcd5f869fccfc2d95c5a43a6a632fcd92e31d49"}}}}