)]}'
{"playbooks/plugins/filters/osa-filters.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"ee7a96aaa86bb314bc94a02a30b87cd492347b21","unresolved":false,"context_lines":[{"line_number":122,"context_line":"    version_descriptors \u003d [\u0027\u003e\u003d\u0027, \u0027\u003c\u003d\u0027, \u0027\u003e\u0027, \u0027\u003c\u0027, \u0027\u003d\u003d\u0027, \u0027~\u003d\u0027, \u0027!\u003d\u0027]"},{"line_number":123,"context_line":"    named_requirements \u003d list()"},{"line_number":124,"context_line":"    for requirement in requirements:"},{"line_number":125,"context_line":"        requirement \u003d requirement.split(\u0027;\u0027)[0]"},{"line_number":126,"context_line":"        name \u003d re.split(r\u0027%s\\s*\u0027 % version_descriptors, requirement)[0]"},{"line_number":127,"context_line":"        if name and not name.startswith(\u0027#\u0027):"},{"line_number":128,"context_line":"            named_requirements.append(name.lower())"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_38892127","line":125,"updated":"2015-10-06 20:36:57.000000000","message":"Did you lift this parsing from anywhere or hand roll this? I think we should look into maybe finding something that can parse requirements for us without us having to think too hard about it.","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c4ab4f38079dda8df9590470eedb5ac5db50b683","unresolved":false,"context_lines":[{"line_number":122,"context_line":"    version_descriptors \u003d [\u0027\u003e\u003d\u0027, \u0027\u003c\u003d\u0027, \u0027\u003e\u0027, \u0027\u003c\u0027, \u0027\u003d\u003d\u0027, \u0027~\u003d\u0027, \u0027!\u003d\u0027]"},{"line_number":123,"context_line":"    named_requirements \u003d list()"},{"line_number":124,"context_line":"    for requirement in requirements:"},{"line_number":125,"context_line":"        requirement \u003d requirement.split(\u0027;\u0027)[0]"},{"line_number":126,"context_line":"        name \u003d re.split(r\u0027%s\\s*\u0027 % version_descriptors, requirement)[0]"},{"line_number":127,"context_line":"        if name and not name.startswith(\u0027#\u0027):"},{"line_number":128,"context_line":"            named_requirements.append(name.lower())"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_68d4a446","line":125,"in_reply_to":"7a2fa921_38892127","updated":"2015-10-06 22:27:32.000000000","message":"This parsing was lifted from yaprt. If there\u0027s a better way we should look at that.","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"ee7a96aaa86bb314bc94a02a30b87cd492347b21","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    return sorted(set(named_requirements))"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"def splitlines(sting_with_lines):"},{"line_number":134,"context_line":"    \"\"\"Return a ``list`` from a sting with lines.\"\"\""},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    return sting_with_lines.splitlines()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_588c1d35","line":133,"updated":"2015-10-06 20:36:57.000000000","message":"Did we need this to simply call `str.splitlines`?","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c4ab4f38079dda8df9590470eedb5ac5db50b683","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    return sorted(set(named_requirements))"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"def splitlines(sting_with_lines):"},{"line_number":134,"context_line":"    \"\"\"Return a ``list`` from a sting with lines.\"\"\""},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    return sting_with_lines.splitlines()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_485f68e5","line":133,"in_reply_to":"7a2fa921_588c1d35","updated":"2015-10-06 22:27:32.000000000","message":"I wasn\u0027t able to find a built in jinja2 that would do this for us directly though an already built string with lines in it.","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"ee7a96aaa86bb314bc94a02a30b87cd492347b21","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    _list_one \u003d set([i.lower() for i in list_one])"},{"line_number":142,"context_line":"    _list_two \u003d set([i.lower() for i in list_two])"},{"line_number":143,"context_line":"    return list(set(_list_one)-set(_list_two))"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"def git_ink_parse(repo):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_f882c9ff","line":143,"updated":"2015-10-06 20:36:57.000000000","message":"_list_one and _list_two are already sets no need to call set on them again","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c4ab4f38079dda8df9590470eedb5ac5db50b683","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    _list_one \u003d set([i.lower() for i in list_one])"},{"line_number":142,"context_line":"    _list_two \u003d set([i.lower() for i in list_two])"},{"line_number":143,"context_line":"    return list(set(_list_one)-set(_list_two))"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"def git_ink_parse(repo):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_085970fe","line":143,"in_reply_to":"7a2fa921_f882c9ff","updated":"2015-10-06 22:27:32.000000000","message":"Done","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"ee7a96aaa86bb314bc94a02a30b87cd492347b21","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    if len(git_branch_sha) \u003e 1:"},{"line_number":162,"context_line":"        url, branch \u003d git_branch_sha"},{"line_number":163,"context_line":"    else:"},{"line_number":164,"context_line":"        url \u003d git_branch_sha[0]"},{"line_number":165,"context_line":"        branch \u003d \u0027master\u0027"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    name \u003d os.path.basename(url.rstrip(\u0027/\u0027))"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_1886a513","line":164,"updated":"2015-10-06 20:36:57.000000000","message":"Isn\u0027t this the same as\n\n    url \u003d _git_url\n\nMight be better to do:\n\n    if \u0027@\u0027 in _git_url:\n        url, branch \u003d _git_url.split(\u0027@\u0027, 1)\n    else:\n        url \u003d _git_url\n        branch \u003d \u0027master\u0027\n\nUsing split(\u0027@\u0027, 1) will mean that if there\u0027s more than one \u0027@\u0027 in the url, we won\u0027t have tuple unpacking problems (e.g., foo, bar \u003d (\u0027a\u0027, \u0027b\u0027, \u0027c\u0027))","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c4ab4f38079dda8df9590470eedb5ac5db50b683","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    if len(git_branch_sha) \u003e 1:"},{"line_number":162,"context_line":"        url, branch \u003d git_branch_sha"},{"line_number":163,"context_line":"    else:"},{"line_number":164,"context_line":"        url \u003d git_branch_sha[0]"},{"line_number":165,"context_line":"        branch \u003d \u0027master\u0027"},{"line_number":166,"context_line":""},{"line_number":167,"context_line":"    name \u003d os.path.basename(url.rstrip(\u0027/\u0027))"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a2fa921_285c6cec","line":164,"in_reply_to":"7a2fa921_1886a513","updated":"2015-10-06 22:27:32.000000000","message":"Done","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"4ed5f277df08d097cca39d2f6b922c485ad014da","unresolved":false,"context_lines":[{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    plugin_path \u003d None"},{"line_number":170,"context_line":"    # Determine if the package is a plugin type"},{"line_number":171,"context_line":"    if len(_branch) \u003e 1:"},{"line_number":172,"context_line":"        if \u0027subdirectory\u0027 in _branch[-1]:"},{"line_number":173,"context_line":"            plugin_path \u003d _branch[1].split(\u0027subdirectory\u003d\u0027)[1].split(\u0027\u0026\u0027)[0]"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a2fa921_c855b850","line":171,"updated":"2015-10-06 22:13:24.000000000","message":"Missed this before, can consolidate this:\n\n     if len(_branch) \u003e 1 and \u0027subdirectory\u0027 in _branch[-1]:\n         plugin_path \u003d _branch[1].split(...)[1].split(\u0027\u0026\u0027)[0]\n\nFurther, since you\u0027re checking the existence of \u0027subdirectory\u0027 in _branch[-1] shouldn\u0027t you be doing\n\n     plugin_path \u003d _branch[-1].split(...)[1].split(\u0027\u0026\u0027)[0]","commit_id":"2217474db377dafb3b35e17f09f19d52e2f9bead"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"623ea61eebd5cdbe17898f38903c6cc648f7bf79","unresolved":false,"context_lines":[{"line_number":168,"context_line":""},{"line_number":169,"context_line":"    plugin_path \u003d None"},{"line_number":170,"context_line":"    # Determine if the package is a plugin type"},{"line_number":171,"context_line":"    if len(_branch) \u003e 1:"},{"line_number":172,"context_line":"        if \u0027subdirectory\u0027 in _branch[-1]:"},{"line_number":173,"context_line":"            plugin_path \u003d _branch[1].split(\u0027subdirectory\u003d\u0027)[1].split(\u0027\u0026\u0027)[0]"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"7a2fa921_bbe8c8e3","line":171,"in_reply_to":"7a2fa921_c855b850","updated":"2015-10-06 22:37:26.000000000","message":"Done","commit_id":"2217474db377dafb3b35e17f09f19d52e2f9bead"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"4ed5f277df08d097cca39d2f6b922c485ad014da","unresolved":false,"context_lines":[{"line_number":184,"context_line":"def git_ink_parse_name(repo):"},{"line_number":185,"context_line":"    \"\"\"Return the name of a git repo.\"\"\""},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    return git_ink_parse(repo)[\u0027name\u0027]"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"class FilterModule(object):"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a2fa921_e850b460","line":187,"updated":"2015-10-06 22:13:24.000000000","message":"Why git_ink_parse? The other plugin calls it git_pip_link_parse?","commit_id":"2217474db377dafb3b35e17f09f19d52e2f9bead"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"623ea61eebd5cdbe17898f38903c6cc648f7bf79","unresolved":false,"context_lines":[{"line_number":184,"context_line":"def git_ink_parse_name(repo):"},{"line_number":185,"context_line":"    \"\"\"Return the name of a git repo.\"\"\""},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"    return git_ink_parse(repo)[\u0027name\u0027]"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"class FilterModule(object):"}],"source_content_type":"text/x-python","patch_set":4,"id":"7a2fa921_7be8f010","line":187,"in_reply_to":"7a2fa921_e850b460","updated":"2015-10-06 22:37:26.000000000","message":"because i cant spell. Done.","commit_id":"2217474db377dafb3b35e17f09f19d52e2f9bead"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"2cbea72a615cb34d31232b88e67ebabfa3b06222","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    :return: ``str``"},{"line_number":121,"context_line":"    \"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    version_descriptors \u003d [\u0027\u003e\u003d\u0027, \u0027\u003c\u003d\u0027, \u0027\u003e\u0027, \u0027\u003c\u0027, \u0027\u003d\u003d\u0027, \u0027~\u003d\u0027, \u0027!\u003d\u0027]"},{"line_number":124,"context_line":"    named_requirements \u003d list()"},{"line_number":125,"context_line":"    for requirement in requirements:"},{"line_number":126,"context_line":"        requirement \u003d requirement.split(\u0027;\u0027)[0]"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a29b11f_6b4570b1","line":123,"range":{"start_line":123,"start_character":26,"end_line":123,"end_character":66},"updated":"2015-10-20 09:39:48.000000000","message":"I think this should be version_descriptors \u003d \"(\u003e\u003d|\u003c\u003d|\u003e|\u003c|\u003d\u003d|~\u003d|!\u003d)\"\n\nThe current list is interpreted as a character class equivalent to [\u003e\u003c\u003d~!] after string templating.","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"7af86552da77c6fdbba6ea979907956ef2574282","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    :return: ``str``"},{"line_number":121,"context_line":"    \"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"    version_descriptors \u003d [\u0027\u003e\u003d\u0027, \u0027\u003c\u003d\u0027, \u0027\u003e\u0027, \u0027\u003c\u0027, \u0027\u003d\u003d\u0027, \u0027~\u003d\u0027, \u0027!\u003d\u0027]"},{"line_number":124,"context_line":"    named_requirements \u003d list()"},{"line_number":125,"context_line":"    for requirement in requirements:"},{"line_number":126,"context_line":"        requirement \u003d requirement.split(\u0027;\u0027)[0]"}],"source_content_type":"text/x-python","patch_set":22,"id":"3a29b11f_6ae9dc7f","line":123,"range":{"start_line":123,"start_character":26,"end_line":123,"end_character":66},"in_reply_to":"3a29b11f_6b4570b1","updated":"2015-10-20 14:51:25.000000000","message":"Done","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"e2ce72f3ea8117986fccfb416f7c2ef702e0a32d","unresolved":false,"context_lines":[{"line_number":134,"context_line":"def splitlines(sting_with_lines):"},{"line_number":135,"context_line":"    \"\"\"Return a ``list`` from a sting with lines.\"\"\""},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    return sting_with_lines.splitlines()"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"def filtered_list(list_one, list_two):"}],"source_content_type":"text/x-python","patch_set":29,"id":"3a29b11f_22fe47ae","line":137,"updated":"2015-10-22 10:55:18.000000000","message":"is this supposed to be string?","commit_id":"0a0d98c5f37ee5b68d7183b54de2bef83dd542b3"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c1e1d2742291af587016f9106b050c55ffae9db0","unresolved":false,"context_lines":[{"line_number":134,"context_line":"def splitlines(sting_with_lines):"},{"line_number":135,"context_line":"    \"\"\"Return a ``list`` from a sting with lines.\"\"\""},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"    return sting_with_lines.splitlines()"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"def filtered_list(list_one, list_two):"}],"source_content_type":"text/x-python","patch_set":29,"id":"3a29b11f_c11aeec5","line":137,"in_reply_to":"3a29b11f_22fe47ae","updated":"2015-10-22 12:52:25.000000000","message":"Done","commit_id":"0a0d98c5f37ee5b68d7183b54de2bef83dd542b3"}],"playbooks/plugins/lookups/py_pkgs.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"81bdf074a02b5c52c35aedbebf923cd65b2acfe4","unresolved":false,"context_lines":[{"line_number":317,"context_line":"            else:"},{"line_number":318,"context_line":"                return_data[\u0027packages\u0027] \u003d list(set([i.lower() for i in return_data[\u0027packages\u0027]]))"},{"line_number":319,"context_line":"                return_data[\u0027remote_packages\u0027] \u003d list(set(return_data[\u0027remote_packages\u0027]))"},{"line_number":320,"context_line":"                return_remote_package_parts \u003d list()"},{"line_number":321,"context_line":"                for i in return_data[\u0027remote_packages\u0027]:"},{"line_number":322,"context_line":"                    name, version, fragment, url, original \u003d git_pip_link_parse(i)"},{"line_number":323,"context_line":"                    remote_package_parts \u003d dict()"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a2fa921_b3a20bad","line":320,"updated":"2015-10-07 15:56:42.000000000","message":"What about\n\n     keys \u003d [\u0027name\u0027, \u0027version\u0027, \u0027fragment\u0027, \u0027url\u0027, \u0027original\u0027]\n     return_remote_package_parts \u003d [\n         dict(zip(keys, git_pip_link_parse(i))) for i in return_data[\u0027remote_packages\u0027]\n     ]\n\nThis should be slightly faster.","commit_id":"a6ca457ad0e25f7d5861cdc757a708316a837644"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"d6c3d589ef46bc624c222ad2e3f21222d2ccbe1d","unresolved":false,"context_lines":[{"line_number":317,"context_line":"            else:"},{"line_number":318,"context_line":"                return_data[\u0027packages\u0027] \u003d list(set([i.lower() for i in return_data[\u0027packages\u0027]]))"},{"line_number":319,"context_line":"                return_data[\u0027remote_packages\u0027] \u003d list(set(return_data[\u0027remote_packages\u0027]))"},{"line_number":320,"context_line":"                return_remote_package_parts \u003d list()"},{"line_number":321,"context_line":"                for i in return_data[\u0027remote_packages\u0027]:"},{"line_number":322,"context_line":"                    name, version, fragment, url, original \u003d git_pip_link_parse(i)"},{"line_number":323,"context_line":"                    remote_package_parts \u003d dict()"}],"source_content_type":"text/x-python","patch_set":5,"id":"7a2fa921_d37d47e8","line":320,"in_reply_to":"7a2fa921_b3a20bad","updated":"2015-10-07 16:06:49.000000000","message":"nice! Done.","commit_id":"a6ca457ad0e25f7d5861cdc757a708316a837644"}],"playbooks/repo-build.yml":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"ee7a96aaa86bb314bc94a02a30b87cd492347b21","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        pip wheel --timeout 120 \\"},{"line_number":141,"context_line":"                  --wheel-dir {{ repo_build_output }} \\"},{"line_number":142,"context_line":"                  --allow-all-external \\"},{"line_number":143,"context_line":"                  --find-links {{ repo_global_links_path }} \\"},{"line_number":144,"context_line":"                  --constraint {{ repo_release_path }}/{{ repo_release_tag }}/requirement_constraints.txt \\"},{"line_number":145,"context_line":"                  --index-url https://rpc-repo.rackspace.com/pools \\"},{"line_number":146,"context_line":"                  --trusted-host rpc-repo.rackspace.com \\"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"7a2fa921_989b9572","line":143,"updated":"2015-10-06 20:36:57.000000000","message":"If we\u0027re always running this on the same host, (e.g., repo_containers[0]) then the wheel cache should be enough to ensure we don\u0027t rebuild something we\u0027ve already built. Does that make sense?","commit_id":"0e6c28350d89a73bba6ce3f585bff05382b37e7d"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b6c3c56c062e2e07964df5768d6c8db128a43079","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        - repo-create-release-manifest"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    - name: Build package constraints file"},{"line_number":150,"context_line":"      copy:"},{"line_number":151,"context_line":"        content: |"},{"line_number":152,"context_line":"          # Computed constraints"},{"line_number":153,"context_line":"          {% set constraint_pkgs \u003d [] -%}"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_0afad642","line":150,"updated":"2015-10-19 17:59:52.000000000","message":"Perhaps this should rather be a template?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"131603620317a5f7b2eacde0b52ecae1990a134d","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        - repo-create-release-manifest"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    - name: Build package constraints file"},{"line_number":150,"context_line":"      copy:"},{"line_number":151,"context_line":"        content: |"},{"line_number":152,"context_line":"          # Computed constraints"},{"line_number":153,"context_line":"          {% set constraint_pkgs \u003d [] -%}"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_60b049de","line":150,"in_reply_to":"3a29b11f_0afad642","updated":"2015-10-19 18:29:04.000000000","message":"I\u0027d say no into moving all of these copy commands into a template. Moving them to a template would mean that the play would have to become a role. And IMO the play is short and focused enough to leave as a stand alone play.","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"48ac0f9b0a769ff32ccefb4812c430d985c8c496","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        - repo-create-release-manifest"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    - name: Build package constraints file"},{"line_number":150,"context_line":"      copy:"},{"line_number":151,"context_line":"        content: |"},{"line_number":152,"context_line":"          # Computed constraints"},{"line_number":153,"context_line":"          {% set constraint_pkgs \u003d [] -%}"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_6eed7eee","line":150,"in_reply_to":"3a29b11f_5d55dd4d","updated":"2015-10-20 09:31:01.000000000","message":"I see the issue now. The repo-server role simply setups up a web server - it doesn\u0027t actually build the repo. This seems a bit pointless - I don\u0027t see the harm in including the actual repo build into the repo-server role.","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5d6262388b6fbd72290fcb638ec058c07db95fe9","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        - repo-create-release-manifest"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    - name: Build package constraints file"},{"line_number":150,"context_line":"      copy:"},{"line_number":151,"context_line":"        content: |"},{"line_number":152,"context_line":"          # Computed constraints"},{"line_number":153,"context_line":"          {% set constraint_pkgs \u003d [] -%}"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_5d55dd4d","line":150,"in_reply_to":"3a29b11f_60b049de","updated":"2015-10-20 07:15:48.000000000","message":"But there is already a role to place these tasks into - the repo-server role. I\u0027m confused by the reticence.","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b6c3c56c062e2e07964df5768d6c8db128a43079","unresolved":false,"context_lines":[{"line_number":239,"context_line":""},{"line_number":240,"context_line":"    - name: Move wheels into place"},{"line_number":241,"context_line":"      command: \u003e"},{"line_number":242,"context_line":"        cp {{ repo_build_output }}/{{ item }} {{ repo_pool_dir }}/{{ item.split(\u0027-\u0027)[0] | lower }}/{{ item | lower }}"},{"line_number":243,"context_line":"      sudo: yes"},{"line_number":244,"context_line":"      sudo_user: \"{{ repo_service_user_name }}\""},{"line_number":245,"context_line":"      with_items: built_wheels.stdout_lines"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_ea819a90","line":242,"updated":"2015-10-19 17:59:52.000000000","message":"A copy will take longer than a move, typically. Can we not either built it in the right place from the start, or do a move here instead?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4c224b47a86305cf5b8763d92c661badece9dc0b","unresolved":false,"context_lines":[{"line_number":239,"context_line":""},{"line_number":240,"context_line":"    - name: Move wheels into place"},{"line_number":241,"context_line":"      command: \u003e"},{"line_number":242,"context_line":"        cp {{ repo_build_output }}/{{ item }} {{ repo_pool_dir }}/{{ item.split(\u0027-\u0027)[0] | lower }}/{{ item | lower }}"},{"line_number":243,"context_line":"      sudo: yes"},{"line_number":244,"context_line":"      sudo_user: \"{{ repo_service_user_name }}\""},{"line_number":245,"context_line":"      with_items: built_wheels.stdout_lines"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_b7b53732","line":242,"in_reply_to":"3a29b11f_ea819a90","updated":"2015-10-20 00:45:16.000000000","message":"Done","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"131603620317a5f7b2eacde0b52ecae1990a134d","unresolved":false,"context_lines":[{"line_number":239,"context_line":""},{"line_number":240,"context_line":"    - name: Move wheels into place"},{"line_number":241,"context_line":"      command: \u003e"},{"line_number":242,"context_line":"        cp {{ repo_build_output }}/{{ item }} {{ repo_pool_dir }}/{{ item.split(\u0027-\u0027)[0] | lower }}/{{ item | lower }}"},{"line_number":243,"context_line":"      sudo: yes"},{"line_number":244,"context_line":"      sudo_user: \"{{ repo_service_user_name }}\""},{"line_number":245,"context_line":"      with_items: built_wheels.stdout_lines"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_80b005f6","line":242,"in_reply_to":"3a29b11f_ea819a90","updated":"2015-10-19 18:29:04.000000000","message":"We don\u0027t want to build in place as it will come with lots of temp files. However we can do a move instead.","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b6c3c56c062e2e07964df5768d6c8db128a43079","unresolved":false,"context_lines":[{"line_number":258,"context_line":"        - repo-create-release-links"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    - name: Create release manifest"},{"line_number":261,"context_line":"      copy:"},{"line_number":262,"context_line":"        content: |"},{"line_number":263,"context_line":"          {% for item in built_wheels.stdout_lines %}"},{"line_number":264,"context_line":"          {{ repo_pool_dir | basename }}/{{ item.split(\u0027-\u0027)[0] | lower }}/{{ item }}"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_0a565629","line":261,"updated":"2015-10-19 17:59:52.000000000","message":"Shouldn\u0027t this rather be a template?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b6c3c56c062e2e07964df5768d6c8db128a43079","unresolved":false,"context_lines":[{"line_number":276,"context_line":"        - repo-create-release-index"},{"line_number":277,"context_line":""},{"line_number":278,"context_line":"    - name: Create release index"},{"line_number":279,"context_line":"      copy:"},{"line_number":280,"context_line":"        content: |"},{"line_number":281,"context_line":"          \u003chtml\u003e"},{"line_number":282,"context_line":"          \u003chead\u003e"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_6a3b4aec","line":279,"updated":"2015-10-19 17:59:52.000000000","message":"Shouldn\u0027t this rather be a template?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b6c3c56c062e2e07964df5768d6c8db128a43079","unresolved":false,"context_lines":[{"line_number":313,"context_line":"        - repo-create-global-release-index"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"    - name: Create release index"},{"line_number":316,"context_line":"      copy:"},{"line_number":317,"context_line":"        content: |"},{"line_number":318,"context_line":"          \u003chtml\u003e"},{"line_number":319,"context_line":"          \u003chead\u003e"}],"source_content_type":"text/x-yaml","patch_set":20,"id":"3a29b11f_8a17c650","line":316,"updated":"2015-10-19 17:59:52.000000000","message":"Shouldn\u0027t this rather be a template?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"8eef7f3b64475a8b77ae451fd79c33d2db30f628","unresolved":false,"context_lines":[{"line_number":101,"context_line":"      with_items:"},{"line_number":102,"context_line":"        - \"{{ repo_build_dir }}\""},{"line_number":103,"context_line":"        - \"{{ repo_build_output }}\""},{"line_number":104,"context_line":"        - \"{{ repo_release_path }}/{{ repo_release_tag }}\""},{"line_number":105,"context_line":"        - \"{{ repo_pool_dir }}/index.html\"  # pool directory index is removed because its no longer used"},{"line_number":106,"context_line":"      tags:"},{"line_number":107,"context_line":"        - repo-clean-workspace"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a29b11f_9a64d0e5","line":104,"updated":"2015-10-20 12:41:18.000000000","message":"Why remove this every time? This makes the play have to rebuild every time. It\u0027d be really nice if the playbook was idempotent as it would save a lot of time.","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"7af86552da77c6fdbba6ea979907956ef2574282","unresolved":false,"context_lines":[{"line_number":101,"context_line":"      with_items:"},{"line_number":102,"context_line":"        - \"{{ repo_build_dir }}\""},{"line_number":103,"context_line":"        - \"{{ repo_build_output }}\""},{"line_number":104,"context_line":"        - \"{{ repo_release_path }}/{{ repo_release_tag }}\""},{"line_number":105,"context_line":"        - \"{{ repo_pool_dir }}/index.html\"  # pool directory index is removed because its no longer used"},{"line_number":106,"context_line":"      tags:"},{"line_number":107,"context_line":"        - repo-clean-workspace"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a29b11f_eae64cb3","line":104,"in_reply_to":"3a29b11f_9a64d0e5","updated":"2015-10-20 14:51:25.000000000","message":"This is simply a links directory for a given tag and contains no real data besides a collection of symlinks. The play is idempotent in that it will not build things that have already been built which is due to the global links path found at \"{{ repo_global_links_path }}\" as seen on LN:180 and LN:198","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"8eef7f3b64475a8b77ae451fd79c33d2db30f628","unresolved":false,"context_lines":[{"line_number":260,"context_line":"      tags:"},{"line_number":261,"context_line":"        - repo-create-release-links"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    - name: Create release manifest"},{"line_number":264,"context_line":"      copy:"},{"line_number":265,"context_line":"        content: |"},{"line_number":266,"context_line":"          {% for item in built_wheels.stdout_lines %}"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a29b11f_c99605f0","line":263,"updated":"2015-10-20 12:41:18.000000000","message":"Why this format? I find myself thinking that perhaps it\u0027d be useful to have the manifest formatted in a way that can be used for pip installs - ie \u0027\u003cpackagename\u003e\u003d\u003d\u003cversion\u003e\u0027. This way the install is repeatable even without a repo.","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"aceaff45c91c7d4fd967961c53170462411126e2","unresolved":false,"context_lines":[{"line_number":260,"context_line":"      tags:"},{"line_number":261,"context_line":"        - repo-create-release-links"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    - name: Create release manifest"},{"line_number":264,"context_line":"      copy:"},{"line_number":265,"context_line":"        content: |"},{"line_number":266,"context_line":"          {% for item in built_wheels.stdout_lines %}"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a29b11f_c62100fd","line":263,"in_reply_to":"3a29b11f_c99605f0","updated":"2015-10-20 17:07:08.000000000","message":"I have created an absolute requirements file that will be built as part of the build.","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"7af86552da77c6fdbba6ea979907956ef2574282","unresolved":false,"context_lines":[{"line_number":260,"context_line":"      tags:"},{"line_number":261,"context_line":"        - repo-create-release-links"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    - name: Create release manifest"},{"line_number":264,"context_line":"      copy:"},{"line_number":265,"context_line":"        content: |"},{"line_number":266,"context_line":"          {% for item in built_wheels.stdout_lines %}"}],"source_content_type":"text/x-yaml","patch_set":22,"id":"3a29b11f_0aef08b1","line":263,"in_reply_to":"3a29b11f_c99605f0","updated":"2015-10-20 14:51:25.000000000","message":"The manifest file is used within the sync play and will allow for faster clones from an existing mirror without having to pull down the entire pools directory and all links. That said we could generate the \u003d\u003d\u003d file as an \"requirements-absolute.txt\" or something similar.","commit_id":"c5397facb063271d5c439a0a2993f587f332c773"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"c1e1d2742291af587016f9106b050c55ffae9db0","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Build new repo packages for a given release"},{"line_number":17,"context_line":"  hosts: repo_all[0]"},{"line_number":18,"context_line":"  gather_facts: false"},{"line_number":19,"context_line":"  user: root"},{"line_number":20,"context_line":"  pre_tasks:"},{"line_number":21,"context_line":"    - name: Load local packages"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3a29b11f_81cdd632","line":18,"updated":"2015-10-22 12:52:25.000000000","message":"this was changed to True","commit_id":"0a0d98c5f37ee5b68d7183b54de2bef83dd542b3"}],"playbooks/repo-clone-mirror.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b6c3c56c062e2e07964df5768d6c8db128a43079","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"3a29b11f_2542633f","updated":"2015-10-19 17:59:52.000000000","message":"To make sure I understand this - This functionality is not used/activated anywhere? Perhaps it should be - perhaps there should be a repo_build_method which is either \u0027build\u0027 or \u0027sync\u0027 which activates either path? Alternatively perhaps it should always try to sync, but if the upstream source is not there it should revert to building unless the fallback option is explicitly disabled?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"131603620317a5f7b2eacde0b52ecae1990a134d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"3a29b11f_c0d83d56","in_reply_to":"3a29b11f_2542633f","updated":"2015-10-19 18:29:04.000000000","message":"@Jesse you are correct the sync play is not \"used\" anywhere however will enable downstream consumers to sync from a repo that they be running, IE \"rpc-repo.rackspace.com\". I personally don\u0027t like the idea of merging this with the repo build process as it really is a separate workflow altogether.","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5d6262388b6fbd72290fcb638ec058c07db95fe9","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":20,"id":"3a29b11f_1d78c5f1","in_reply_to":"3a29b11f_c0d83d56","updated":"2015-10-20 07:15:48.000000000","message":"But, if I understand the repo build process properly, if a repo sync is done first then the repo build will only build what\u0027s missing. That would mean that the build time would be shorter in most cases - would it not? What is the harm in including the sync as part of the build process?","commit_id":"170b999582f26562199f8d668be3b6830725ffc9"}],"playbooks/roles/repo_build/README.rst":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":13,"context_line":"      roles:"},{"line_number":14,"context_line":"        - { role: \"repo_build\", tags: [ \"repo-build\" ] }"},{"line_number":15,"context_line":"      vars:"},{"line_number":16,"context_line":"        memcached_builds: 127.0.0.1:11211"},{"line_number":17,"context_line":"        memcached_encryption_key: secrete"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3a29b11f_b90b8c23","line":16,"updated":"2015-10-21 17:23:08.000000000","message":"This appears to need revision. Neither of these vars are used in the role. It would appear that some other vars are advisable to set. :)","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":13,"context_line":"      roles:"},{"line_number":14,"context_line":"        - { role: \"repo_build\", tags: [ \"repo-build\" ] }"},{"line_number":15,"context_line":"      vars:"},{"line_number":16,"context_line":"        memcached_builds: 127.0.0.1:11211"},{"line_number":17,"context_line":"        memcached_encryption_key: secrete"}],"source_content_type":"text/x-rst","patch_set":24,"id":"3a29b11f_f47fc9dd","line":16,"in_reply_to":"3a29b11f_b90b8c23","updated":"2015-10-21 17:31:27.000000000","message":"Done","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"9796337ac65734e0abbabacf29277a13f4ffe97a","unresolved":false,"context_lines":[{"line_number":13,"context_line":"      roles:"},{"line_number":14,"context_line":"        - { role: \"repo_build\", tags: [ \"repo-build\" ] }"},{"line_number":15,"context_line":"      vars:"},{"line_number":16,"context_line":"        memcached_builds: 127.0.0.1:11211"},{"line_number":17,"context_line":"        memcached_encryption_key: secrete"}],"source_content_type":"text/x-rst","patch_set":30,"id":"3a29b11f_5ba7a20a","line":16,"updated":"2015-10-22 15:08:20.000000000","message":"How did these return?","commit_id":"d117d5287bd3ab8654f3be3be3168299fe771fef"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"3c2e2e404730ff635de165c9acb735cf50c746b7","unresolved":false,"context_lines":[{"line_number":13,"context_line":"      roles:"},{"line_number":14,"context_line":"        - { role: \"repo_build\", tags: [ \"repo-build\" ] }"},{"line_number":15,"context_line":"      vars:"},{"line_number":16,"context_line":"        memcached_builds: 127.0.0.1:11211"},{"line_number":17,"context_line":"        memcached_encryption_key: secrete"}],"source_content_type":"text/x-rst","patch_set":30,"id":"3a29b11f_d4005f04","line":16,"in_reply_to":"3a29b11f_5ba7a20a","updated":"2015-10-22 16:35:22.000000000","message":"Done","commit_id":"d117d5287bd3ab8654f3be3be3168299fe771fef"}],"playbooks/roles/repo_build/tasks/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- include: repo_clone_repos.yml"},{"line_number":17,"context_line":"- include: repo_set_facts.yml"},{"line_number":18,"context_line":"- include: repo_pre_build.yml"},{"line_number":19,"context_line":"- include: repo_build.yml"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_39fe9cae","line":16,"updated":"2015-10-21 17:23:08.000000000","message":"Can we call this \u0027repo_clone_git.yml\u0027? I think this is a little more obvious considering the name of the role.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- include: repo_clone_repos.yml"},{"line_number":17,"context_line":"- include: repo_set_facts.yml"},{"line_number":18,"context_line":"- include: repo_pre_build.yml"},{"line_number":19,"context_line":"- include: repo_build.yml"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_1475a5f8","line":16,"in_reply_to":"3a29b11f_39fe9cae","updated":"2015-10-21 17:31:27.000000000","message":"Done","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"}],"playbooks/roles/repo_build/tasks/repo_build.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Create OpenStack global requirements wheels"},{"line_number":17,"context_line":"  shell: |"},{"line_number":18,"context_line":"    pip wheel --timeout 120 \\"},{"line_number":19,"context_line":"              --wheel-dir {{ repo_build_output }} \\"},{"line_number":20,"context_line":"              --allow-all-external \\"},{"line_number":21,"context_line":"              --find-links {{ repo_build_global_links_path }} \\"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_79af342a","line":18,"updated":"2015-10-21 17:23:08.000000000","message":"For the sake of those with older/overutilised systems, perhaps this timeout should be configurable?","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Create OpenStack global requirements wheels"},{"line_number":17,"context_line":"  shell: |"},{"line_number":18,"context_line":"    pip wheel --timeout 120 \\"},{"line_number":19,"context_line":"              --wheel-dir {{ repo_build_output }} \\"},{"line_number":20,"context_line":"              --allow-all-external \\"},{"line_number":21,"context_line":"              --find-links {{ repo_build_global_links_path }} \\"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_b4eab172","line":18,"in_reply_to":"3a29b11f_79af342a","updated":"2015-10-21 17:31:27.000000000","message":"Done","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"- name: Create OpenStack-Ansible requirement wheels"},{"line_number":35,"context_line":"  shell: |"},{"line_number":36,"context_line":"    pip wheel --timeout 120 \\"},{"line_number":37,"context_line":"              --wheel-dir {{ repo_build_output }} \\"},{"line_number":38,"context_line":"              --allow-all-external \\"},{"line_number":39,"context_line":"              --find-links {{ repo_build_output }} \\"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_197f20ac","line":36,"updated":"2015-10-21 17:23:08.000000000","message":"For the sake of those with older/overutilised systems, perhaps this timeout should be configurable?","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"- name: Create OpenStack-Ansible requirement wheels"},{"line_number":35,"context_line":"  shell: |"},{"line_number":36,"context_line":"    pip wheel --timeout 120 \\"},{"line_number":37,"context_line":"              --wheel-dir {{ repo_build_output }} \\"},{"line_number":38,"context_line":"              --allow-all-external \\"},{"line_number":39,"context_line":"              --find-links {{ repo_build_output }} \\"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_d4c88d24","line":36,"in_reply_to":"3a29b11f_197f20ac","updated":"2015-10-21 17:31:27.000000000","message":"Done","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"}],"playbooks/roles/repo_build/tasks/repo_clone_repos.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Clone all repos"},{"line_number":17,"context_line":"  git:"},{"line_number":18,"context_line":"    repo: \"{{ item[\u0027url\u0027] }}\""},{"line_number":19,"context_line":"    dest: \"{{ repo_build_git_dir }}/{{ item[\u0027name\u0027] }}\""}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_39153ce4","line":16,"updated":"2015-10-21 17:23:08.000000000","message":"Can we call this \u0027Clone all upstream git repositories\u0027? I think this is a little more obvious considering the name of the role.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: Clone all repos"},{"line_number":17,"context_line":"  git:"},{"line_number":18,"context_line":"    repo: \"{{ item[\u0027url\u0027] }}\""},{"line_number":19,"context_line":"    dest: \"{{ repo_build_git_dir }}/{{ item[\u0027name\u0027] }}\""}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_14fa8543","line":16,"in_reply_to":"3a29b11f_39153ce4","updated":"2015-10-21 17:31:27.000000000","message":"Done","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"}],"playbooks/roles/repo_build/tasks/repo_pre_build.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  with_items:"},{"line_number":21,"context_line":"    - \"{{ repo_build_dir }}\""},{"line_number":22,"context_line":"    - \"{{ repo_build_output }}\""},{"line_number":23,"context_line":"    - \"{{ repo_build_release_path }}/{{ repo_build_release_tag }}\""},{"line_number":24,"context_line":"    - \"{{ repo_build_pool_dir }}/index.html\"  # pool directory index is removed because its no longer used"},{"line_number":25,"context_line":"  tags:"},{"line_number":26,"context_line":"    - repo-clean-workspace"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_f966e44f","line":23,"updated":"2015-10-21 17:23:08.000000000","message":"Instead of doing this, why not have a task at the end of this which removes all the links only if the templates resulted in a changed file? Then all changes from here on can be only done if the template resulted in a change, unless a specific override is set which forces it.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"be014bf100fe53d8299ea1a9e24912f396f3d195","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  with_items:"},{"line_number":21,"context_line":"    - \"{{ repo_build_dir }}\""},{"line_number":22,"context_line":"    - \"{{ repo_build_output }}\""},{"line_number":23,"context_line":"    - \"{{ repo_build_release_path }}/{{ repo_build_release_tag }}\""},{"line_number":24,"context_line":"    - \"{{ repo_build_pool_dir }}/index.html\"  # pool directory index is removed because its no longer used"},{"line_number":25,"context_line":"  tags:"},{"line_number":26,"context_line":"    - repo-clean-workspace"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_3d4f656c","line":23,"in_reply_to":"3a29b11f_f46909fa","updated":"2015-10-21 17:56:21.000000000","message":"I\u0027m thinking more along the lines of not removing this later, but instead only removing a conflicting wheel link later. So basically before the wheel links are created, check for a link that\u0027s inappropriate and remove it. In other words the changes in an existing repo are very, very minimal. I am OK with figuring this out in a subsequent patch though.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  with_items:"},{"line_number":21,"context_line":"    - \"{{ repo_build_dir }}\""},{"line_number":22,"context_line":"    - \"{{ repo_build_output }}\""},{"line_number":23,"context_line":"    - \"{{ repo_build_release_path }}/{{ repo_build_release_tag }}\""},{"line_number":24,"context_line":"    - \"{{ repo_build_pool_dir }}/index.html\"  # pool directory index is removed because its no longer used"},{"line_number":25,"context_line":"  tags:"},{"line_number":26,"context_line":"    - repo-clean-workspace"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_f46909fa","line":23,"in_reply_to":"3a29b11f_f966e44f","updated":"2015-10-21 17:31:27.000000000","message":"the templates build inplace so cueing this off of that would result in having to regenerate the template.It makes sense to remove the target tagged release so that when working on it its not used which could lead to a race condition if someone else is doing things within the environment.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"}],"playbooks/roles/repo_build/tasks/repo_set_facts.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[{"line_number":49,"context_line":"- name: Retrieve upper constraints content"},{"line_number":50,"context_line":"  slurp:"},{"line_number":51,"context_line":"    src: \"{{ repo_build_git_dir }}/requirements/upper-constraints.txt\""},{"line_number":52,"context_line":"  ignore_errors: true"},{"line_number":53,"context_line":"  register: slurp_upper_constraints"},{"line_number":54,"context_line":"  tags:"},{"line_number":55,"context_line":"    - repo-set-constraints"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_79a2d49a","line":52,"updated":"2015-10-21 17:23:08.000000000","message":"Why ignore_errors? Perhaps it\u0027d be better to do this \u0027when: repo_build_use_upper_constraints | bool\u0027 and to set that false for branches which don\u0027t have this available (which is a known state which we can set in the branch).","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"be014bf100fe53d8299ea1a9e24912f396f3d195","unresolved":false,"context_lines":[{"line_number":49,"context_line":"- name: Retrieve upper constraints content"},{"line_number":50,"context_line":"  slurp:"},{"line_number":51,"context_line":"    src: \"{{ repo_build_git_dir }}/requirements/upper-constraints.txt\""},{"line_number":52,"context_line":"  ignore_errors: true"},{"line_number":53,"context_line":"  register: slurp_upper_constraints"},{"line_number":54,"context_line":"  tags:"},{"line_number":55,"context_line":"    - repo-set-constraints"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_1d7f0967","line":52,"in_reply_to":"3a29b11f_747659d8","updated":"2015-10-21 17:56:21.000000000","message":"Yes, so if we only activate this for the liberty+ branches then we\u0027re ok. But if we backport this functionality to kilo then we default this usage to off. All I\u0027m asking is for this to be something that can be turned on or off instead of ignoring errors.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"4068e66c86129570d12e7fe2a4738fb335bd6a41","unresolved":false,"context_lines":[{"line_number":49,"context_line":"- name: Retrieve upper constraints content"},{"line_number":50,"context_line":"  slurp:"},{"line_number":51,"context_line":"    src: \"{{ repo_build_git_dir }}/requirements/upper-constraints.txt\""},{"line_number":52,"context_line":"  ignore_errors: true"},{"line_number":53,"context_line":"  register: slurp_upper_constraints"},{"line_number":54,"context_line":"  tags:"},{"line_number":55,"context_line":"    - repo-set-constraints"}],"source_content_type":"text/x-yaml","patch_set":24,"id":"3a29b11f_747659d8","line":52,"in_reply_to":"3a29b11f_79a2d49a","updated":"2015-10-21 17:31:27.000000000","message":"depending on the version of the requirements repo that the system is building into that file may not exist. it was introduced late in kilo","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"}],"playbooks/roles/repo_build/templates/requirements_absolute_requirements.txt.j2":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"b79cac72336d9df71fa9a3e16d27ce1fdd02b3d6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":24,"id":"3a29b11f_f4bca9bc","updated":"2015-10-21 17:23:08.000000000","message":"This is excellent - it enables us to do a comparison between tags to determine which python packages have changed from one tag to the next.","commit_id":"d08eabd20b35c53f0c9863af08a2993863cf3724"}],"playbooks/roles/repo_build/templates/requirements_constraints.txt.j2":[{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"b13e649b58d700eac5e2425d15d459a929e9098d","unresolved":false,"context_lines":[{"line_number":2,"context_line":"{% set constraint_pkgs \u003d [] -%}"},{"line_number":3,"context_line":"{% for clone_item in cloned_repos.stdout_lines -%}"},{"line_number":4,"context_line":"git+file://{{ clone_item }}#egg\u003d{{ clone_item | git_link_parse_name | replace(\u0027-\u0027, \u0027_\u0027) | lower }}"},{"line_number":5,"context_line":"{% if constraint_pkgs.append(clone_item | git_link_parse_name | replace(\u0027-\u0027, \u0027_\u0027) | lower) %}{% endif %}"},{"line_number":6,"context_line":"{% endfor %}"},{"line_number":7,"context_line":"# upper boundry constraints from requirements repo."},{"line_number":8,"context_line":"{% for constraint_item in upper_constraints %}"}],"source_content_type":"text/x-jinja2","patch_set":30,"id":"3a29b11f_7e292c89","line":5,"updated":"2015-10-22 15:32:13.000000000","message":"I prefer set _ \u003d rather than empty if","commit_id":"d117d5287bd3ab8654f3be3be3168299fe771fef"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"3c2e2e404730ff635de165c9acb735cf50c746b7","unresolved":false,"context_lines":[{"line_number":2,"context_line":"{% set constraint_pkgs \u003d [] -%}"},{"line_number":3,"context_line":"{% for clone_item in cloned_repos.stdout_lines -%}"},{"line_number":4,"context_line":"git+file://{{ clone_item }}#egg\u003d{{ clone_item | git_link_parse_name | replace(\u0027-\u0027, \u0027_\u0027) | lower }}"},{"line_number":5,"context_line":"{% if constraint_pkgs.append(clone_item | git_link_parse_name | replace(\u0027-\u0027, \u0027_\u0027) | lower) %}{% endif %}"},{"line_number":6,"context_line":"{% endfor %}"},{"line_number":7,"context_line":"# upper boundry constraints from requirements repo."},{"line_number":8,"context_line":"{% for constraint_item in upper_constraints %}"}],"source_content_type":"text/x-jinja2","patch_set":30,"id":"3a29b11f_f428fb9b","line":5,"in_reply_to":"3a29b11f_7e292c89","updated":"2015-10-22 16:35:22.000000000","message":"Done","commit_id":"d117d5287bd3ab8654f3be3be3168299fe771fef"}]}
