)]}'
{"nodepool/elements/cache-devstack/install.d/60-pip-warm-cache":[{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"f710020507437414c71f97373982ddcfaffffd3d","unresolved":false,"context_lines":[{"line_number":22,"context_line":"set -eu"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"REQUIREMENTS_DIR\u003d/opt/git/openstack/requirements"},{"line_number":25,"context_line":"BUILDPIP_VENV\u003d/opt/git/build_pip"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"# Setup venv and install all of the global requirements. This will"},{"line_number":28,"context_line":"# create a warm pip cache which can be used by devstack later."}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa80f949_d99fc701","line":25,"updated":"2015-11-04 17:48:17.000000000","message":"Since you\u0027re defining this as an envvar and only using it by reference, it should be simple to switch this to call mktemp -d instead and gain some marginal safety. We do this elsewhere, and virtualenv will use a precreated empty directory without complaint.","commit_id":"5cc043151fb5e6de03cdd47f37a6573d1ac9d646"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"277044696165dc5150e2b8a9bc14b6b69a3621cc","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        2\u003e/dev/null \u003e $UC_FILE || true"},{"line_number":37,"context_line":"    if [[ -f $UC_FILE ]]; then"},{"line_number":38,"context_line":"        # install all the upper-constraints"},{"line_number":39,"context_line":"        sudo -H $BUILDPIP_VENV/bin/pip install -r $UC_FILE"},{"line_number":40,"context_line":"        # remove the file at the end to ensure that we don\u0027t use an"},{"line_number":41,"context_line":"        # old one for this branch"},{"line_number":42,"context_line":"        rm -f $UC_FILE"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa80f949_19646f20","line":39,"updated":"2015-11-04 17:49:31.000000000","message":"Might also want to explicitly pass through http_proxy and https_proxy here.","commit_id":"936d95154a07a64e5404090796040ebf3ff78883"}]}
