)]}'
{"elements/source-repositories/README.rst":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"0f3644bc128dc6a4de24ff85464573744b6efd0e","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    #\u003cname\u003e \u003ctype\u003e \u003cdestination\u003e \u003clocation\u003e [\u003cref\u003e]"},{"line_number":12,"context_line":"    # \u003cref\u003e defaults to master if not specified."},{"line_number":13,"context_line":"    # A value of \"*\" prunes and fetches all heads and tags."},{"line_number":14,"context_line":"    ironic git /usr/local/ironic git://git.openstack.org/openstack/ironic.git"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"*File : elements/custom-element/source-repository-pbr*"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa32b979_be134b00","line":13,"updated":"2015-06-24 22:08:26.000000000","message":"Could we qalify this a bit with \"A ref value of...\"","commit_id":"f82400b43224327b79e85843fd6f30fc838b10c7"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"ec71e07dab771ddcbbf7e7fcac609b3068edebc8","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    #\u003cname\u003e \u003ctype\u003e \u003cdestination\u003e \u003clocation\u003e [\u003cref\u003e]"},{"line_number":12,"context_line":"    # \u003cref\u003e defaults to master if not specified."},{"line_number":13,"context_line":"    # A value of \"*\" prunes and fetches all heads and tags."},{"line_number":14,"context_line":"    ironic git /usr/local/ironic git://git.openstack.org/openstack/ironic.git"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"*File : elements/custom-element/source-repository-pbr*"}],"source_content_type":"text/x-rst","patch_set":3,"id":"fa32b979_21fcfa70","line":13,"in_reply_to":"fa32b979_be134b00","updated":"2015-06-24 22:30:04.000000000","message":"Sure. I was mimicking the comments in the next section however. Would you like them all changed?","commit_id":"f82400b43224327b79e85843fd6f30fc838b10c7"}],"elements/source-repositories/extra-data.d/98-source-repositories":[{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"51f2f67b765cd80e6af0e894f9a49274bb815a67","unresolved":false,"context_lines":[{"line_number":119,"context_line":"                fi"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"                if [ \"$REPOREF\" !\u003d \"*\" ] ; then"},{"line_number":122,"context_line":"                    HAS_REF\u003d$(git --git-dir\u003d$CACHE_PATH/.git name-rev \"$REPOREF\" 2\u003e/dev/null || true)"},{"line_number":123,"context_line":"                fi"},{"line_number":124,"context_line":"                if [ -z \"$DIB_OFFLINE\" -o -z \"$HAS_REF\" ] ; then"},{"line_number":125,"context_line":"                    echo \"Updating cache of $REPOLOCATION in $CACHE_PATH with ref $REPOREF\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa32b979_d66399af","line":122,"updated":"2015-06-24 20:42:08.000000000","message":"I guess the quoting can be dropped since we skip this anyway when * is passed in.","commit_id":"57b71a0815883ed4e6443a91234c1892d6071fc5"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"51f2f67b765cd80e6af0e894f9a49274bb815a67","unresolved":false,"context_lines":[{"line_number":162,"context_line":"                    fi"},{"line_number":163,"context_line":"                else"},{"line_number":164,"context_line":"                    sudo git clone $CACHE_PATH $REPO_DEST"},{"line_number":165,"context_line":"                    pushd $REPO_DEST"},{"line_number":166,"context_line":"                    sudo git fetch $CACHE_PATH $REPOREF:fetch_$REPOREF"},{"line_number":167,"context_line":"                    sudo git reset --hard FETCH_HEAD"},{"line_number":168,"context_line":"                    # Get the sha in use"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"fa32b979_3623e557","line":165,"updated":"2015-06-24 20:42:08.000000000","message":"I guess I also need to add some magic down here to do what we want.","commit_id":"57b71a0815883ed4e6443a91234c1892d6071fc5"}]}
