)]}'
{"roles/copy-release-tools-scripts/files/release-tools/functions":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"908fbdec8f0e9d67258aa55409af677b4f573092","unresolved":false,"context_lines":[{"line_number":89,"context_line":"    sed -i~ -e \"s,{\\(env:UPPER_CONSTRAINTS_FILE\\)[^ ]*},{\\1:$uc_url},\" tox.ini"},{"line_number":90,"context_line":"    sed -i~ -e \"s,{\\(env:TOX_CONSTRAINTS_FILE\\)[^ ]*},{\\1:$uc_url},\" tox.ini"},{"line_number":91,"context_line":"    # Octavia project specific"},{"line_number":92,"context_line":"    sed -i~ -e \"s,\\(https://opendev.org/openstack/octavia\\).*,\\1 ${branch},\" elements/amphora-agent/source-repository-amphora-agent"},{"line_number":93,"context_line":"    sed -i~ -e \"s,\\(file /opt/upper-constraints.txt\\) \\(.*\\),\\1 ${uc_url},\" elements/amphora-agent/source-repository-amphora-agent"},{"line_number":94,"context_line":"    if ! git diff --exit-code \u003e/dev/null 2\u003e\u00261 ; then"},{"line_number":95,"context_line":"        git add tox.ini"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3fa7e38b_5469bff4","line":92,"updated":"2020-02-05 18:07:51.000000000","message":"This are going to assume that file exists and will error out for non-octavia repositories.\nI would recommend either checking for the octavia repo, or adding || true to the end of these lines.","commit_id":"ade102e9beab031ee9526597df64a8d794168119"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"48efa4c6c31de35e6b5fb17e9e57db2094dd9d75","unresolved":false,"context_lines":[{"line_number":89,"context_line":"    sed -i~ -e \"s,{\\(env:UPPER_CONSTRAINTS_FILE\\)[^ ]*},{\\1:$uc_url},\" tox.ini"},{"line_number":90,"context_line":"    sed -i~ -e \"s,{\\(env:TOX_CONSTRAINTS_FILE\\)[^ ]*},{\\1:$uc_url},\" tox.ini"},{"line_number":91,"context_line":"    # Octavia project specific"},{"line_number":92,"context_line":"    sed -i~ -e \"s,\\(https://opendev.org/openstack/octavia\\).*,\\1 ${branch},\" elements/amphora-agent/source-repository-amphora-agent"},{"line_number":93,"context_line":"    sed -i~ -e \"s,\\(file /opt/upper-constraints.txt\\) \\(.*\\),\\1 ${uc_url},\" elements/amphora-agent/source-repository-amphora-agent"},{"line_number":94,"context_line":"    if ! git diff --exit-code \u003e/dev/null 2\u003e\u00261 ; then"},{"line_number":95,"context_line":"        git add tox.ini"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3fa7e38b_7445db71","line":92,"in_reply_to":"3fa7e38b_5469bff4","updated":"2020-02-05 18:08:41.000000000","message":"Or see the above check for the tox.ini file and copy it.","commit_id":"ade102e9beab031ee9526597df64a8d794168119"},{"author":{"_account_id":6469,"name":"Carlos Gonçalves","display_name":"Carlos Goncalves","email":"cgoncalves@redhat.com","username":"cgoncalves"},"change_message_id":"88289c139a8f260627619354eeb5f11dea307028","unresolved":false,"context_lines":[{"line_number":89,"context_line":"    sed -i~ -e \"s,{\\(env:UPPER_CONSTRAINTS_FILE\\)[^ ]*},{\\1:$uc_url},\" tox.ini"},{"line_number":90,"context_line":"    sed -i~ -e \"s,{\\(env:TOX_CONSTRAINTS_FILE\\)[^ ]*},{\\1:$uc_url},\" tox.ini"},{"line_number":91,"context_line":"    # Octavia project specific"},{"line_number":92,"context_line":"    sed -i~ -e \"s,\\(https://opendev.org/openstack/octavia\\).*,\\1 ${branch},\" elements/amphora-agent/source-repository-amphora-agent"},{"line_number":93,"context_line":"    sed -i~ -e \"s,\\(file /opt/upper-constraints.txt\\) \\(.*\\),\\1 ${uc_url},\" elements/amphora-agent/source-repository-amphora-agent"},{"line_number":94,"context_line":"    if ! git diff --exit-code \u003e/dev/null 2\u003e\u00261 ; then"},{"line_number":95,"context_line":"        git add tox.ini"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3fa7e38b_af2ea08a","line":92,"in_reply_to":"3fa7e38b_7445db71","updated":"2020-02-05 18:18:24.000000000","message":"Done","commit_id":"ade102e9beab031ee9526597df64a8d794168119"}]}
