)]}'
{"taskflow/examples/job_board_no_test.py":[{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"90fb459e525a41101bceb2a6b3363759c515cab7","unresolved":false,"context_lines":[{"line_number":121,"context_line":"def list_jobs(args):"},{"line_number":122,"context_line":"    with jobboard(args.board_name, conf) as jb:"},{"line_number":123,"context_line":"        for job in jb.iterjobs():"},{"line_number":124,"context_line":"            print \"{} - {}\".format(job.uuid, job.details)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"def delete_job(args):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9ad9bd40_6509422c","line":124,"updated":"2014-04-29 23:31:01.000000000","message":"Can we switch to python 3 style here; aka print()\n\nAlso can we use \"%s - %s\" as \"{} - {}\" won\u0027t work in py2.6\n\n\u003e\u003e\u003e x \u003d \"{} - {}\"\n\u003e\u003e\u003e x.format(\"b\", \"a\")\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\nValueError: zero length field name in format","commit_id":"cb594ca30f183de2dfab4f75daf2ba767e89cae3"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"2a9a0f2c05ab4287c57c585a17326cb5a2ad98c5","unresolved":false,"context_lines":[{"line_number":121,"context_line":"def list_jobs(args):"},{"line_number":122,"context_line":"    with jobboard(args.board_name, conf) as jb:"},{"line_number":123,"context_line":"        for job in jb.iterjobs():"},{"line_number":124,"context_line":"            print \"{} - {}\".format(job.uuid, job.details)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"def delete_job(args):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9ad9bd40_c564cee7","line":124,"in_reply_to":"9ad9bd40_6509422c","updated":"2014-04-29 23:37:47.000000000","message":"Oops, shame on me. Done.","commit_id":"cb594ca30f183de2dfab4f75daf2ba767e89cae3"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"747119675dde7779a3fe57e59078ce7ec0ddb027","unresolved":false,"context_lines":[{"line_number":55,"context_line":"# $"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"import argparse"},{"line_number":58,"context_line":"from contextlib import contextmanager"},{"line_number":59,"context_line":"import json"},{"line_number":60,"context_line":"import sys"},{"line_number":61,"context_line":"import time"}],"source_content_type":"text/x-python","patch_set":2,"id":"9ad9bd40_a51fca08","line":58,"updated":"2014-04-29 23:51:26.000000000","message":"U\u0027ll probably hit the hacking rules here.\n\nhttps://github.com/openstack-dev/hacking/blob/master/HACKING.rst#imports","commit_id":"2e9abe635588da7da77d64511745c1da06935124"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"747119675dde7779a3fe57e59078ce7ec0ddb027","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                jb.consume(job, \"test-client\")"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"def clear_jobs(args):"},{"line_number":105,"context_line":"    with jobboard(args.board_name, conf) as jb:"},{"line_number":106,"context_line":"        for job in jb.iterjobs():"},{"line_number":107,"context_line":"            jb.claim(job, \"test-client\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"9ad9bd40_25badae1","line":104,"updated":"2014-04-29 23:51:26.000000000","message":"Interesting, wonder if this should be a jobboard method in the future. Seems useful (at least for admins).","commit_id":"2e9abe635588da7da77d64511745c1da06935124"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"747119675dde7779a3fe57e59078ce7ec0ddb027","unresolved":false,"context_lines":[{"line_number":112,"context_line":"    store \u003d json.loads(args.details)"},{"line_number":113,"context_line":"    book \u003d logbook.LogBook(args.job_name)"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    with persistence({\"connection\": \"memory\"}) as backend:"},{"line_number":116,"context_line":"        backend.get_connection().save_logbook(book)"},{"line_number":117,"context_line":"        with jobboard(args.board_name, conf, persistence\u003dbackend) as jb:"},{"line_number":118,"context_line":"            jb.post(args.job_name, book, details\u003dstore)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9ad9bd40_85b006f6","line":115,"updated":"2014-04-29 23:51:26.000000000","message":"Interesting, wonder if we should do this, vs just having no backend (memory will exist for as long as the process, and not longer). Might just be better to say persistence\u003dNone (and only rely on what is in the job itself for data).","commit_id":"2e9abe635588da7da77d64511745c1da06935124"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"dc37679ec625c7967e4d98df39754d15c41a7c68","unresolved":false,"context_lines":[{"line_number":112,"context_line":"    store \u003d json.loads(args.details)"},{"line_number":113,"context_line":"    book \u003d logbook.LogBook(args.job_name)"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    with persistence({\"connection\": \"memory\"}) as backend:"},{"line_number":116,"context_line":"        backend.get_connection().save_logbook(book)"},{"line_number":117,"context_line":"        with jobboard(args.board_name, conf, persistence\u003dbackend) as jb:"},{"line_number":118,"context_line":"            jb.post(args.job_name, book, details\u003dstore)"}],"source_content_type":"text/x-python","patch_set":2,"id":"9ad9bd40_211d65be","line":115,"in_reply_to":"9ad9bd40_85b006f6","updated":"2014-04-30 09:10:21.000000000","message":"Yes, this may not be especially useful, I\u0027ll remove it.","commit_id":"2e9abe635588da7da77d64511745c1da06935124"}]}
