{"action":"created","issue":{"url":"https://api.github.com/repos/FundingCircle/github-tools/issues/3","repository_url":"https://api.github.com/repos/FundingCircle/github-tools","labels_url":"https://api.github.com/repos/FundingCircle/github-tools/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/FundingCircle/github-tools/issues/3/comments","events_url":"https://api.github.com/repos/FundingCircle/github-tools/issues/3/events","html_url":"https://github.com/FundingCircle/github-tools/issues/3","id":323516070,"number":3,"title":"Remove \"ruby\" directory","user":{"login":"sgerrand","id":203366,"avatar_url":"https://avatars1.githubusercontent.com/u/203366?v=4","gravatar_id":"","url":"https://api.github.com/users/sgerrand","html_url":"https://github.com/sgerrand","followers_url":"https://api.github.com/users/sgerrand/followers","following_url":"https://api.github.com/users/sgerrand/following{/other_user}","gists_url":"https://api.github.com/users/sgerrand/gists{/gist_id}","starred_url":"https://api.github.com/users/sgerrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgerrand/subscriptions","organizations_url":"https://api.github.com/users/sgerrand/orgs","repos_url":"https://api.github.com/users/sgerrand/repos","events_url":"https://api.github.com/users/sgerrand/events{/privacy}","received_events_url":"https://api.github.com/users/sgerrand/received_events","type":"User","site_admin":false},"labels":[{"id":899786393,"url":"https://api.github.com/repos/FundingCircle/github-tools/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":{"login":"aviflax","id":141844,"avatar_url":"https://avatars2.githubusercontent.com/u/141844?v=4","gravatar_id":"","url":"https://api.github.com/users/aviflax","html_url":"https://github.com/aviflax","followers_url":"https://api.github.com/users/aviflax/followers","following_url":"https://api.github.com/users/aviflax/following{/other_user}","gists_url":"https://api.github.com/users/aviflax/gists{/gist_id}","starred_url":"https://api.github.com/users/aviflax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviflax/subscriptions","organizations_url":"https://api.github.com/users/aviflax/orgs","repos_url":"https://api.github.com/users/aviflax/repos","events_url":"https://api.github.com/users/aviflax/events{/privacy}","received_events_url":"https://api.github.com/users/aviflax/received_events","type":"User","site_admin":false},"assignees":[{"login":"aviflax","id":141844,"avatar_url":"https://avatars2.githubusercontent.com/u/141844?v=4","gravatar_id":"","url":"https://api.github.com/users/aviflax","html_url":"https://github.com/aviflax","followers_url":"https://api.github.com/users/aviflax/followers","following_url":"https://api.github.com/users/aviflax/following{/other_user}","gists_url":"https://api.github.com/users/aviflax/gists{/gist_id}","starred_url":"https://api.github.com/users/aviflax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviflax/subscriptions","organizations_url":"https://api.github.com/users/aviflax/orgs","repos_url":"https://api.github.com/users/aviflax/repos","events_url":"https://api.github.com/users/aviflax/events{/privacy}","received_events_url":"https://api.github.com/users/aviflax/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-16T08:22:31Z","updated_at":"2018-05-16T13:57:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The code for the scripts in this project lives in `ruby/` which implies that other language support is planned or needed. Is this the case? If not, suggest moving the files in that directory up a level and removing `ruby/`."},"comment":{"url":"https://api.github.com/repos/FundingCircle/github-tools/issues/comments/389527898","html_url":"https://github.com/FundingCircle/github-tools/issues/3#issuecomment-389527898","issue_url":"https://api.github.com/repos/FundingCircle/github-tools/issues/3","id":389527898,"user":{"login":"aviflax","id":141844,"avatar_url":"https://avatars2.githubusercontent.com/u/141844?v=4","gravatar_id":"","url":"https://api.github.com/users/aviflax","html_url":"https://github.com/aviflax","followers_url":"https://api.github.com/users/aviflax/followers","following_url":"https://api.github.com/users/aviflax/following{/other_user}","gists_url":"https://api.github.com/users/aviflax/gists{/gist_id}","starred_url":"https://api.github.com/users/aviflax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviflax/subscriptions","organizations_url":"https://api.github.com/users/aviflax/orgs","repos_url":"https://api.github.com/users/aviflax/repos","events_url":"https://api.github.com/users/aviflax/events{/privacy}","received_events_url":"https://api.github.com/users/aviflax/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T13:57:08Z","updated_at":"2018-05-16T13:57:08Z","author_association":"CONTRIBUTOR","body":"> The code for the scripts in this project lives in ruby/ which implies that other language support is planned or needed. Is this the case?\r\n\r\nYes.\r\n\r\nMy intent is for this to be a single coherent set of tools that a large company could use to manage a large number of GitHub repos. The fact that I’ve written the initial scripts in Ruby is incidental, and in fact inside @FundingCircle we already have scripts that use the GitHub API that employ different programming systems, e.g. Python.\r\n\r\nHonestly the only reason I chose Ruby was because during my initial cursory search for good libraries for working with the GitHub API I got the impression that [GitHub’s official supported libraries](http://octokit.github.io) are probably the most mature, best-documented, best-supported, and potentially the least buggy libs. Which could be wrong, but that’s OK, I was trying (for once) to practice [satisficing](https://en.wikipedia.org/wiki/Satisficing).\r\n\r\nGitHub’s official set of libraries includes production-ready libs for Ruby, Node.js, Objective-C, and .NET — and of those four I know Ruby the best, and I suspect it’s the most well-known across engineers at @FundingCircle. So that’s why I chose Ruby. But we have scripts written in Python internally in @FundingCircle, and possibly others — there are a wide variety of [third-party libraries](https://developer.github.com/v3/libraries/) available. (I know @Mongey likes Go and [go-github](https://github.com/google/go-github) looks promising.) (If I were to start this project now I’d probably implement it with Clojure using one of the Java libraries.)\r\n\r\nAt the risk of belaboring a point, I’ll elaborate that it took me a few years to come around on Docker, but now I see it as an extremely useful way to distribute programs _to a technical audience_ without them needing to know or care whatsoever which programming system(s) are used by those programs. This is quite exciting, after literally decades of wrestling with virtualenv, rbenv, pip, traveling ruby, ant, maven, gradle, bundler, gcc, etc — in some cases to use tools and in some to distribute them.\r\n\r\nSo now that we’ve got Docker enabling this sort of language-agnostic tool distribution, I find it quite compelling to use it for building and distributing polyglot tool_sets_. (I don’t think individual tools should be polyglot, but a toolset, well, potentially. Especially if various people might be contributing tools to that toolset.)\r\n\r\nGiven all that, I want to structure this toolset such that it easily supports adding new tools that are implemented using any reasonable programming system.\r\n\r\nAs an added benefit, I think it’s probably helpful for _users_ of this toolset to take a look at the contents of the root of the repo — which is the default view in GitHub — that there are only a few things in the root apart from the scripts. It helps highlight the scripts and avoids presenting details that are irrelevant to _users_. It also (and now maybe I’m stretching) helps ensure that the contents of the README will render above the fold on the home page of the repo here in GitHub.\r\n\r\nWhat do you think?"}}
{"actor":{"display_login":"aviflax"}}