)]}'
{"run_tests.sh":[{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"50bb0739af281282eabbe486813843fd421e59b2","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    # file *names* and there are no files named (eg) \"nova/compute/manager.py\".  The"},{"line_number":183,"context_line":"    # --diff argument behaves surprisingly as well, because although you feed it a"},{"line_number":184,"context_line":"    # diff, it actually checks the file on disk anyway."},{"line_number":185,"context_line":"    local files\u003d$(git diff --name-only HEAD~1 | tr \u0027\\n\u0027 \u0027 \u0027)"},{"line_number":186,"context_line":"    echo \"Running flake8 on ${files}\""},{"line_number":187,"context_line":"    warn_on_flake8_without_venv"},{"line_number":188,"context_line":"    diff -u --from-file /dev/null ${files} | ${wrapper} flake8 --diff"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1abeadc6_6562bbae","line":185,"updated":"2014-08-19 17:19:25.000000000","message":"It would be cool if you could run run_tests.sh -8 on an arbitrary set of commits, like HEAD~5 to HEAD. For example if I\u0027m running on a series of patches in a branch.","commit_id":"100caf59d3b5c734272538fe9f1e23ad6b5414d3"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"522393d3bced1be2858d2ce46800f774c143bfa5","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    # file *names* and there are no files named (eg) \"nova/compute/manager.py\".  The"},{"line_number":183,"context_line":"    # --diff argument behaves surprisingly as well, because although you feed it a"},{"line_number":184,"context_line":"    # diff, it actually checks the file on disk anyway."},{"line_number":185,"context_line":"    local files\u003d$(git diff --name-only HEAD~1 | tr \u0027\\n\u0027 \u0027 \u0027)"},{"line_number":186,"context_line":"    echo \"Running flake8 on ${files}\""},{"line_number":187,"context_line":"    warn_on_flake8_without_venv"},{"line_number":188,"context_line":"    diff -u --from-file /dev/null ${files} | ${wrapper} flake8 --diff"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1abeadc6_9be0e697","line":185,"in_reply_to":"1abeadc6_6562bbae","updated":"2014-08-20 19:34:33.000000000","message":"Detecting the parent branch is not easy in git. I can change it to pass the remaining parameter (optional). Optional parameters are stored in $testrargs.\n\n   local target\u003d${testrargs:-HEAD~1}\n   local files\u003d$(git diff --name-only $target | tr \u0027\\n\u0027 \u0027 \u0027)\n\nAs a result we can do:\n\n  ./run_tests.sh -8\n  ./run_tests.sh -8 master\n  ./run_tests.sh -8 HEAD~2\n\nThought?","commit_id":"100caf59d3b5c734272538fe9f1e23ad6b5414d3"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"91313c9232ecfbcaccdc2da7fda67c132de53046","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    # file *names* and there are no files named (eg) \"nova/compute/manager.py\".  The"},{"line_number":183,"context_line":"    # --diff argument behaves surprisingly as well, because although you feed it a"},{"line_number":184,"context_line":"    # diff, it actually checks the file on disk anyway."},{"line_number":185,"context_line":"    local files\u003d$(git diff --name-only HEAD~1 | tr \u0027\\n\u0027 \u0027 \u0027)"},{"line_number":186,"context_line":"    echo \"Running flake8 on ${files}\""},{"line_number":187,"context_line":"    warn_on_flake8_without_venv"},{"line_number":188,"context_line":"    diff -u --from-file /dev/null ${files} | ${wrapper} flake8 --diff"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1abeadc6_c4627a3d","line":185,"in_reply_to":"1abeadc6_9be0e697","updated":"2014-08-20 22:16:50.000000000","message":"./run_tests.sh -8 [\u003cref\u003e] is great","commit_id":"100caf59d3b5c734272538fe9f1e23ad6b5414d3"},{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"3ed788f496b8c2174cb12c42b25a7e7d08021538","unresolved":false,"context_lines":[{"line_number":183,"context_line":"    # file *names* and there are no files named (eg) \"nova/compute/manager.py\".  The"},{"line_number":184,"context_line":"    # --diff argument behaves surprisingly as well, because although you feed it a"},{"line_number":185,"context_line":"    # diff, it actually checks the file on disk anyway."},{"line_number":186,"context_line":"    local target\u003d${testrargs:-HEAD~1}"},{"line_number":187,"context_line":"    local files\u003d$(git diff --name-only $target | tr \u0027\\n\u0027 \u0027 \u0027)"},{"line_number":188,"context_line":"    echo \"Running flake8 on ${files}\""},{"line_number":189,"context_line":"    warn_on_flake8_without_venv"}],"source_content_type":"text/x-sh","patch_set":2,"id":"1abeadc6_c4f50384","line":186,"updated":"2014-08-28 16:56:48.000000000","message":"If you want to make this configurable, I think it makes sense to define a new documented argument rather than overriding testrargs.","commit_id":"d66941b30f9a9658af7f763c866037bedcbe9321"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"ad3c75ca2828d073d9079d12d373e1dd24ebdc4a","unresolved":false,"context_lines":[{"line_number":183,"context_line":"    # file *names* and there are no files named (eg) \"nova/compute/manager.py\".  The"},{"line_number":184,"context_line":"    # --diff argument behaves surprisingly as well, because although you feed it a"},{"line_number":185,"context_line":"    # diff, it actually checks the file on disk anyway."},{"line_number":186,"context_line":"    local target\u003d${testrargs:-HEAD~1}"},{"line_number":187,"context_line":"    local files\u003d$(git diff --name-only $target | tr \u0027\\n\u0027 \u0027 \u0027)"},{"line_number":188,"context_line":"    echo \"Running flake8 on ${files}\""},{"line_number":189,"context_line":"    warn_on_flake8_without_venv"}],"source_content_type":"text/x-sh","patch_set":2,"id":"1abeadc6_4a653043","line":186,"in_reply_to":"1abeadc6_c4f50384","updated":"2014-08-30 12:22:19.000000000","message":"Actually testrargs and testropts are used to store unknown args and opts from process_options. I renamed both testrargs and testropts to testargs and testopts (\"r\" of testr is removed).","commit_id":"d66941b30f9a9658af7f763c866037bedcbe9321"}]}
