)]}'
{"marconi/queues/storage/mongodb/catalogue.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"13a512fcba7e43d7d24979918c7664d7825ca6bd","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    @utils.raises_conn_error"},{"line_number":51,"context_line":"    def _insert(self, project, queue, shard, upsert):"},{"line_number":52,"context_line":"        \"\"\"Returns the result of creating a new catalogue entry, or updating "},{"line_number":53,"context_line":"           it if it already existed, and upsert is set."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        :param project: str - Namespace to insert the given queue into"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUX%2F%2BiSw%3D","line":52,"updated":"2014-02-20 16:53:48.000000000","message":"Please remove the whitespace","commit_id":"ae2af4bf9bd6f8603444cb74e22e8bab237935bf"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"13a512fcba7e43d7d24979918c7664d7825ca6bd","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    @utils.raises_conn_error"},{"line_number":51,"context_line":"    def _insert(self, project, queue, shard, upsert):"},{"line_number":52,"context_line":"        \"\"\"Returns the result of creating a new catalogue entry, or updating "},{"line_number":53,"context_line":"           it if it already existed, and upsert is set."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        :param project: str - Namespace to insert the given queue into"},{"line_number":56,"context_line":"        :type project: six.text_type"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUX%2F%2BiR8%3D","line":53,"updated":"2014-02-20 16:53:48.000000000","message":"(nit): How about \u0027if it has already existed\u0027? - from a non-native English speaker :)","commit_id":"ae2af4bf9bd6f8603444cb74e22e8bab237935bf"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"13a512fcba7e43d7d24979918c7664d7825ca6bd","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        \"\"\"Returns the result of creating a new catalogue entry, or updating "},{"line_number":53,"context_line":"           it if it already existed, and upsert is set."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        :param project: str - Namespace to insert the given queue into"},{"line_number":56,"context_line":"        :type project: six.text_type"},{"line_number":57,"context_line":"        :param queue: str - The name of the queue to insert"},{"line_number":58,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUX%2F%2BiQ0%3D","line":55,"updated":"2014-02-20 16:53:48.000000000","message":"I don\u0027t think \u0027Namespace\u0027 is a good term in OpenStack, pls let me know if I missed anything.","commit_id":"ae2af4bf9bd6f8603444cb74e22e8bab237935bf"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"13a512fcba7e43d7d24979918c7664d7825ca6bd","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        :type queue: six.text_type"},{"line_number":59,"context_line":"        :param shard: shard identifier to associate this queue with"},{"line_number":60,"context_line":"        :type shard: six.text_type"},{"line_number":61,"context_line":"        :param upsert: upsert flag, to demand a new document if the catalogue "},{"line_number":62,"context_line":"                       doesnot exist."},{"line_number":63,"context_line":"        :type upsert: boolean"},{"line_number":64,"context_line":"        :returns: {\u0027updatedExisting\u0027:... }"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUX%2F%2BiSs%3D","line":61,"updated":"2014-02-20 16:53:48.000000000","message":"ditto","commit_id":"ae2af4bf9bd6f8603444cb74e22e8bab237935bf"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"172530b0eb328900fd14fb07d441f9543b356377","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        \"\"\"Returns the result of creating a new catalogue entry, or updating"},{"line_number":53,"context_line":"           it if it has already existed, and upsert is set."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        :param project: str - Project anme to insert the given queue into"},{"line_number":56,"context_line":"        :type project: six.text_type"},{"line_number":57,"context_line":"        :param queue: str - The name of the queue to insert"},{"line_number":58,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAU3%2F%2FtNs%3D","line":55,"updated":"2014-02-25 06:20:52.000000000","message":"anme -\u003e name","commit_id":"39e54269be3a27ae2d7251dd2d6066962edeb57d"},{"author":{"_account_id":6944,"name":"Allele Dev","email":"cpp.cabrera@gmail.com","username":"cpp-cabrera"},"change_message_id":"172530b0eb328900fd14fb07d441f9543b356377","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        :param shard: shard identifier to associate this queue with"},{"line_number":60,"context_line":"        :type shard: six.text_type"},{"line_number":61,"context_line":"        :param upsert: upsert flag, to demand a new document if the catalogue"},{"line_number":62,"context_line":"                       doesnot exist."},{"line_number":63,"context_line":"        :type upsert: boolean"},{"line_number":64,"context_line":"        :returns: {\u0027updatedExisting\u0027:... }"},{"line_number":65,"context_line":"        :rtype: dict"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAU3%2F%2FtNk%3D","line":62,"updated":"2014-02-25 06:20:52.000000000","message":"doesnot -\u003e does not","commit_id":"39e54269be3a27ae2d7251dd2d6066962edeb57d"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    @utils.raises_conn_error"},{"line_number":51,"context_line":"    def _insert(self, project, queue, shard, upsert):"},{"line_number":52,"context_line":"        \"\"\"Returns the result of creating a new catalogue entry, or updating"},{"line_number":53,"context_line":"           it if it has already existed, and upsert is set."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        :param project: str - Project name to insert the given queue into"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fhug%3D","line":52,"updated":"2014-02-26 05:00:39.000000000","message":"Summary should fit on a single line. Additional information can be included in a paragraph before the param info.","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        \"\"\"Returns the result of creating a new catalogue entry, or updating"},{"line_number":53,"context_line":"           it if it has already existed, and upsert is set."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"        :param project: str - Project name to insert the given queue into"},{"line_number":56,"context_line":"        :type project: six.text_type"},{"line_number":57,"context_line":"        :param queue: str - The name of the queue to insert"},{"line_number":58,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fhsg%3D","line":55,"updated":"2014-02-26 05:00:39.000000000","message":"Please remove the \u0027str - \u0027 prefix. It is redundant, since the type is given via the :type: directive.","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":59,"context_line":"        :param shard: shard identifier to associate this queue with"},{"line_number":60,"context_line":"        :type shard: six.text_type"},{"line_number":61,"context_line":"        :param upsert: upsert flag, to demand a new document if the catalogue"},{"line_number":62,"context_line":"                       does not exist."},{"line_number":63,"context_line":"        :type upsert: boolean"},{"line_number":64,"context_line":"        :returns: {\u0027updatedExisting\u0027:... }"},{"line_number":65,"context_line":"        :rtype: dict"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2FhtQ%3D","line":62,"updated":"2014-02-26 05:00:39.000000000","message":"In Marconi, contributors tend to just do a 4-space indent rather than aligning with the start of the description in the previous line. For a good example of this style, see: queues/storage/base.py","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":70,"context_line":""},{"line_number":71,"context_line":"    @utils.raises_conn_error"},{"line_number":72,"context_line":"    def list(self, project):"},{"line_number":73,"context_line":"        \"\"\"Returns a list of queue entries from the catalogue associated with"},{"line_number":74,"context_line":"        this project."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        :param project: The project to use when filtering through queue"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fhuc%3D","line":73,"updated":"2014-02-26 05:00:39.000000000","message":"See above.","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        this project."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        :param project: The project to use when filtering through queue"},{"line_number":77,"context_line":"                        entries."},{"line_number":78,"context_line":"        :type project: six.text_type"},{"line_number":79,"context_line":"        :returns: [{\u0027project\u0027: ..., \u0027queue\u0027: ..., \u0027shard\u0027: ...},]"},{"line_number":80,"context_line":"        :rtype: [dict]"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2FhtM%3D","line":77,"updated":"2014-02-26 05:00:39.000000000","message":"See above","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    @utils.raises_conn_error"},{"line_number":89,"context_line":"    def get(self, project, queue):"},{"line_number":90,"context_line":"        \"\"\"Returns the shard identifier for the queue registered under this"},{"line_number":91,"context_line":"        project."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        :param project: Namespace to search for the given queue"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2FhuY%3D","line":90,"updated":"2014-02-26 05:00:39.000000000","message":"See above.","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"e43864fffb1d5a120aa30ad2e56afba18265ba99","unresolved":false,"context_lines":[{"line_number":90,"context_line":"        \"\"\"Returns the shard identifier for the queue registered under this"},{"line_number":91,"context_line":"        project."},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        :param project: Namespace to search for the given queue"},{"line_number":94,"context_line":"        :type project: six.text_type"},{"line_number":95,"context_line":"        :param queue: The name of the queue to search for"},{"line_number":96,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fgxw%3D","line":93,"updated":"2014-02-26 07:38:47.000000000","message":"(nit): I\u0027m still not comfortable with the term \u0027namespace\u0027 with in OpenStack. How about using \u0027project\u0027 directly given it\u0027s a common term in OpenStack community? Thanks.","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"e43864fffb1d5a120aa30ad2e56afba18265ba99","unresolved":false,"context_lines":[{"line_number":112,"context_line":"    def exists(self, project, queue):"},{"line_number":113,"context_line":"        \"\"\"Determines whether the given queue exists under project."},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"        :param project: Namespace to check."},{"line_number":116,"context_line":"        :type project: six.text_type"},{"line_number":117,"context_line":"        :param queue: str - Particular queue to check for"},{"line_number":118,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fgxg%3D","line":115,"updated":"2014-02-26 07:38:47.000000000","message":"ditto","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":114,"context_line":""},{"line_number":115,"context_line":"        :param project: Namespace to check."},{"line_number":116,"context_line":"        :type project: six.text_type"},{"line_number":117,"context_line":"        :param queue: str - Particular queue to check for"},{"line_number":118,"context_line":"        :type queue: six.text_type"},{"line_number":119,"context_line":"        :return: True if the queue exists under this project"},{"line_number":120,"context_line":"        :rtype: bool"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fhsc%3D","line":117,"updated":"2014-02-26 05:00:39.000000000","message":"Please remove the \u0027str - \u0027 prefix. It is redundant, since the type is given via the :type: directive.","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"3f1a70d25858c77a2b187fabbbcf14d0c1b62309","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def insert(self, project, queue, shard):"},{"line_number":126,"context_line":"        \"\"\"Creates a new catalogue entry, or updates it if it already existed."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        :param project: str - Namespace to insert the given queue into"},{"line_number":129,"context_line":"        :type project: six.text_type"},{"line_number":130,"context_line":"        :param queue: str - The name of the queue to insert"},{"line_number":131,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2FhsY%3D","line":128,"updated":"2014-02-26 05:00:39.000000000","message":"See above","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"e43864fffb1d5a120aa30ad2e56afba18265ba99","unresolved":false,"context_lines":[{"line_number":125,"context_line":"    def insert(self, project, queue, shard):"},{"line_number":126,"context_line":"        \"\"\"Creates a new catalogue entry, or updates it if it already existed."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        :param project: str - Namespace to insert the given queue into"},{"line_number":129,"context_line":"        :type project: six.text_type"},{"line_number":130,"context_line":"        :param queue: str - The name of the queue to insert"},{"line_number":131,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2Fgxc%3D","line":128,"updated":"2014-02-26 07:38:47.000000000","message":"ditto","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"e43864fffb1d5a120aa30ad2e56afba18265ba99","unresolved":false,"context_lines":[{"line_number":139,"context_line":"    def delete(self, project, queue):"},{"line_number":140,"context_line":"        \"\"\"Removes this entry from the catalogue."},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"        :param project: The namespace to search for this queue"},{"line_number":143,"context_line":"        :type project: six.text_type"},{"line_number":144,"context_line":"        :param queue: The queue name to remove"},{"line_number":145,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2FgxY%3D","line":142,"updated":"2014-02-26 07:38:47.000000000","message":"ditto","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"e43864fffb1d5a120aa30ad2e56afba18265ba99","unresolved":false,"context_lines":[{"line_number":150,"context_line":"    def update(self, project, queue, shard\u003dNone):"},{"line_number":151,"context_line":"        \"\"\"Updates the shard identifier for this queue"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"        :param project: Namespace to search"},{"line_number":154,"context_line":"        :type project: six.text_type"},{"line_number":155,"context_line":"        :param queue: The name of the queue"},{"line_number":156,"context_line":"        :type queue: six.text_type"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAU3%2F%2FgxU%3D","line":153,"updated":"2014-02-26 07:38:47.000000000","message":"ditto","commit_id":"655301f9f905b4b20c31fe454ee6114153eb1021"}]}
