)]}'
{"quickstart.sh":[{"author":{"_account_id":8175,"name":"Rafael Folco","email":"rfolco@redhat.com","username":"rfolco"},"change_message_id":"7c3d4090a8c7f52970c7f683ec26f4faf042061b","unresolved":false,"context_lines":[{"line_number":242,"context_line":"            $venv_create || {"},{"line_number":243,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":244,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":245,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":246,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":247,"context_line":"                $venv_create"},{"line_number":248,"context_line":"            }"}],"source_content_type":"text/x-sh","patch_set":3,"id":"bfdaf3ff_4d896373","line":245,"range":{"start_line":245,"start_character":16,"end_line":245,"end_character":52},"updated":"2019-01-14 13:03:51.000000000","message":"not quite sure this helps anyhow","commit_id":"8f3356e309c5486dd04c567062f7b137e05d31e9"},{"author":{"_account_id":24162,"name":"Sorin Sbârnea","display_name":"zbr","email":"ssbarnea@redhat.com","username":"ssbarnea","status":"do not feed the troll 🥕"},"change_message_id":"3aa67088697b546e7ad421458735c9a6fc9243ec","unresolved":false,"context_lines":[{"line_number":242,"context_line":"            $venv_create || {"},{"line_number":243,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":244,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":245,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":246,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":247,"context_line":"                $venv_create"},{"line_number":248,"context_line":"            }"}],"source_content_type":"text/x-sh","patch_set":3,"id":"bfdaf3ff_cd1eb30b","line":245,"range":{"start_line":245,"start_character":16,"end_line":245,"end_character":52},"in_reply_to":"bfdaf3ff_4d896373","updated":"2019-01-17 19:47:09.000000000","message":"This display all running python processes, allowing us to findout which python process was keeping the virtualenv \"locked\". The brackets around \u0027p\u0027 are a way to avoid grep process from being listed.","commit_id":"8f3356e309c5486dd04c567062f7b137e05d31e9"},{"author":{"_account_id":8175,"name":"Rafael Folco","email":"rfolco@redhat.com","username":"rfolco"},"change_message_id":"7c3d4090a8c7f52970c7f683ec26f4faf042061b","unresolved":false,"context_lines":[{"line_number":243,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":244,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":245,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":246,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":247,"context_line":"                $venv_create"},{"line_number":248,"context_line":"            }"},{"line_number":249,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":3,"id":"bfdaf3ff_cd94738e","line":246,"range":{"start_line":246,"start_character":16,"end_line":246,"end_character":45},"updated":"2019-01-14 13:03:51.000000000","message":"if file is busy on that dir, moving it won\u0027t work, I guess.","commit_id":"8f3356e309c5486dd04c567062f7b137e05d31e9"},{"author":{"_account_id":24162,"name":"Sorin Sbârnea","display_name":"zbr","email":"ssbarnea@redhat.com","username":"ssbarnea","status":"do not feed the troll 🥕"},"change_message_id":"3aa67088697b546e7ad421458735c9a6fc9243ec","unresolved":false,"context_lines":[{"line_number":243,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":244,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":245,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":246,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":247,"context_line":"                $venv_create"},{"line_number":248,"context_line":"            }"},{"line_number":249,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":3,"id":"bfdaf3ff_8ded0bf1","line":246,"range":{"start_line":246,"start_character":16,"end_line":246,"end_character":45},"in_reply_to":"bfdaf3ff_cd94738e","updated":"2019-01-17 19:47:09.000000000","message":"Moving/Renaming a folder on linux is a very old trick for avoiding a removal that would fail due to locking. This has no problem and work on any FS I can think of.","commit_id":"8f3356e309c5486dd04c567062f7b137e05d31e9"},{"author":{"_account_id":10969,"name":"Shnaidman Sagi (Sergey)","display_name":"Shnaidman Sagi","email":"sshnaidm@redhat.com","username":"sergsh"},"change_message_id":"f6fc76c802ab8ec6b08c808bdc3286c2997ed0cd","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":238,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":239,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":240,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":241,"context_line":"                $venv_create"},{"line_number":242,"context_line":"            }"},{"line_number":243,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":5,"id":"9fdfeff1_cf355ef9","line":240,"range":{"start_line":240,"start_character":16,"end_line":240,"end_character":45},"updated":"2019-01-21 20:33:00.000000000","message":"are you sure you can move the directory without issues if process is actually busy?","commit_id":"1c294e61c168db80fc62aa6da7f141fc3520b0ee"},{"author":{"_account_id":24162,"name":"Sorin Sbârnea","display_name":"zbr","email":"ssbarnea@redhat.com","username":"ssbarnea","status":"do not feed the troll 🥕"},"change_message_id":"3f2001d3630ecf8b773c22a94c86b6682cf38b34","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":238,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":239,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":240,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":241,"context_line":"                $venv_create"},{"line_number":242,"context_line":"            }"},{"line_number":243,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":5,"id":"9fdfeff1_0a3d0fc3","line":240,"range":{"start_line":240,"start_character":16,"end_line":240,"end_character":45},"in_reply_to":"9fdfeff1_322181b1","updated":"2019-01-29 11:35:33.000000000","message":"it works even with relative. see my prev comment.","commit_id":"1c294e61c168db80fc62aa6da7f141fc3520b0ee"},{"author":{"_account_id":24162,"name":"Sorin Sbârnea","display_name":"zbr","email":"ssbarnea@redhat.com","username":"ssbarnea","status":"do not feed the troll 🥕"},"change_message_id":"3f2001d3630ecf8b773c22a94c86b6682cf38b34","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":238,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":239,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":240,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":241,"context_line":"                $venv_create"},{"line_number":242,"context_line":"            }"},{"line_number":243,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":5,"id":"9fdfeff1_6a24dbaf","line":240,"range":{"start_line":240,"start_character":16,"end_line":240,"end_character":45},"in_reply_to":"9fdfeff1_cf355ef9","updated":"2019-01-29 11:35:33.000000000","message":"Yes I am sure. The only case where this may not work is if the new location of the folder would be on a different partition, but that is not the case. I doubt anyone would mount the OPT_WORKDIR into its own partition.","commit_id":"1c294e61c168db80fc62aa6da7f141fc3520b0ee"},{"author":{"_account_id":8175,"name":"Rafael Folco","email":"rfolco@redhat.com","username":"rfolco"},"change_message_id":"d3475a73d818489366b39a9271c2e631c6dbd004","unresolved":false,"context_lines":[{"line_number":237,"context_line":"                # Workaround for random: IOError: [Errno 26] Text file busy"},{"line_number":238,"context_line":"                echo \"WARNING: Failure to recreate virtualenv, attempting renaming old one...\" \u003e\u00262"},{"line_number":239,"context_line":"                ps aux | grep \"[p]ython\" \u003e\u00262 || true"},{"line_number":240,"context_line":"                mv $OPT_WORKDIR $OPT_WORKDIR~"},{"line_number":241,"context_line":"                $venv_create"},{"line_number":242,"context_line":"            }"},{"line_number":243,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":5,"id":"9fdfeff1_322181b1","line":240,"range":{"start_line":240,"start_character":16,"end_line":240,"end_character":45},"in_reply_to":"9fdfeff1_cf355ef9","updated":"2019-01-28 12:05:30.000000000","message":"ok, I think it would work as long as you don\u0027t use relative path","commit_id":"1c294e61c168db80fc62aa6da7f141fc3520b0ee"}]}
