{"action":"created","issue":{"url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/142","repository_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices","labels_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/142/comments","events_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/142/events","html_url":"https://github.com/conda-forge/conda-forge-webservices/pull/142","id":263343578,"number":142,"title":"Refresh feedstock listing","user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars1.githubusercontent.com/u/3019665?v=4","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-06T05:59:59Z","updated_at":"2017-10-13T01:15:10Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/pulls/142","html_url":"https://github.com/conda-forge/conda-forge-webservices/pull/142","diff_url":"https://github.com/conda-forge/conda-forge-webservices/pull/142.diff","patch_url":"https://github.com/conda-forge/conda-forge-webservices/pull/142.patch"},"body":"Closes https://github.com/conda-forge/conda-forge-webservices/issues/121\r\n\r\nRefresh the webpage's feedstock listing within the `feedstocks` repo. This should help cutdown the noise on the webpage repo a bit. Also should better collect related items. Namely the feedstock listing will live with the feedstocks and should be more performant as a result.\r\n\r\nThe displayed result should be the same once we enable the `feedstocks` repo to have GitHub Pages working on its `master` branch. Links from the main webpage have already been updated to support this behavior. Style sheets, icons, and javascript code should still be pulled from the main webpage. Though this last point is difficult to test without making this live. The template for the listing itself has been copied from the webpage repo.\r\n\r\nInitially this borrowed code from `conda-smithy` and used the GitHub API. However it has been optimized to simply list the contents of the `feedstocks` repo and use this to generate the HTML page. Based on local testing, this appears to be quite fast. Thus we avoid running into rate limiting with this approach unlike the current approach. Not to mention this does not require CI time to build.\r\n\r\nUpdates will be triggered by pushes to `staged-recipes`. Admittedly not all pushes to `staged-recipes` will trigger an actionable change. Only when feedstocks are created. There is likely some room for optimization there, but will require some clever parsing of the commit message or git history at `staged-recipes` to achieve. For now optimization on this front is skipped. Considering the other optimizations this already provides (freeing up CIs, speeding up generation), this seems reasonable."},"comment":{"url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/comments/336323547","html_url":"https://github.com/conda-forge/conda-forge-webservices/pull/142#issuecomment-336323547","issue_url":"https://api.github.com/repos/conda-forge/conda-forge-webservices/issues/142","id":336323547,"user":{"login":"jakirkham","id":3019665,"avatar_url":"https://avatars1.githubusercontent.com/u/3019665?v=4","gravatar_id":"","url":"https://api.github.com/users/jakirkham","html_url":"https://github.com/jakirkham","followers_url":"https://api.github.com/users/jakirkham/followers","following_url":"https://api.github.com/users/jakirkham/following{/other_user}","gists_url":"https://api.github.com/users/jakirkham/gists{/gist_id}","starred_url":"https://api.github.com/users/jakirkham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakirkham/subscriptions","organizations_url":"https://api.github.com/users/jakirkham/orgs","repos_url":"https://api.github.com/users/jakirkham/repos","events_url":"https://api.github.com/users/jakirkham/events{/privacy}","received_events_url":"https://api.github.com/users/jakirkham/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T01:15:10Z","updated_at":"2017-10-13T01:15:10Z","author_association":"OWNER","body":"Thanks @isuruf. I think these changes will be more to your liking then.\r\n\r\nWe will still need to update the template back at the webpage repo to get these changes to work correctly. Though this can go in independently of that change. After all this won't go live until we add the webhook to staged-recipes."}}
{"actor":{"display_login":"jakirkham"}}