{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/695","labels_url":"https://api.github.com/repos/aspnet/Home/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/695/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/695/events","html_url":"https://github.com/aspnet/Home/issues/695","id":90417953,"number":695,"title":"Checklist to track aspnet org-wide FreeBSD compatible shell scripts","user":{"login":"jasonwilliams200OK","id":2031765,"avatar_url":"https://avatars.githubusercontent.com/u/2031765?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonwilliams200OK","html_url":"https://github.com/jasonwilliams200OK","followers_url":"https://api.github.com/users/jasonwilliams200OK/followers","following_url":"https://api.github.com/users/jasonwilliams200OK/following{/other_user}","gists_url":"https://api.github.com/users/jasonwilliams200OK/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwilliams200OK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwilliams200OK/subscriptions","organizations_url":"https://api.github.com/users/jasonwilliams200OK/orgs","repos_url":"https://api.github.com/users/jasonwilliams200OK/repos","events_url":"https://api.github.com/users/jasonwilliams200OK/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwilliams200OK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-23T15:23:23Z","updated_at":"2015-06-23T15:44:03Z","closed_at":null,"body":"- [x] Antiforgery\r\n- [x] aspnet-docker  *(this was already done the right way)*\r\n- [ ] BugTracker\r\n- [x] Caching\r\n- [x] Common\r\n- [x] Configuration\r\n- [x] CORS\r\n- [x] DataProtection\r\n- [x] DependencyInjection\r\n- [x] Diagnostics\r\n- [x] dnvm\r\n- [x] dnx\r\n- [x] EntityFramework\r\n- [x] Entropy\r\n- [ ] EventNotification\r\n- [x] FileSystem\r\n- [x] Home\r\n- [x] Hosting\r\n- [x] HttpAbstractions\r\n- [ ] HttpClient\r\n- [x] Identity\r\n- [x] KestrelHttpServer\r\n- [ ] Localization\r\n- [x] Logging\r\n- [ ] Microsoft.Data.Sqlite\r\n- [x] MusicStore\r\n- [x] Mvc\r\n- [x] Options\r\n- [x] Razor\r\n- [x] Routing\r\n- [x] Scaffolding\r\n- [x] Security\r\n- [ ] ServerTests\r\n- [x] Session\r\n- [x] SignalR-Redis\r\n- [x] SignalR-Server\r\n- [ ] SignalR-ServiceBus\r\n- [x] SignalR-SqlServer\r\n- [ ] Signing\r\n- [x] StaticFiles\r\n- [x] Testing\r\n- [ ] Tooling\r\n- [x] Universe\r\n- [x] UserSecrets\r\n- [x] WebSockets\r\n\r\nBased on @dougbu's comment https://github.com/aspnet/dnx/pull/2066#issuecomment-112654094, this issues tracks changes needs to be made in all the aspnet repositories which have `*.sh` files (for building and executing tests on Linux), in order to make the scripts BSD-compatible.\r\n\r\nThe idea is to replace this shebang `#!/bin/bash`, which appears at the beginning of each `.sh` file, with cross-Unix compatible `#!/usr/bin/env bash`.\r\n\r\n>\r\n(from my own observation)\r\nNote that this shebang is stamped as standard in npm executable package scripts for Unices (the one stored in `./node_modules/.bin/..`). If there was a better way, npm folks must have adapted it for npm pack by now, I suppose.\r\n\r\nFor that matter, I fetched the following list form https://github.com/aspnet/repositories (using javascript in firebug :smile:) and removed those which do not have bash scripts (yet?):\r\n\r\n*(tried using `curl -u \"jasonwilliams200OK\" https://api.github.com/orgs/aspnet/repos?type=all `, but it only returns 30 repos at a time :disappointed:)*\r\n\r\nAlso inviting: @josteink, @saper, @janhenke, @ghuntley and @ajensenwaud. Feel free to send similar PRs to the remaining repos guys. :trollface: \r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/114551167","html_url":"https://github.com/aspnet/Home/issues/695#issuecomment-114551167","issue_url":"https://api.github.com/repos/aspnet/Home/issues/695","id":114551167,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T15:44:03Z","updated_at":"2015-06-23T15:44:03Z","body":"I checked off a large number tentatively. All Universe sub-directories be handled using bit of scripting. Much easier for me than dealing with than individual PRs."}}