)]}'
{"playbooks/python-tarball/pre.yaml":[{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"c9f53307e3474335abb7a0bcfe236234da4888c3","unresolved":false,"context_lines":[{"line_number":11,"context_line":"          # See if the tag appears on a stable branch"},{"line_number":12,"context_line":"          TARGET_BRANCH\u003d`git -C \\"},{"line_number":13,"context_line":"              {{ ansible_user_dir }}/{{ zuul.project.src_dir }} branch -a \\"},{"line_number":14,"context_line":"              --contains {{ zuul.ref }} | grep \u0027 stable/\u0027 | cut -d/ -f3- \\"},{"line_number":15,"context_line":"              | sort | head -n1`"},{"line_number":16,"context_line":"          # And if it does, then try to check out the same branch of the"},{"line_number":17,"context_line":"          # requirements repo, but if that doesn\u0027t exist then we leave it"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3fa0c359_84c32357","line":14,"updated":"2018-02-12 20:32:03.000000000","message":"Just realized the `cut` isn\u0027t needed, that was a holdover from the original implementation which worked off remote branch names.","commit_id":"d81b14d4ed5d5394872ad7ffd466bf6111a4d40c"},{"author":{"_account_id":9061,"name":"David Moreau Simard","email":"moi@dmsimard.com","username":"dmsimard"},"change_message_id":"771564597accd101915a2e0b864fd500dc03ed97","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    - name: Checkout requirements branch for tag"},{"line_number":8,"context_line":"      shell:"},{"line_number":9,"context_line":"        cmd: |"},{"line_number":10,"context_line":"          set -x"},{"line_number":11,"context_line":"          # See if the tag appears on a stable branch"},{"line_number":12,"context_line":"          TARGET_BRANCH\u003d`git -C \\"},{"line_number":13,"context_line":"              {{ ansible_user_dir }}/{{ zuul.project.src_dir }} branch -a \\"},{"line_number":14,"context_line":"              --contains {{ zuul.ref }} | grep \u0027 stable/\u0027 | sort | head -n1`"},{"line_number":15,"context_line":"          # And if it does, then try to check out the same branch of the"},{"line_number":16,"context_line":"          # requirements repo, but if that doesn\u0027t exist then we leave it"},{"line_number":17,"context_line":"          # as we found it"},{"line_number":18,"context_line":"          if [ -n \"$TARGET_BRANCH\" ]; then"},{"line_number":19,"context_line":"              git checkout $TARGET_BRANCH || true"},{"line_number":20,"context_line":"          done"},{"line_number":21,"context_line":"        executable: /bin/bash"},{"line_number":22,"context_line":"        chdir: \"{{ zuul.projects[\u0027git.openstack.org/openstack/requirements\u0027].src_dir }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3fa0c359_11165a4a","line":20,"range":{"start_line":10,"start_character":0,"end_line":20,"end_character":14},"updated":"2018-02-13 15:27:35.000000000","message":"Just in case anyone else has the question: http://eavesdrop.openstack.org/irclogs/%23openstack-infra/%23openstack-infra.2018-02-12.log.html#t2018-02-12T20:33:50\n\n    \"the branch for the change is already in the host vars, is there a particular reason we\u0027re trying to parse it ? I don\u0027t have full context on this but could we do something like (pseudocode) git checkout {{ zuul.branch }} ... when: \"stable\" in {{ zuul.branch }} ?\"","commit_id":"fb79c8732ef84af07d70de52b6e664e8a5d6fcf5"}]}
