{"action":"created","issue":{"url":"https://api.github.com/repos/NickLaMuro/miq_tools/issues/7","repository_url":"https://api.github.com/repos/NickLaMuro/miq_tools","labels_url":"https://api.github.com/repos/NickLaMuro/miq_tools/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/NickLaMuro/miq_tools/issues/7/comments","events_url":"https://api.github.com/repos/NickLaMuro/miq_tools/issues/7/events","html_url":"https://github.com/NickLaMuro/miq_tools/pull/7","id":337166272,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDQ2NjIy","number":7,"title":"Add bisect_gemfile_parser script","user":{"login":"NickLaMuro","id":314014,"node_id":"MDQ6VXNlcjMxNDAxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/314014?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLaMuro","html_url":"https://github.com/NickLaMuro","followers_url":"https://api.github.com/users/NickLaMuro/followers","following_url":"https://api.github.com/users/NickLaMuro/following{/other_user}","gists_url":"https://api.github.com/users/NickLaMuro/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLaMuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLaMuro/subscriptions","organizations_url":"https://api.github.com/users/NickLaMuro/orgs","repos_url":"https://api.github.com/users/NickLaMuro/repos","events_url":"https://api.github.com/users/NickLaMuro/events{/privacy}","received_events_url":"https://api.github.com/users/NickLaMuro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T23:45:04Z","updated_at":"2018-06-29T23:46:06Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/NickLaMuro/miq_tools/pulls/7","html_url":"https://github.com/NickLaMuro/miq_tools/pull/7","diff_url":"https://github.com/NickLaMuro/miq_tools/pull/7.diff","patch_url":"https://github.com/NickLaMuro/miq_tools/pull/7.patch"},"body":"This is a helper for running a bisect when having to deal with \"point in time\" issues when bisecting and dealing with git-gems\r\n\r\nBecause our Gemfile use the most recent version of the gem when running a `bundle` and/or `bundle update`, when attempting to do a `git bistect`, dependecies that might be causing the issue are not being checked out in a fashion that represents what the state of things were in the MIQ environment at the point of the checkout.\r\n\r\nThis helper attempts to checkout a proper revision of all of the manageiq git gem dependencies by checking the current revision of the gems in the currently parse Gemfile, and throws a override file in the `bundler.d/` directory which will set the proper overrides.\r\n\r\n\r\nUsage\r\n-----\r\n\r\nThe workflow for using this script is as follows;\r\n\r\n1. Start `git bisect`\r\n2. Run the script\r\n    - you can actually chuck this in `bin/` since it is git-ignored)\r\n3. Run `bin/bundle update`\r\n4. Do what you need to validate the git sha, and move on the the next commit\r\n5. Repeat steps 2-4 until you are finished\r\n6. Run `rm bundle.d/bisect.rb` to clean up this script (DON'T FORGET!)\r\n\r\nThe last step is important as it will most likely mess with your your master branch.\r\n\r\n\r\nTODO\r\n----\r\n\r\n* [ ] Possibly add workflow commands for handling bistect commands, that will run both steps 2 & 3 from the above workflow\r\n* [ ] Possibly add a `bisect_gemfile_parser cleanup` subcommand to handle the `rm bundler.d/bisect.rb` portion of things."},"comment":{"url":"https://api.github.com/repos/NickLaMuro/miq_tools/issues/comments/401499866","html_url":"https://github.com/NickLaMuro/miq_tools/pull/7#issuecomment-401499866","issue_url":"https://api.github.com/repos/NickLaMuro/miq_tools/issues/7","id":401499866,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTQ5OTg2Ng==","user":{"login":"NickLaMuro","id":314014,"node_id":"MDQ6VXNlcjMxNDAxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/314014?v=4","gravatar_id":"","url":"https://api.github.com/users/NickLaMuro","html_url":"https://github.com/NickLaMuro","followers_url":"https://api.github.com/users/NickLaMuro/followers","following_url":"https://api.github.com/users/NickLaMuro/following{/other_user}","gists_url":"https://api.github.com/users/NickLaMuro/gists{/gist_id}","starred_url":"https://api.github.com/users/NickLaMuro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickLaMuro/subscriptions","organizations_url":"https://api.github.com/users/NickLaMuro/orgs","repos_url":"https://api.github.com/users/NickLaMuro/repos","events_url":"https://api.github.com/users/NickLaMuro/events{/privacy}","received_events_url":"https://api.github.com/users/NickLaMuro/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T23:46:06Z","updated_at":"2018-06-29T23:46:06Z","author_association":"OWNER","body":"Not sure if I will commit this now, or do the TODO's as part of this PR, but wanted to get this off of my machine as I am now finding a use for it again."}}
{"actor":{"display_login":"NickLaMuro"}}