)]}'
{"tools/tox_install.sh":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2b5933fd25d3f649fed92ca0f4d33a9b556a38d4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da4df55a_c62a807e","updated":"2016-12-21 22:36:50.000000000","message":"wont this script cause issues installing os-vif on windows and runing tox unless you use someting like cygwin to provide bash and curl?","commit_id":"5f4a85944598f060410e12fda170ca1532719365"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"041769d28be8df9366b15425e632704fd613ad28","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da4df55a_5a9c4569","in_reply_to":"da4df55a_2c686af5","updated":"2016-12-24 02:10:31.000000000","message":"@tony\nif this was a python script it would be more portable yes.\ni personally have access to bash on my windows systems but others might not.\n\n@cludiu correct, however i want to make sure that we can still run all tox targets on windows after this change is made.\n\nideally it would be nice to get as gate to check this at some point or at a minimum document how to test this properly on windows so we can ensure windows continues to work going forward.\n\nas for docs for windows deployment i think that is a gap we need to closed. currently i use cygwin when i want to test that code should work on windows. as such i do have bash,curl and pip but it would be better if we did not have to require people to use cygwin.\n\nto install os-vif under cygwin requires me to modify oslo.log to not use pyinotify when run under cygwin\nhttps://github.com/openstack/oslo.log/blob/bdb5a076276c244439f02d2e697c48ba1d51c7a4/requirements.txt#L13 \nand modify the requirements file to use my local oslo.log copy.\n\nill upstream the fix to oslo log to add cygwin to the excluded platforms when i get back to vaction","commit_id":"5f4a85944598f060410e12fda170ca1532719365"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"d12996cc38341dba776664fc4107adac90bbcaaa","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da4df55a_c667e023","in_reply_to":"da4df55a_c62a807e","updated":"2016-12-21 22:56:29.000000000","message":"Quite probably.   Do you have a docs somewhere that covers what a windows environment looks like so I can try to work out what tools we can rely on?\n\nWould it work if I re-wrote this in python+stdlib+pip?","commit_id":"5f4a85944598f060410e12fda170ca1532719365"},{"author":{"_account_id":8213,"name":"Claudiu Belu","email":"cbelu@cloudbasesolutions.com","username":"claudiub"},"change_message_id":"dfb2995e1967e3d4588be07eb717179f1ec63967","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da4df55a_2c686af5","in_reply_to":"da4df55a_c667e023","updated":"2016-12-22 15:15:40.000000000","message":"installing os-vif on windows doesn\u0027t cause any issues, as pip install or python setup.py install doesn\u0027t use tox or this script.","commit_id":"5f4a85944598f060410e12fda170ca1532719365"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"bc177b21f2a017450837ede2db9cb3f3bc66fa38","unresolved":false,"context_lines":[{"line_number":24,"context_line":"# This is the main purpose of the script: Allow local installation of"},{"line_number":25,"context_line":"# the current repo. It is listed in constraints file and thus any"},{"line_number":26,"context_line":"# install will be constrained and we need to unconstrain it."},{"line_number":27,"context_line":"edit-constraints \"$localfile\" -- \"$CLIENT_NAME\""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"pip install -c\"$localfile\" -U \"$@\""},{"line_number":30,"context_line":"exit $?"}],"source_content_type":"text/x-sh","patch_set":1,"id":"da4df55a_3aace133","line":27,"updated":"2016-12-24 02:37:23.000000000","message":"if i duplicate this line and exclude oslo.log i am able to apply this patch and used my local copy of oslo.log to run the py27 and docs target under cygwin. from that standpoint i can confirm that this change will work on windows in a Cygwin environment once oslo.log is fixed to work on Cygwin.\n\n@claudiu do you have documentation of how you deploy os-vif on windows natively?","commit_id":"5f4a85944598f060410e12fda170ca1532719365"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"8a3a79510ec49e9d3d03ec7e81c14c16b4b82e1c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9a30ddce_63e154d0","updated":"2017-03-09 03:33:14.000000000","message":"I\u0027ve created as much of a development environment as I can\n\n - Install python27 from python.org (into c:\\Python27][1]\n - Install python35 from python.org (into c:\\Python35][1]\n - Install python36 from python.org (into c:\\Python36][1]\n - install git fom git-scm.com\n - Run \"git bash\" which is a slimmed down cygwin I guess ?\n\nand the tox install works.  I hit issues later in that I don\u0027t have C compiler and os-vif -\u003e reno -\u003e dulwich which needs a compiler to build[2]\n\nMy point it that if we assume that git and python is the minimum tools for a developer then this addition doesn\u0027t make it any harder, you\u0027ll still need a cimpiler, to test os-vif on linux, darwin and win32 platforms\n\n\n[1] The path is hard coded into tox :(\n[2] it as a --pure option to use a Python implementation but there isn\u0027t a way to plumb that into our tools/tox etc","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"87845d4b6a4dbd8f56113cedff66fbb3122112fe","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"1a1ced50_b5c11e31","in_reply_to":"3a1ff146_7a1213b6","updated":"2017-03-17 00:35:28.000000000","message":"I\u0027ve very confused\n\nI *think* I\u0027ve updated the latest patchset to have \\r\\n line-endings to see if that\u0027s the base problem or if there is something bigger going on here.","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"8fc6e2d59c14d8bd6233c650fee4d166b9f2a944","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9a30ddce_e85a5829","in_reply_to":"9a30ddce_107a8ff1","updated":"2017-03-09 21:36:39.000000000","message":"Yeah reverting would be a serious regression and set the requirements team back several months so I appreciate you restraint there.  I think you know that the *intent* isn\u0027t to eliminate an entire platform.\n\nIf you can explain how to setup a cygwin environment I\u0027ll look at this next week.\n\nwhat version of bash do you have?  As I said the version with git \"just works\" so it may be a version 3 vs version 4 thing? \n\nThe intent was to setup the tools/tox_install.sh script so that (like, global-requirements.txt) changes on openstack/requirements would be propagated out so that as bugs, like this, are found they can be fixed in a central place.  There was an apathy to that approach but it might be worth a discussion.\n\nAlso: https://review.openstack.org/#/c/443970/1\n\nIt\u0027s interesting that cygwin and the environment I setup are so different, well at least encounter very different bugs.  I wonder if it will be possible to keep linux, darwin, win32 and cygwin all working together.","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"620c84f7b39c3fd58851b934d78b9d9090a13bf1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9a30ddce_107a8ff1","in_reply_to":"9a30ddce_63e154d0","updated":"2017-03-09 11:01:58.000000000","message":"actully yes it does. i meant to bring this up at the PTG but you patch breaks cygwin.\n\ni have always used that to test code on windows for 3+ years.\n\nthe only thing required to run os-vif via tox under cygwin was\npatch oslo.log\u0027s reqruiements.txt to not install pyinotify on cygwin\n\n$ git diff\ndiff --git a/requirements.txt b/requirements.txt\nindex 76128f7..84345b5 100644\n--- a/requirements.txt\n+++ b/requirements.txt\n@@ -10,6 +10,6 @@ oslo.i18n\u003e\u003d2.1.0 # Apache-2.0\n oslo.utils\u003e\u003d3.20.0 # Apache-2.0\n oslo.serialization\u003e\u003d1.10.0 # Apache-2.0\n debtcollector\u003e\u003d1.2.0 # Apache-2.0\n-pyinotify\u003e\u003d0.9.6;sys_platform!\u003d\u0027win32\u0027 and sys_platform!\u003d\u0027darwin\u0027 and sys_platform!\u003d\u0027sunos5\u0027 # MIT\n+pyinotify\u003e\u003d0.9.6;sys_platform!\u003d\u0027win32\u0027 and sys_platform!\u003d\u0027darwin\u0027 and sys_platform!\u003d\u0027sunos5\u0027 and sys_platform!\u003d\u0027cygwin\u0027 # MIT\n python-dateutil\u003e\u003d2.4.2 # BSD\n monotonic\u003e\u003d0.6 # Apache-2.0\n\n\nsince your patch merged to oslo.log i now get this error message.\n\nhttp://paste.openstack.org/show/602049/ \n\nso as far as i am concerend not only does this make it harder but it also eliminates an entire plathform of supprot.\n\nwhen i discovered this on the last day i serisously considerd proposing a revert for you change to oslo.log and all other repos that have merged this but desided to hold off untill i have a working alternitive or have talked to you about it.","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"5fe168fc1e0b93cf4e4f5cf1716e0ddb0982b2db","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"3a1ff146_7a1213b6","in_reply_to":"9a30ddce_dc7f1264","updated":"2017-03-15 13:03:21.000000000","message":"yes i do.\nthe line ending appear to be form mac OSX rather than\nlinux as they are just /r linux would be /n and windows is /r/n\n\nim not sure the autocrlf will fix OSX line endings but in eiter case with that set or disabled it is not correcting the issue.","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"87d901d81782ede76962c3d941072e8179910e42","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"9a30ddce_dc7f1264","in_reply_to":"9a30ddce_e85a5829","updated":"2017-03-15 01:43:36.000000000","message":"Actually looking at your pastebin they all look like line ending errors.\n\nDo you have https://git-scm.com/docs/git-config#git-config-coreautocrlf set?\n\nSo I wrote this days ago and then left it in draft for reasons I don\u0027t understand but can only chalk up to incompetance","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"}],"tox.ini":[{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"8a3a79510ec49e9d3d03ec7e81c14c16b4b82e1c","unresolved":false,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":"[testenv]"},{"line_number":7,"context_line":"usedevelop \u003d True"},{"line_number":8,"context_line":"install_command \u003d bash {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}"},{"line_number":9,"context_line":"setenv \u003d"},{"line_number":10,"context_line":"   VIRTUAL_ENV\u003d{envdir}"},{"line_number":11,"context_line":"   BRANCH_NAME\u003dmaster"}],"source_content_type":"text/x-properties","patch_set":2,"id":"9a30ddce_e3cd445e","line":8,"range":{"start_line":8,"start_character":17,"end_line":8,"end_character":23},"updated":"2017-03-09 03:33:14.000000000","message":"Without this you get told \u0027%1\u0027 isn\u0027t a windows executable but forcing tox_install to be run under bash (which the #! line does anyway) allows tox to invoke it","commit_id":"d7054ae715ce92e7dcc28e64ff92c3658ba66363"}]}
