)]}'
{"playbooks/roles/lxc_container_create/tasks/container_create.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"17f0b1a2c1716d67db141efc0f56c1ddcdbc86d7","unresolved":false,"context_lines":[{"line_number":67,"context_line":"  tags:"},{"line_number":68,"context_line":"    - lxc-container-directories"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"- name: Load contianer service mounts and profile"},{"line_number":71,"context_line":"  lxc_container:"},{"line_number":72,"context_line":"    name: \"{{ inventory_hostname }}\""},{"line_number":73,"context_line":"    container_command: |"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"fa32b979_c3b02be0","line":70,"updated":"2015-06-16 09:02:11.000000000","message":"nit: \u0027container\u0027 not \u0027contianer\u0027","commit_id":"257ec5e9bb74bc0cde018c9915ad12cf8fa4d869"}],"scripts/run-upgrade.sh":[{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"a72c09d650e368334c64e360ea7fc95c990e875f","unresolved":false,"context_lines":[{"line_number":383,"context_line":"        config_lines \u003d f.readlines()"},{"line_number":384,"context_line":""},{"line_number":385,"context_line":"    # List mounts and index them"},{"line_number":386,"context_line":"    bind_mounts \u003d ["},{"line_number":387,"context_line":"        (i, config_lines.index(i)) for i in config_lines"},{"line_number":388,"context_line":"        if i.startswith(\u0027lxc.mount.entry\u0027)"},{"line_number":389,"context_line":"        if \u0027bind\u0027 in i"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3afb71cf_bb5df816","line":386,"updated":"2015-06-09 10:19:07.000000000","message":"Enumerate would probably be better than the index lookup.\n[ t for t in enumerate(config_lines) if \u0027bind\u0027 in t[1] ]","commit_id":"dbe17d686df5192a7e5e4bfc8dc921b7281897fd"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c5312d3b41bdc06b5f74d5bcc801320126119ecf","unresolved":false,"context_lines":[{"line_number":383,"context_line":"        config_lines \u003d f.readlines()"},{"line_number":384,"context_line":""},{"line_number":385,"context_line":"    # List mounts and index them"},{"line_number":386,"context_line":"    bind_mounts \u003d ["},{"line_number":387,"context_line":"        (i, config_lines.index(i)) for i in config_lines"},{"line_number":388,"context_line":"        if i.startswith(\u0027lxc.mount.entry\u0027)"},{"line_number":389,"context_line":"        if \u0027bind\u0027 in i"}],"source_content_type":"text/x-sh","patch_set":3,"id":"3afb71cf_ea74b836","line":386,"in_reply_to":"3afb71cf_bb5df816","updated":"2015-06-09 12:17:02.000000000","message":"in this list comprehension i\u0027m looking for the indexed item from the list \"config_lines\". the index is later used to replace a line that has a bind mount in it and is not using an absolute path. Sadly adding enumerate here would create a tuple with a sting and generator and i\u0027m looking for the string and integer which is the original line in config and the line number that needs to be munged.","commit_id":"dbe17d686df5192a7e5e4bfc8dc921b7281897fd"}]}
