{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/lsst_build/pulls/comments/42702912","id":42702912,"diff_hunk":"@@ -188,22 +188,34 @@ def _ref_candidates(self, product):\n \n         return refs\n \n-    def _repos_yaml_coordinates(self, product):\n-        \"\"\" Return origin and ref [if present] from repos.yaml. \"\"\"\n-        origin = ref = None\n+    def _repos_yaml_lookup(self, product):\n+        \"\"\" Return repo specification [if present] from repos.yaml.\n+            The multiplate possible formats in repos.yaml are normalized into a\n+            single consistent object.  No sanity checking is performed.\n+        \"\"\"\n+        rs = None\n \n         if self.repos and product in self.repos:\n-\n             spec = self.repos[product]\n             if isinstance(spec, str):\n-                origin = spec\n+                rs = RepoSpec(product, spec)\n             elif isinstance(spec, dict):\n-                origin = spec['url']\n-                ref = spec['ref']\n+                # the repos.yaml hash *must* not have keys that are not a\n+                # RepoSpec constructor args\n+                rs = RepoSpec(product, **spec)\n             else:\n                 raise Exception('invalid repos.yaml repo specification -- please check the file with repos-lint')\n \n-        return origin, ref\n+        return rs\n+\n+    def _origin_uses_lfs(self, product):\n+        \"\"\" Attept to determine if this remote url needs git lfs support \"\"\"","path":"python/lsst/ci/prepare.py","position":61,"original_position":61,"commit_id":"52a30b14e9202d70bfa1d4b26b1e7d2a841cccf3","original_commit_id":"52a30b14e9202d70bfa1d4b26b1e7d2a841cccf3","user":{"login":"jmatt","id":5917,"avatar_url":"https://avatars.githubusercontent.com/u/5917?v=3","gravatar_id":"","url":"https://api.github.com/users/jmatt","html_url":"https://github.com/jmatt","followers_url":"https://api.github.com/users/jmatt/followers","following_url":"https://api.github.com/users/jmatt/following{/other_user}","gists_url":"https://api.github.com/users/jmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/jmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmatt/subscriptions","organizations_url":"https://api.github.com/users/jmatt/orgs","repos_url":"https://api.github.com/users/jmatt/repos","events_url":"https://api.github.com/users/jmatt/events{/privacy}","received_events_url":"https://api.github.com/users/jmatt/received_events","type":"User","site_admin":false},"body":"Spelling error Attept.","created_at":"2015-10-22T01:19:26Z","updated_at":"2015-10-22T01:19:26Z","html_url":"https://github.com/lsst/lsst_build/pull/7#discussion_r42702912","pull_request_url":"https://api.github.com/repos/lsst/lsst_build/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/lsst/lsst_build/pulls/comments/42702912"},"html":{"href":"https://github.com/lsst/lsst_build/pull/7#discussion_r42702912"},"pull_request":{"href":"https://api.github.com/repos/lsst/lsst_build/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/lsst_build/pulls/7","id":48354492,"html_url":"https://github.com/lsst/lsst_build/pull/7","diff_url":"https://github.com/lsst/lsst_build/pull/7.diff","patch_url":"https://github.com/lsst/lsst_build/pull/7.patch","issue_url":"https://api.github.com/repos/lsst/lsst_build/issues/7","number":7,"state":"open","locked":false,"title":"(DM-4113) lfs support","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-21T16:21:36Z","updated_at":"2015-10-22T01:19:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b59c4cde5cdc40220eacc61dee887a073c9d91c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lsst/lsst_build/pulls/7/commits","review_comments_url":"https://api.github.com/repos/lsst/lsst_build/pulls/7/comments","review_comment_url":"https://api.github.com/repos/lsst/lsst_build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/lsst_build/issues/7/comments","statuses_url":"https://api.github.com/repos/lsst/lsst_build/statuses/52a30b14e9202d70bfa1d4b26b1e7d2a841cccf3","head":{"label":"jhoblitt:tickets/DM-4113-lfs-support","ref":"tickets/DM-4113-lfs-support","sha":"52a30b14e9202d70bfa1d4b26b1e7d2a841cccf3","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"repo":{"id":31737519,"name":"lsst_build","full_name":"jhoblitt/lsst_build","owner":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhoblitt/lsst_build","description":null,"fork":true,"url":"https://api.github.com/repos/jhoblitt/lsst_build","forks_url":"https://api.github.com/repos/jhoblitt/lsst_build/forks","keys_url":"https://api.github.com/repos/jhoblitt/lsst_build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhoblitt/lsst_build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhoblitt/lsst_build/teams","hooks_url":"https://api.github.com/repos/jhoblitt/lsst_build/hooks","issue_events_url":"https://api.github.com/repos/jhoblitt/lsst_build/issues/events{/number}","events_url":"https://api.github.com/repos/jhoblitt/lsst_build/events","assignees_url":"https://api.github.com/repos/jhoblitt/lsst_build/assignees{/user}","branches_url":"https://api.github.com/repos/jhoblitt/lsst_build/branches{/branch}","tags_url":"https://api.github.com/repos/jhoblitt/lsst_build/tags","blobs_url":"https://api.github.com/repos/jhoblitt/lsst_build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhoblitt/lsst_build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhoblitt/lsst_build/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhoblitt/lsst_build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhoblitt/lsst_build/statuses/{sha}","languages_url":"https://api.github.com/repos/jhoblitt/lsst_build/languages","stargazers_url":"https://api.github.com/repos/jhoblitt/lsst_build/stargazers","contributors_url":"https://api.github.com/repos/jhoblitt/lsst_build/contributors","subscribers_url":"https://api.github.com/repos/jhoblitt/lsst_build/subscribers","subscription_url":"https://api.github.com/repos/jhoblitt/lsst_build/subscription","commits_url":"https://api.github.com/repos/jhoblitt/lsst_build/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhoblitt/lsst_build/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhoblitt/lsst_build/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhoblitt/lsst_build/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhoblitt/lsst_build/contents/{+path}","compare_url":"https://api.github.com/repos/jhoblitt/lsst_build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhoblitt/lsst_build/merges","archive_url":"https://api.github.com/repos/jhoblitt/lsst_build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhoblitt/lsst_build/downloads","issues_url":"https://api.github.com/repos/jhoblitt/lsst_build/issues{/number}","pulls_url":"https://api.github.com/repos/jhoblitt/lsst_build/pulls{/number}","milestones_url":"https://api.github.com/repos/jhoblitt/lsst_build/milestones{/number}","notifications_url":"https://api.github.com/repos/jhoblitt/lsst_build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhoblitt/lsst_build/labels{/name}","releases_url":"https://api.github.com/repos/jhoblitt/lsst_build/releases{/id}","created_at":"2015-03-05T21:27:16Z","updated_at":"2015-03-23T17:50:08Z","pushed_at":"2015-10-21T16:21:11Z","git_url":"git://github.com/jhoblitt/lsst_build.git","ssh_url":"git@github.com:jhoblitt/lsst_build.git","clone_url":"https://github.com/jhoblitt/lsst_build.git","svn_url":"https://github.com/jhoblitt/lsst_build","homepage":null,"size":207,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lsst:master","ref":"master","sha":"8f92bd5a609855cab3b6a71e2ec4395f6572105e","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013298,"name":"lsst_build","full_name":"lsst/lsst_build","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/lsst_build","description":null,"fork":false,"url":"https://api.github.com/repos/lsst/lsst_build","forks_url":"https://api.github.com/repos/lsst/lsst_build/forks","keys_url":"https://api.github.com/repos/lsst/lsst_build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/lsst_build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/lsst_build/teams","hooks_url":"https://api.github.com/repos/lsst/lsst_build/hooks","issue_events_url":"https://api.github.com/repos/lsst/lsst_build/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/lsst_build/events","assignees_url":"https://api.github.com/repos/lsst/lsst_build/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/lsst_build/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/lsst_build/tags","blobs_url":"https://api.github.com/repos/lsst/lsst_build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/lsst_build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/lsst_build/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/lsst_build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/lsst_build/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/lsst_build/languages","stargazers_url":"https://api.github.com/repos/lsst/lsst_build/stargazers","contributors_url":"https://api.github.com/repos/lsst/lsst_build/contributors","subscribers_url":"https://api.github.com/repos/lsst/lsst_build/subscribers","subscription_url":"https://api.github.com/repos/lsst/lsst_build/subscription","commits_url":"https://api.github.com/repos/lsst/lsst_build/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/lsst_build/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/lsst_build/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/lsst_build/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/lsst_build/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/lsst_build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/lsst_build/merges","archive_url":"https://api.github.com/repos/lsst/lsst_build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/lsst_build/downloads","issues_url":"https://api.github.com/repos/lsst/lsst_build/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/lsst_build/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/lsst_build/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/lsst_build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/lsst_build/labels{/name}","releases_url":"https://api.github.com/repos/lsst/lsst_build/releases{/id}","created_at":"2014-08-16T07:42:56Z","updated_at":"2015-03-27T15:31:25Z","pushed_at":"2015-10-21T16:21:37Z","git_url":"git://github.com/lsst/lsst_build.git","ssh_url":"git@github.com:lsst/lsst_build.git","clone_url":"https://github.com/lsst/lsst_build.git","svn_url":"https://github.com/lsst/lsst_build","homepage":null,"size":335,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/lsst_build/pulls/7"},"html":{"href":"https://github.com/lsst/lsst_build/pull/7"},"issue":{"href":"https://api.github.com/repos/lsst/lsst_build/issues/7"},"comments":{"href":"https://api.github.com/repos/lsst/lsst_build/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/lsst_build/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/lsst_build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/lsst_build/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/lsst_build/statuses/52a30b14e9202d70bfa1d4b26b1e7d2a841cccf3"}}}}