{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/224","labels_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/224/comments","events_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/224/events","html_url":"https://github.com/swcarpentry/lesson-template/issues/224","id":69017849,"number":224,"title":"Prep for 5.3 Lessons Release","user":{"login":"jiffyclub","id":920492,"avatar_url":"https://avatars.githubusercontent.com/u/920492?v=3","gravatar_id":"","url":"https://api.github.com/users/jiffyclub","html_url":"https://github.com/jiffyclub","followers_url":"https://api.github.com/users/jiffyclub/followers","following_url":"https://api.github.com/users/jiffyclub/following{/other_user}","gists_url":"https://api.github.com/users/jiffyclub/gists{/gist_id}","starred_url":"https://api.github.com/users/jiffyclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiffyclub/subscriptions","organizations_url":"https://api.github.com/users/jiffyclub/orgs","repos_url":"https://api.github.com/users/jiffyclub/repos","events_url":"https://api.github.com/users/jiffyclub/events{/privacy}","received_events_url":"https://api.github.com/users/jiffyclub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-16T21:54:26Z","updated_at":"2015-04-18T15:53:16Z","closed_at":null,"body":"This post is targeted at the @swcarpentry/lessons subcommittee, but everyone is invited to contribute.\r\n\r\nIn the next month or two we're planning to declare our lessons to be at version 5.3 and try to make permanent archives of each lesson with citable [DOIs](http://en.wikipedia.org/wiki/Digital_object_identifier). In the lead up to that we've got some work for which we're looking for volunteers:\r\n\r\n# What to Archive\r\n\r\nWe need to make sure that our lesson releases have everything they need and not too much they don't. So what does that actually mean? Do we need to compile anything, what can we delete?\r\n\r\n# How To Actually Make the DOI and Archive\r\n\r\nThe actual mechanics of this process. [This GitHub guide](https://guides.github.com/activities/citable-code/) is probably a good starting point, but we need someone to give it a try to see whether it makes sense for us, and maybe compare it to other options like [Code as a Research Object](http://mozillascience.github.io/code-research-object/).\r\n\r\n# GitHub Scripting\r\n\r\nWe'd like to create a \"Version 5.3\" [milestone](https://guides.github.com/features/issues/#filtering) on every lesson repo so maintainers can assign the milestone to the PRs and issues that they want resolved before the release. To avoid a bunch of manual work we'd appreciate someone making a Python script to create the milestone on each lesson repo via the GitHub API. I'm a fan of the [github3py API wrapper](https://github3py.readthedocs.org), and I think using that we can make a little script to help us out. Since I have some experience with github3py, so I'm happy to help someone write this script if they are curious to learn about the GitHub API.\r\n\r\n\r\nWould anyone from the @swcarpentry/lessons team or the broader SWC community like to volunteer for one of those tasks? If so, please leave a comment!"},"comment":{"url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/comments/94176161","html_url":"https://github.com/swcarpentry/lesson-template/issues/224#issuecomment-94176161","issue_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/224","id":94176161,"user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T15:53:16Z","updated_at":"2015-04-18T15:53:16Z","body":"On Sat, Apr 18, 2015 at 06:01:24AM -0700, Raniere Silva wrote:\n> I remembered that I wrote a shell script to setup the labels,\n> see https://github.com/swcarpentry/lesson-template/blob/gh-pages/tools/setup-labels,\n> that shouldn't be hard to change for setup the milestone.\n\nWhile we're talking about scripting lesson/milestone creation, I just\ntook ghi [1] for a spin, and after patching my gem-installed version\nto fix [2] it seems pretty convenient for these sorts of one-off\ntasks.\n\n[1]: https://github.com/stephencelis/ghi/ \n[2]: https://github.com/stephencelis/ghi/pull/166\n"}}