)]}'
{"doc/source/_exts/series_highlights.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"641d83b91304558cb1b22234968bd65d4955f6eb","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    # Generate the series highlights if present."},{"line_number":61,"context_line":"    # This needs to be done up front to ensure the files are collected"},{"line_number":62,"context_line":"    # for later sphinx processing."},{"line_number":63,"context_line":"    result \u003d subprocess.check_output([\u0027series-highlights\u0027])"},{"line_number":64,"context_line":"    print(result)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_d3646d24","line":63,"updated":"2017-10-16 17:44:29.000000000","message":"Instead of shelling out to run a separate command, we could have a new directive that generates the rst and parses it recursively. The existing directives in openstack_releases/sphinxext.py work this way.","commit_id":"0736484509c17d4b0fd3226c7a49fb0d90544b32"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"bef40f09dc2b61d10990415de387edc27c2d83a0","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    # Generate the series highlights if present."},{"line_number":61,"context_line":"    # This needs to be done up front to ensure the files are collected"},{"line_number":62,"context_line":"    # for later sphinx processing."},{"line_number":63,"context_line":"    result \u003d subprocess.check_output([\u0027series-highlights\u0027])"},{"line_number":64,"context_line":"    print(result)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_061f61b7","line":63,"in_reply_to":"5f4e5783_d3646d24","updated":"2017-10-16 22:53:16.000000000","message":"The problem I had here is it needs to happen in phase 0 so that the generated files are picked up and passed to the builders. I started down the other path, but was running into too many places to update later in the process. At least along with trying to leverage the toctree functionality.","commit_id":"0736484509c17d4b0fd3226c7a49fb0d90544b32"}],"openstack_releases/cmds/series_highlights.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"641d83b91304558cb1b22234968bd65d4955f6eb","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def _pretty_name(name):"},{"line_number":29,"context_line":"    \"\"\"Formats a name for display.\"\"\""},{"line_number":30,"context_line":"    result \u003d \u0027%s%s\u0027 % (name[0].upper(), name[1:])"},{"line_number":31,"context_line":"    return result"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_b368d11c","line":30,"updated":"2017-10-16 17:44:29.000000000","message":"Maybe use name.title()?","commit_id":"0736484509c17d4b0fd3226c7a49fb0d90544b32"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"641d83b91304558cb1b22234968bd65d4955f6eb","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    return result"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"def _get_releases():"},{"line_number":35,"context_line":"    # Dynamically get our release series so we don\u0027t need to update each time"},{"line_number":36,"context_line":"    releases \u003d [name for name in"},{"line_number":37,"context_line":"                os.listdir(DELIVERABLE_DIR) if"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_938035c1","line":34,"updated":"2017-10-16 17:44:29.000000000","message":"Elsewhere we call these \"series\" because a \"release\" is a tag of one deliverable.","commit_id":"0736484509c17d4b0fd3226c7a49fb0d90544b32"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"641d83b91304558cb1b22234968bd65d4955f6eb","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    return releases"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def _get_series_deliverables(release):"},{"line_number":44,"context_line":"    \"\"\"Gets the deliverables for a release."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    :param release: The release series to process."}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_134685c1","line":43,"updated":"2017-10-16 17:44:29.000000000","message":"See openstack_releases/deliverable.py and the Deliverables class for a way to produce this data. Let\u0027s extend that, instead of adding another place where we\u0027re doing the same parsing. A second benefit is that the class can be used as a singleton since it loads all of the series data during the build.","commit_id":"0736484509c17d4b0fd3226c7a49fb0d90544b32"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"7d5fd538cf1e2c30cb804e7ffc8a0243aa485f14","unresolved":false,"context_lines":[{"line_number":30,"context_line":")"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"def _get_series():"},{"line_number":34,"context_line":"    # Dynamically get our release series so we don\u0027t need to update each time"},{"line_number":35,"context_line":"    releases \u003d [name for name in"},{"line_number":36,"context_line":"                os.listdir(DELIVERABLE_DIR) if"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f4e5783_64372d4f","line":33,"updated":"2017-10-16 19:49:32.000000000","message":"We should add a get_all_series_names() method to Deliverables.","commit_id":"eb81aefa7197c81a6c9a3bf8bce1574cdbf667cf"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"7d5fd538cf1e2c30cb804e7ffc8a0243aa485f14","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    series_highlights \u003d {}"},{"line_number":48,"context_line":"    series_deliverables \u003d DELIVERABLES.get_deliverable_files(None, release)"},{"line_number":49,"context_line":"    for project in series_deliverables:"},{"line_number":50,"context_line":"        with open(project, \u0027r\u0027, encoding\u003d\u0027utf-8\u0027) as d_yaml:"},{"line_number":51,"context_line":"            d_info \u003d yaml.load(d_yaml)"},{"line_number":52,"context_line":"            highlights \u003d d_info.get(\u0027cycle-highlights\u0027)"},{"line_number":53,"context_line":"            if (highlights and"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f4e5783_84fd896f","line":50,"updated":"2017-10-16 19:49:32.000000000","message":"Using the get_deliverables() method of Deliverables will let you avoid reading the files yourself.","commit_id":"eb81aefa7197c81a6c9a3bf8bce1574cdbf667cf"}]}
