{"action":"created","issue":{"url":"https://api.github.com/repos/StackExchange/blackbox/issues/99","labels_url":"https://api.github.com/repos/StackExchange/blackbox/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/StackExchange/blackbox/issues/99/comments","events_url":"https://api.github.com/repos/StackExchange/blackbox/issues/99/events","html_url":"https://github.com/StackExchange/blackbox/issues/99","id":92101618,"number":99,"title":"Support for multiple blackboxes in a single repo?","user":{"login":"dialt0ne","id":660532,"avatar_url":"https://avatars.githubusercontent.com/u/660532?v=3","gravatar_id":"","url":"https://api.github.com/users/dialt0ne","html_url":"https://github.com/dialt0ne","followers_url":"https://api.github.com/users/dialt0ne/followers","following_url":"https://api.github.com/users/dialt0ne/following{/other_user}","gists_url":"https://api.github.com/users/dialt0ne/gists{/gist_id}","starred_url":"https://api.github.com/users/dialt0ne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dialt0ne/subscriptions","organizations_url":"https://api.github.com/users/dialt0ne/orgs","repos_url":"https://api.github.com/users/dialt0ne/repos","events_url":"https://api.github.com/users/dialt0ne/events{/privacy}","received_events_url":"https://api.github.com/users/dialt0ne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-30T13:59:42Z","updated_at":"2015-06-30T18:49:06Z","closed_at":null,"body":"This is more of a question than an issue but...\r\n\r\nCan I host more than 1 blackbox in a repository?\r\n\r\nFrom looking at the code (_blackbox_common.sh) it seems that if I set the env variable BLACKBOXDATA before invoking, I can create multiple blackboxes e.g.\r\n\r\nexport BLACKBOXDATA=keyrings/prod\r\n(some blackbox commands)\r\nexport BLACKBOXDATA=keyrings/dev\r\n(somre different blackbox commands)\r\n\r\netc. etc. Mostly, before I go using this feature, I want to insure that this functionality is intended vs. a happy accident that will be deprecated later.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/StackExchange/blackbox/issues/comments/117299499","html_url":"https://github.com/StackExchange/blackbox/issues/99#issuecomment-117299499","issue_url":"https://api.github.com/repos/StackExchange/blackbox/issues/99","id":117299499,"user":{"login":"tlimoncelli","id":6293917,"avatar_url":"https://avatars.githubusercontent.com/u/6293917?v=3","gravatar_id":"","url":"https://api.github.com/users/tlimoncelli","html_url":"https://github.com/tlimoncelli","followers_url":"https://api.github.com/users/tlimoncelli/followers","following_url":"https://api.github.com/users/tlimoncelli/following{/other_user}","gists_url":"https://api.github.com/users/tlimoncelli/gists{/gist_id}","starred_url":"https://api.github.com/users/tlimoncelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlimoncelli/subscriptions","organizations_url":"https://api.github.com/users/tlimoncelli/orgs","repos_url":"https://api.github.com/users/tlimoncelli/repos","events_url":"https://api.github.com/users/tlimoncelli/events{/privacy}","received_events_url":"https://api.github.com/users/tlimoncelli/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T18:49:06Z","updated_at":"2015-06-30T18:49:06Z","body":"I agree with those assumptions.\r\n\r\nWould you consider sending a patch?\r\n\r\nThere are many ways to tell if a file is listed twice.  One would be:\r\n```\r\n( echo \"$NEWFILENAME\" ; cat keyrings/*/blackbox-files.txt ) | sort | uniq -c | awk '$1 > 1 { exit 1}'\r\n```"}}