)]}'
{"package.json":[{"author":{"_account_id":15293,"name":"Karen Bradshaw","email":"kbhawkey@gmail.com","username":"karenb"},"change_message_id":"7d9ed88515bdb43a12e852e2b5beee2bf1c3292b","unresolved":false,"context_lines":[{"line_number":2,"context_line":"    \"name\": \"api-site\","},{"line_number":3,"context_line":"    \"description\": \"API-Site repository\","},{"line_number":4,"context_line":"    \"scripts\": {"},{"line_number":5,"context_line":"        \"bootprint\": \"bootprint\""},{"line_number":6,"context_line":"    },"},{"line_number":7,"context_line":"    \"repository\": {"},{"line_number":8,"context_line":"        \"type\": \"git\","}],"source_content_type":"application/json","patch_set":5,"id":"5aef4532_42bb8f27","line":5,"updated":"2016-03-08 21:07:15.000000000","message":"When npm runs the scripts, bootprint is called with no args?\nCan you call the build-api-ref here or as a \u0027bin\u0027 field instead of scripts?","commit_id":"cab605b70774a0e68a1ddeb3699ff12f4bee0df6"},{"author":{"_account_id":15293,"name":"Karen Bradshaw","email":"kbhawkey@gmail.com","username":"karenb"},"change_message_id":"7d9ed88515bdb43a12e852e2b5beee2bf1c3292b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    \"license\": \"Apache-2.0\","},{"line_number":14,"context_line":"    \"devDependencies\": {"},{"line_number":15,"context_line":"        \"bootprint\": \"^0.8.3\","},{"line_number":16,"context_line":"        \"bootprint-swagger\": \"^0.13.1\""},{"line_number":17,"context_line":"    }"},{"line_number":18,"context_line":"}"}],"source_content_type":"application/json","patch_set":5,"id":"5aef4532_e2361be6","line":16,"updated":"2016-03-08 21:07:15.000000000","message":"change to bootprint-openapi?","commit_id":"cab605b70774a0e68a1ddeb3699ff12f4bee0df6"}],"tools/build-api-ref-swagger.sh":[{"author":{"_account_id":9717,"name":"Michael Krotscheck","email":"krotscheck@gmail.com","username":"krotscheck"},"change_message_id":"5846dcf3f87269769160030926c2b0e716eb0a49","unresolved":false,"context_lines":[{"line_number":33,"context_line":"}"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"function swagger_bootprint_html {"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    # Generate HTML plus CSS for each Swagger file"},{"line_number":38,"context_line":"    for i in swagger/*.json"},{"line_number":39,"context_line":"      do "}],"source_content_type":"text/x-sh","patch_set":6,"id":"5aef4532_e0016a06","line":36,"updated":"2016-03-10 20:56:01.000000000","message":"Here, do npm install so that the env is initialized.","commit_id":"ab1191ef4c386240c9da1e0496ea60def5758d22"},{"author":{"_account_id":9717,"name":"Michael Krotscheck","email":"krotscheck@gmail.com","username":"krotscheck"},"change_message_id":"5846dcf3f87269769160030926c2b0e716eb0a49","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    for i in swagger/*.json"},{"line_number":39,"context_line":"      do "},{"line_number":40,"context_line":"      service_dir\u003d${i%%.*}"},{"line_number":41,"context_line":"      bootprint openapi $i $service_dir"},{"line_number":42,"context_line":"    done"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"}"}],"source_content_type":"text/x-sh","patch_set":6,"id":"5aef4532_40113e51","line":41,"updated":"2016-03-10 20:56:01.000000000","message":"And here, I _think_ `npm run bootprint -- openapi  $i $service_dir` should pass the appropriate values. You just have to be careful that this command is invoked from the same directory as package.json","commit_id":"ab1191ef4c386240c9da1e0496ea60def5758d22"},{"author":{"_account_id":15293,"name":"Karen Bradshaw","email":"kbhawkey@gmail.com","username":"karenb"},"change_message_id":"e09561f327f695fc33406653c264345b3b9b3e92","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    for i in swagger/*.json"},{"line_number":40,"context_line":"      do "},{"line_number":41,"context_line":"      service_dir\u003d${i%%.*}"},{"line_number":42,"context_line":"      npm run bootprint -- openapi $i $service_dir"},{"line_number":43,"context_line":"    done"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"}"}],"source_content_type":"text/x-sh","patch_set":7,"id":"5aef4532_d645136f","line":42,"updated":"2016-03-11 00:39:54.000000000","message":"Hi. I think when I tested with the previous changes, on my local system, the html files were generated.\nbootprint --openapi $i $service_dir\n\nOf course I have npm installed locally.  I don\u0027t see any errors except for the debug info. Thx.","commit_id":"d264e864553227b6fb76cd6cc377dc648508fa30"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"17c6c50a01eb96576be671966fb717ea21cf35ec","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      for i in swagger/*.json"},{"line_number":38,"context_line":"        do"},{"line_number":39,"context_line":"        service_dir\u003d${i%.*}"},{"line_number":40,"context_line":"        bootprint openapi $i $service_dir"},{"line_number":41,"context_line":"      done"},{"line_number":42,"context_line":"}"},{"line_number":43,"context_line":""}],"source_content_type":"text/x-sh","patch_set":14,"id":"1a122d0e_3ec66448","line":40,"updated":"2016-04-18 23:21:53.000000000","message":"I got an error with bootprint openapi, but \u0027bootprint swagger\u0027 works for me.","commit_id":"8d5fe6fa4a7cf96fb0f26fe92dd8cedbc9381085"}],"tox.ini":[{"author":{"_account_id":15293,"name":"Karen Bradshaw","email":"kbhawkey@gmail.com","username":"karenb"},"change_message_id":"c6cc249ab847da82e5533ebab5ae8b97848d9c5d","unresolved":false,"context_lines":[{"line_number":51,"context_line":"[testenv:makeswagger]"},{"line_number":52,"context_line":"commands \u003d"},{"line_number":53,"context_line":"  npm install"},{"line_number":54,"context_line":"  npm run bootprint"},{"line_number":55,"context_line":"  # Build Swagger files"},{"line_number":56,"context_line":"  {toxinidir}/tools/build-api-ref-swagger.sh"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-properties","patch_set":5,"id":"7af24918_47818fc2","line":54,"range":{"start_line":54,"start_character":0,"end_line":54,"end_character":2},"updated":"2016-03-03 15:46:05.000000000","message":"Why do you need to run bootprint here?","commit_id":"cab605b70774a0e68a1ddeb3699ff12f4bee0df6"},{"author":{"_account_id":964,"name":"Anne Gentle","email":"annegentle@justwriteclick.com","username":"annegentle"},"change_message_id":"f8c03808352ae26e85cbb8b62227e8baee8a1103","unresolved":false,"context_lines":[{"line_number":51,"context_line":"[testenv:makeswagger]"},{"line_number":52,"context_line":"commands \u003d"},{"line_number":53,"context_line":"  npm install"},{"line_number":54,"context_line":"  npm run bootprint"},{"line_number":55,"context_line":"  # Build Swagger files"},{"line_number":56,"context_line":"  {toxinidir}/tools/build-api-ref-swagger.sh"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-properties","patch_set":5,"id":"5aef4532_6dafa181","line":54,"range":{"start_line":54,"start_character":0,"end_line":54,"end_character":2},"in_reply_to":"7af24918_47818fc2","updated":"2016-03-08 19:34:28.000000000","message":"Ah, based on IRC conversation here: http://eavesdrop.openstack.org/irclogs/%23openstack-doc/%23openstack-doc.2016-02-29.log.html\n\nBut it\u0027s possible I misunderstand. I think we need to run what\u0027s in the package.json so that the script can run each time on a Jenkins build?","commit_id":"cab605b70774a0e68a1ddeb3699ff12f4bee0df6"},{"author":{"_account_id":9717,"name":"Michael Krotscheck","email":"krotscheck@gmail.com","username":"krotscheck"},"change_message_id":"5846dcf3f87269769160030926c2b0e716eb0a49","unresolved":false,"context_lines":[{"line_number":51,"context_line":"[testenv:makeswagger]"},{"line_number":52,"context_line":"commands \u003d"},{"line_number":53,"context_line":"  npm install"},{"line_number":54,"context_line":"  npm run bootprint"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"[testenv:publishdocs]"},{"line_number":57,"context_line":"# Prepare documents (without www) so that they can get published on"}],"source_content_type":"text/x-properties","patch_set":6,"id":"5aef4532_fd13d562","line":54,"updated":"2016-03-10 20:56:01.000000000","message":"I\u0027m sorry, I totally misunderstood where you\u0027re going here. Let me suggest you revert this to invoking your build-api-ref-swagger script . Comments on modifying that script in the appropriate file.","commit_id":"ab1191ef4c386240c9da1e0496ea60def5758d22"}]}
