)]}'
{"trove/guestagent/datastore/mongodb/manager.py":[{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"55c092847201bfef05190c6242a49ed070aecdad","unresolved":false,"context_lines":[{"line_number":74,"context_line":"                })"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        self.app.start_db_with_conf_changes(config_contents)"},{"line_number":77,"context_line":"        LOG.info(_(\u0027\"prepare\" call has finished.\u0027))"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    def restart(self, context):"},{"line_number":80,"context_line":"        LOG.debug(\"Restarting MongoDB.\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_bf3d09e0","line":77,"updated":"2014-07-22 14:33:47.000000000","message":"I like the format used in the mysql message:\n\n  LOG.info(_(\u0027Completed setup of MySQL database instance.\u0027))","commit_id":"48b8eca4fa6c1ffa97ec07be7ea9b2a485753c2a"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"55c092847201bfef05190c6242a49ed070aecdad","unresolved":false,"context_lines":[{"line_number":142,"context_line":"            operation\u003d\u0027revoke_access\u0027, datastore\u003dMANAGER)"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"    def list_access(self, context, username, hostname):"},{"line_number":145,"context_line":"        LOG.debug(\"List access.\")"},{"line_number":146,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":147,"context_line":"            operation\u003d\u0027list_access\u0027, datastore\u003dMANAGER)"},{"line_number":148,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_ffca2145","line":145,"updated":"2014-07-22 14:33:47.000000000","message":"How about \u0027Listing\u0027 ?","commit_id":"48b8eca4fa6c1ffa97ec07be7ea9b2a485753c2a"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"55c092847201bfef05190c6242a49ed070aecdad","unresolved":false,"context_lines":[{"line_number":178,"context_line":"            operation\u003d\u0027create_backup\u0027, datastore\u003dMANAGER)"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def mount_volume(self, context, device_path\u003dNone, mount_point\u003dNone):"},{"line_number":181,"context_line":"        LOG.debug(\"Mouting volume.\")"},{"line_number":182,"context_line":"        device \u003d volume.VolumeDevice(device_path)"},{"line_number":183,"context_line":"        device.mount(mount_point, write_to_fstab\u003dFalse)"},{"line_number":184,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_1f17d5ef","line":181,"updated":"2014-07-22 14:33:47.000000000","message":"Mounting is spelled wrong","commit_id":"48b8eca4fa6c1ffa97ec07be7ea9b2a485753c2a"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"55c092847201bfef05190c6242a49ed070aecdad","unresolved":false,"context_lines":[{"line_number":213,"context_line":"            operation\u003d\u0027attach_replication_slave\u0027, datastore\u003dMANAGER)"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    def detach_replication_slave(self):"},{"line_number":216,"context_line":"        LOG.debug(\"Detach replication slave.\")"},{"line_number":217,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":218,"context_line":"            operation\u003d\u0027detach_replication_slave\u0027, datastore\u003dMANAGER)"},{"line_number":219,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_bf9b4965","line":216,"updated":"2014-07-22 14:33:47.000000000","message":"Everything else is in present tense.  How about \u0027Detaching\u0027 ?","commit_id":"48b8eca4fa6c1ffa97ec07be7ea9b2a485753c2a"},{"author":{"_account_id":5293,"name":"Nikhil","email":"SlickNik@gmail.com","username":"slicknik"},"change_message_id":"9fee6ca80c8c9bcce524d6664295404e268312b3","unresolved":false,"context_lines":[{"line_number":251,"context_line":"            operation\u003d\u0027get_replication_snapshot\u0027, datastore\u003dMANAGER)"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    def attach_replication_slave(self, context, snapshot, slave_config):"},{"line_number":254,"context_line":"        LOG.debug(\"Attaching replication slave.\")"},{"line_number":255,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":256,"context_line":"            operation\u003d\u0027attach_replication_slave\u0027, datastore\u003dMANAGER)"},{"line_number":257,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_c862ef15","line":254,"updated":"2014-09-08 16:36:10.000000000","message":"Please use \"replica\" instead of replication slave.","commit_id":"5a4efb322bf686abaf0080e82cb9121335dbb723"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0342da9dbe767523b784d04ca2591da92c1b04a2","unresolved":false,"context_lines":[{"line_number":251,"context_line":"            operation\u003d\u0027get_replication_snapshot\u0027, datastore\u003dMANAGER)"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    def attach_replication_slave(self, context, snapshot, slave_config):"},{"line_number":254,"context_line":"        LOG.debug(\"Attaching replication slave.\")"},{"line_number":255,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":256,"context_line":"            operation\u003d\u0027attach_replication_slave\u0027, datastore\u003dMANAGER)"},{"line_number":257,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_a7b69588","line":254,"in_reply_to":"fa98f980_c862ef15","updated":"2014-09-09 14:21:28.000000000","message":"Done","commit_id":"5a4efb322bf686abaf0080e82cb9121335dbb723"},{"author":{"_account_id":5293,"name":"Nikhil","email":"SlickNik@gmail.com","username":"slicknik"},"change_message_id":"9fee6ca80c8c9bcce524d6664295404e268312b3","unresolved":false,"context_lines":[{"line_number":261,"context_line":"            operation\u003d\u0027detach_replica\u0027, datastore\u003dMANAGER)"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    def demote_replication_master(self, context):"},{"line_number":264,"context_line":"        LOG.debug(\"Demoting replication master.\")"},{"line_number":265,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":266,"context_line":"            operation\u003d\u0027demote_replication_master\u0027, datastore\u003dMANAGER)"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_a854cb21","line":264,"updated":"2014-09-08 16:36:10.000000000","message":"Please use \"replica source\" instead of replication master.","commit_id":"5a4efb322bf686abaf0080e82cb9121335dbb723"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0342da9dbe767523b784d04ca2591da92c1b04a2","unresolved":false,"context_lines":[{"line_number":261,"context_line":"            operation\u003d\u0027detach_replica\u0027, datastore\u003dMANAGER)"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"    def demote_replication_master(self, context):"},{"line_number":264,"context_line":"        LOG.debug(\"Demoting replication master.\")"},{"line_number":265,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":266,"context_line":"            operation\u003d\u0027demote_replication_master\u0027, datastore\u003dMANAGER)"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_c7b9d97a","line":264,"in_reply_to":"fa98f980_a854cb21","updated":"2014-09-09 14:21:28.000000000","message":"Done","commit_id":"5a4efb322bf686abaf0080e82cb9121335dbb723"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"332704d50f93062a9a773b0913bf4431cb21cfbe","unresolved":false,"context_lines":[{"line_number":91,"context_line":"                self.app.start_db_with_conf_changes(config_contents)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"            else:"},{"line_number":94,"context_line":"                LOG.error(\"Bad cluster configuration; instance type given \""},{"line_number":95,"context_line":"                          \"as %s\" % cluster_config[\u0027instance_type\u0027])"},{"line_number":96,"context_line":"                self.status.set_status(ds_instance.ServiceStatuses.FAILED)"},{"line_number":97,"context_line":"                return"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_ec4eb937","line":94,"updated":"2014-09-18 21:03:50.000000000","message":"This should be internationalized","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"d7e3d1f62732ba0975a2ccd59b6c6b2345c453ee","unresolved":false,"context_lines":[{"line_number":91,"context_line":"                self.app.start_db_with_conf_changes(config_contents)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"            else:"},{"line_number":94,"context_line":"                LOG.error(\"Bad cluster configuration; instance type given \""},{"line_number":95,"context_line":"                          \"as %s\" % cluster_config[\u0027instance_type\u0027])"},{"line_number":96,"context_line":"                self.status.set_status(ds_instance.ServiceStatuses.FAILED)"},{"line_number":97,"context_line":"                return"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_670bc224","line":94,"in_reply_to":"fa98f980_ec4eb937","updated":"2014-09-18 21:24:11.000000000","message":"Done","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"309b8a70ad5dc377c64ef5993840605ce04a044b","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"            else:"},{"line_number":94,"context_line":"                LOG.error(_(\"Bad cluster configuration; instance type \""},{"line_number":95,"context_line":"                            \"given as %s\") % cluster_config[\u0027instance_type\u0027])"},{"line_number":96,"context_line":"                self.status.set_status(ds_instance.ServiceStatuses.FAILED)"},{"line_number":97,"context_line":"                return"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_c4c79362","line":95,"updated":"2014-10-07 20:36:07.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":268,"context_line":""},{"line_number":269,"context_line":"    def add_members(self, context, members):"},{"line_number":270,"context_line":"        try:"},{"line_number":271,"context_line":"            LOG.debug(\"add_members called\")"},{"line_number":272,"context_line":"            LOG.debug(\"args: members\u003d%s\" % members)"},{"line_number":273,"context_line":"            self.app.add_members(members)"},{"line_number":274,"context_line":"            LOG.debug(\"add_members call has finished\")"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_24513f36","line":271,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":269,"context_line":"    def add_members(self, context, members):"},{"line_number":270,"context_line":"        try:"},{"line_number":271,"context_line":"            LOG.debug(\"add_members called\")"},{"line_number":272,"context_line":"            LOG.debug(\"args: members\u003d%s\" % members)"},{"line_number":273,"context_line":"            self.app.add_members(members)"},{"line_number":274,"context_line":"            LOG.debug(\"add_members call has finished\")"},{"line_number":275,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_44448373","line":272,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":9746,"name":"Doug Shelley","email":"dougshelley66@gmail.com","username":"dougshelley"},"change_message_id":"8597dbbe2f104dcf53adf6f2fa7a77d57b6ea018","unresolved":false,"context_lines":[{"line_number":269,"context_line":"    def add_members(self, context, members):"},{"line_number":270,"context_line":"        try:"},{"line_number":271,"context_line":"            LOG.debug(\"add_members called\")"},{"line_number":272,"context_line":"            LOG.debug(\"args: members\u003d%s\" % members)"},{"line_number":273,"context_line":"            self.app.add_members(members)"},{"line_number":274,"context_line":"            LOG.debug(\"add_members call has finished\")"},{"line_number":275,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_dd6f53fa","line":272,"in_reply_to":"baa201ad_44448373","updated":"2014-10-08 13:41:16.000000000","message":"I disagree - why would you put a period on the end of a bunch of text that clearly isn\u0027t intended to be a sentence? Is there an edict that all debug messages should be proper sentences? If so, please point me to that guideline.","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":271,"context_line":"            LOG.debug(\"add_members called\")"},{"line_number":272,"context_line":"            LOG.debug(\"args: members\u003d%s\" % members)"},{"line_number":273,"context_line":"            self.app.add_members(members)"},{"line_number":274,"context_line":"            LOG.debug(\"add_members call has finished\")"},{"line_number":275,"context_line":"        except Exception:"},{"line_number":276,"context_line":"            self.status.set_status(ds_instance.ServiceStatuses.FAILED)"},{"line_number":277,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_84610b07","line":274,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":278,"context_line":""},{"line_number":279,"context_line":"    def add_config_servers(self, context, config_servers):"},{"line_number":280,"context_line":"        try:"},{"line_number":281,"context_line":"            LOG.debug(\"add_config_servers called\")"},{"line_number":282,"context_line":"            LOG.debug(\"args: config_servers\u003d%s\" % config_servers)"},{"line_number":283,"context_line":"            self.app.add_config_servers(config_servers)"},{"line_number":284,"context_line":"            LOG.debug(\"add_config_servers call has finished\")"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_e452d733","line":281,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":279,"context_line":"    def add_config_servers(self, context, config_servers):"},{"line_number":280,"context_line":"        try:"},{"line_number":281,"context_line":"            LOG.debug(\"add_config_servers called\")"},{"line_number":282,"context_line":"            LOG.debug(\"args: config_servers\u003d%s\" % config_servers)"},{"line_number":283,"context_line":"            self.app.add_config_servers(config_servers)"},{"line_number":284,"context_line":"            LOG.debug(\"add_config_servers call has finished\")"},{"line_number":285,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_04351bf7","line":282,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":281,"context_line":"            LOG.debug(\"add_config_servers called\")"},{"line_number":282,"context_line":"            LOG.debug(\"args: config_servers\u003d%s\" % config_servers)"},{"line_number":283,"context_line":"            self.app.add_config_servers(config_servers)"},{"line_number":284,"context_line":"            LOG.debug(\"add_config_servers call has finished\")"},{"line_number":285,"context_line":"        except Exception:"},{"line_number":286,"context_line":"            self.status.set_status(ds_instance.ServiceStatuses.FAILED)"},{"line_number":287,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_643ee7db","line":284,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":288,"context_line":""},{"line_number":289,"context_line":"    def add_shard(self, context, replica_set_name, replica_set_member):"},{"line_number":290,"context_line":"        try:"},{"line_number":291,"context_line":"            LOG.debug(\"add_shard called\")"},{"line_number":292,"context_line":"            LOG.debug(\"args: replica_set_name\u003d%s, replica_set_member\u003d%s\" % ("},{"line_number":293,"context_line":"                replica_set_name, replica_set_member))"},{"line_number":294,"context_line":"            self.app.add_shard(replica_set_name, replica_set_member)"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_a4236fbb","line":291,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":289,"context_line":"    def add_shard(self, context, replica_set_name, replica_set_member):"},{"line_number":290,"context_line":"        try:"},{"line_number":291,"context_line":"            LOG.debug(\"add_shard called\")"},{"line_number":292,"context_line":"            LOG.debug(\"args: replica_set_name\u003d%s, replica_set_member\u003d%s\" % ("},{"line_number":293,"context_line":"                replica_set_name, replica_set_member))"},{"line_number":294,"context_line":"            self.app.add_shard(replica_set_name, replica_set_member)"},{"line_number":295,"context_line":"            LOG.debug(\"add_shard call has finished\")"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_e429f79b","line":292,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"187aded6fad3b24a57441efbc912504b9fc86783","unresolved":false,"context_lines":[{"line_number":292,"context_line":"            LOG.debug(\"args: replica_set_name\u003d%s, replica_set_member\u003d%s\" % ("},{"line_number":293,"context_line":"                replica_set_name, replica_set_member))"},{"line_number":294,"context_line":"            self.app.add_shard(replica_set_name, replica_set_member)"},{"line_number":295,"context_line":"            LOG.debug(\"add_shard call has finished\")"},{"line_number":296,"context_line":"        except Exception:"},{"line_number":297,"context_line":"            self.status.set_status(ds_instance.ServiceStatuses.FAILED)"},{"line_number":298,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_041c3b77","line":295,"updated":"2014-10-07 20:49:29.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"16ebf58b04851489d7f50f30658f04023c187226","unresolved":false,"context_lines":[{"line_number":169,"context_line":"            operation\u003d\u0027delete_user\u0027, datastore\u003dMANAGER)"},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"    def get_user(self, context, username, hostname):"},{"line_number":172,"context_line":"        raise exception.DatastoreOperationNotSupported("},{"line_number":173,"context_line":"            operation\u003d\u0027get_user\u0027, datastore\u003dMANAGER)"},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"    def grant_access(self, context, username, hostname, databases):"}],"source_content_type":"text/x-python","patch_set":18,"id":"baa201ad_82122db2","line":172,"updated":"2014-10-14 18:58:16.000000000","message":"you missed one.","commit_id":"c36da85d580e64e842cd747124c3cefffc5f2ff1"},{"author":{"_account_id":8214,"name":"Auston McReynolds","email":"amcreynolds@ebaysf.com","username":"amcreynolds"},"change_message_id":"16ebf58b04851489d7f50f30658f04023c187226","unresolved":false,"context_lines":[{"line_number":298,"context_line":"            raise"},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    def cluster_complete(self, context):"},{"line_number":301,"context_line":"        # Now that cluster creation is complete, start status checks"},{"line_number":302,"context_line":"        status \u003d self.status._get_actual_db_status()"},{"line_number":303,"context_line":"        self.status.set_status(status)"}],"source_content_type":"text/x-python","patch_set":18,"id":"baa201ad_a215719c","line":301,"updated":"2014-10-14 18:58:16.000000000","message":"you missed another.","commit_id":"c36da85d580e64e842cd747124c3cefffc5f2ff1"}],"trove/guestagent/datastore/mongodb/service.py":[{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"89810c3eb60f9499b8601bd6f5fba32f45cbf575","unresolved":false,"context_lines":[{"line_number":166,"context_line":"            with open(system.TMP_CONFIG, \u0027w\u0027) as t:"},{"line_number":167,"context_line":"                t.write(config_contents)"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"            LOG.debug(_(\"Moving %(a)s to %(b)s.\") %"},{"line_number":170,"context_line":"                      {\u0027a\u0027: system.TMP_CONFIG, \u0027b\u0027: system.CONFIG})"},{"line_number":171,"context_line":"            utils.execute_with_timeout(\"mv\", system.TMP_CONFIG, system.CONFIG,"},{"line_number":172,"context_line":"                                       run_as_root\u003dTrue, root_helper\u003d\"sudo\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_6bced084","line":169,"updated":"2014-07-18 22:03:12.000000000","message":"debug should not be wrapped","commit_id":"07e966f988c2c6a0e391e57db0b479ae0ac4c77c"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"bb0a3cb02cc84a5d6eb809abead42588efbb8685","unresolved":false,"context_lines":[{"line_number":166,"context_line":"            with open(system.TMP_CONFIG, \u0027w\u0027) as t:"},{"line_number":167,"context_line":"                t.write(config_contents)"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"            LOG.debug(_(\"Moving %(a)s to %(b)s.\") %"},{"line_number":170,"context_line":"                      {\u0027a\u0027: system.TMP_CONFIG, \u0027b\u0027: system.CONFIG})"},{"line_number":171,"context_line":"            utils.execute_with_timeout(\"mv\", system.TMP_CONFIG, system.CONFIG,"},{"line_number":172,"context_line":"                                       run_as_root\u003dTrue, root_helper\u003d\"sudo\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_9fd0b0f8","line":169,"in_reply_to":"baada198_6bced084","updated":"2014-07-19 21:35:32.000000000","message":"Done","commit_id":"07e966f988c2c6a0e391e57db0b479ae0ac4c77c"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"89810c3eb60f9499b8601bd6f5fba32f45cbf575","unresolved":false,"context_lines":[{"line_number":171,"context_line":"            utils.execute_with_timeout(\"mv\", system.TMP_CONFIG, system.CONFIG,"},{"line_number":172,"context_line":"                                       run_as_root\u003dTrue, root_helper\u003d\"sudo\")"},{"line_number":173,"context_line":"        else:"},{"line_number":174,"context_line":"            LOG.debug(_(\"Empty config_contents. Do nothing.\"))"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    def _read_config(self):"},{"line_number":177,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_abc46860","line":174,"updated":"2014-07-18 22:03:12.000000000","message":"same","commit_id":"07e966f988c2c6a0e391e57db0b479ae0ac4c77c"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"bb0a3cb02cc84a5d6eb809abead42588efbb8685","unresolved":false,"context_lines":[{"line_number":171,"context_line":"            utils.execute_with_timeout(\"mv\", system.TMP_CONFIG, system.CONFIG,"},{"line_number":172,"context_line":"                                       run_as_root\u003dTrue, root_helper\u003d\"sudo\")"},{"line_number":173,"context_line":"        else:"},{"line_number":174,"context_line":"            LOG.debug(_(\"Empty config_contents. Do nothing.\"))"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    def _read_config(self):"},{"line_number":177,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_bfcd745f","line":174,"in_reply_to":"baada198_abc46860","updated":"2014-07-19 21:35:32.000000000","message":"Done","commit_id":"07e966f988c2c6a0e391e57db0b479ae0ac4c77c"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"22638d37456412f858501ed6513a78b9b716d2b0","unresolved":false,"context_lines":[{"line_number":131,"context_line":"                LOG.exception(_(\"Error killing MongoDB start command.\"))"},{"line_number":132,"context_line":"                # There\u0027s nothing more we can do..."},{"line_number":133,"context_line":"            self.status.end_install_or_restart()"},{"line_number":134,"context_line":"            raise RuntimeError(\"Could not start MongoDB\")"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def start_db_with_conf_changes(self, config_contents):"},{"line_number":137,"context_line":"        LOG.info(_(\"Starting MongoDB with configuration changes.\"))"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_4c1c5ac2","line":134,"updated":"2014-09-08 13:15:16.000000000","message":"missing period","commit_id":"5a4efb322bf686abaf0080e82cb9121335dbb723"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"0342da9dbe767523b784d04ca2591da92c1b04a2","unresolved":false,"context_lines":[{"line_number":131,"context_line":"                LOG.exception(_(\"Error killing MongoDB start command.\"))"},{"line_number":132,"context_line":"                # There\u0027s nothing more we can do..."},{"line_number":133,"context_line":"            self.status.end_install_or_restart()"},{"line_number":134,"context_line":"            raise RuntimeError(\"Could not start MongoDB\")"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def start_db_with_conf_changes(self, config_contents):"},{"line_number":137,"context_line":"        LOG.info(_(\"Starting MongoDB with configuration changes.\"))"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa98f980_478ec9d1","line":134,"in_reply_to":"fa98f980_4c1c5ac2","updated":"2014-09-09 14:21:28.000000000","message":"Done","commit_id":"5a4efb322bf686abaf0080e82cb9121335dbb723"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"332704d50f93062a9a773b0913bf4431cb21cfbe","unresolved":false,"context_lines":[{"line_number":213,"context_line":"        config_contents \u003d self._read_config()"},{"line_number":214,"context_line":"        configdb_contents \u003d \u0027,\u0027.join([\u0027%s:27019\u0027 % host"},{"line_number":215,"context_line":"                                      for host in config_server_hosts])"},{"line_number":216,"context_line":"        LOG.debug(\"Config server list %s\" % configdb_contents)"},{"line_number":217,"context_line":"        # remove db path from config and update configdb"},{"line_number":218,"context_line":"        contents \u003d self._delete_config_parameters(config_contents,"},{"line_number":219,"context_line":"                                                  [\"dbpath\", \"nojournal\","}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_acc75164","line":216,"updated":"2014-09-18 21:03:50.000000000","message":"Missing period (I\u0027m not a big stickler for this, just pointing it out).","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"d7e3d1f62732ba0975a2ccd59b6c6b2345c453ee","unresolved":false,"context_lines":[{"line_number":213,"context_line":"        config_contents \u003d self._read_config()"},{"line_number":214,"context_line":"        configdb_contents \u003d \u0027,\u0027.join([\u0027%s:27019\u0027 % host"},{"line_number":215,"context_line":"                                      for host in config_server_hosts])"},{"line_number":216,"context_line":"        LOG.debug(\"Config server list %s\" % configdb_contents)"},{"line_number":217,"context_line":"        # remove db path from config and update configdb"},{"line_number":218,"context_line":"        contents \u003d self._delete_config_parameters(config_contents,"},{"line_number":219,"context_line":"                                                  [\"dbpath\", \"nojournal\","}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_87118655","line":216,"in_reply_to":"fa98f980_acc75164","updated":"2014-09-18 21:24:11.000000000","message":"Done","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"332704d50f93062a9a773b0913bf4431cb21cfbe","unresolved":false,"context_lines":[{"line_number":226,"context_line":""},{"line_number":227,"context_line":"    def write_mongos_upstart(self):"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"        LOG.info(_(\"Writing %s\") % system.TMP_MONGOS_UPSTART)"},{"line_number":230,"context_line":"        with open(system.TMP_MONGOS_UPSTART, \u0027w\u0027) as t:"},{"line_number":231,"context_line":"            t.write(system.MONGOS_UPSTART_CONTENTS)"},{"line_number":232,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_ccc65568","line":229,"updated":"2014-09-18 21:03:50.000000000","message":"ditto","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"332704d50f93062a9a773b0913bf4431cb21cfbe","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        with open(system.TMP_MONGOS_UPSTART, \u0027w\u0027) as t:"},{"line_number":231,"context_line":"            t.write(system.MONGOS_UPSTART_CONTENTS)"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"        LOG.info(_(\"Moving %(a)s to %(b)s\")"},{"line_number":234,"context_line":"                 % {\u0027a\u0027: system.TMP_MONGOS_UPSTART,"},{"line_number":235,"context_line":"                    \u0027b\u0027: system.MONGOS_UPSTART})"},{"line_number":236,"context_line":"        utils.execute_with_timeout(\"mv\", system.TMP_MONGOS_UPSTART,"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_ecc1594f","line":233,"updated":"2014-09-18 21:03:50.000000000","message":"ditto","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"332704d50f93062a9a773b0913bf4431cb21cfbe","unresolved":false,"context_lines":[{"line_number":359,"context_line":"            else:"},{"line_number":360,"context_line":"                return ds_instance.ServiceStatuses.SHUTDOWN"},{"line_number":361,"context_line":"        except exception.ProcessExecutionError as e:"},{"line_number":362,"context_line":"            LOG.error(_(\"Process execution %s\") % e)"},{"line_number":363,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"},{"line_number":364,"context_line":"        except OSError as e:"},{"line_number":365,"context_line":"            LOG.error(_(\"OS Error %s\") % e)"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_2ca361b2","line":362,"updated":"2014-09-18 21:03:50.000000000","message":"ditto","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"332704d50f93062a9a773b0913bf4431cb21cfbe","unresolved":false,"context_lines":[{"line_number":362,"context_line":"            LOG.error(_(\"Process execution %s\") % e)"},{"line_number":363,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"},{"line_number":364,"context_line":"        except OSError as e:"},{"line_number":365,"context_line":"            LOG.error(_(\"OS Error %s\") % e)"},{"line_number":366,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_8c936d5b","line":365,"updated":"2014-09-18 21:03:50.000000000","message":"This could be a LOG.exception() - plus missing period.","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"d7e3d1f62732ba0975a2ccd59b6c6b2345c453ee","unresolved":false,"context_lines":[{"line_number":362,"context_line":"            LOG.error(_(\"Process execution %s\") % e)"},{"line_number":363,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"},{"line_number":364,"context_line":"        except OSError as e:"},{"line_number":365,"context_line":"            LOG.error(_(\"OS Error %s\") % e)"},{"line_number":366,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa98f980_a70cca3a","line":365,"in_reply_to":"fa98f980_8c936d5b","updated":"2014-09-18 21:24:11.000000000","message":"Done","commit_id":"5327a673156aa23b03aea89b83441ea2f43ecfbc"},{"author":{"_account_id":8415,"name":"Denis M.","email":"lildee1991@gmail.com","username":"dmakogon"},"change_message_id":"309b8a70ad5dc377c64ef5993840605ce04a044b","unresolved":false,"context_lines":[{"line_number":375,"context_line":"            LOG.exception(_(\"Process execution %s.\") % e)"},{"line_number":376,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"},{"line_number":377,"context_line":"        except OSError as e:"},{"line_number":378,"context_line":"            LOG.exception(_(\"OS Error %s\") % e)"},{"line_number":379,"context_line":"            return ds_instance.ServiceStatuses.SHUTDOWN"}],"source_content_type":"text/x-python","patch_set":16,"id":"baa201ad_c49eb362","line":378,"updated":"2014-10-07 20:36:07.000000000","message":"missing period","commit_id":"185669b061ac7f544960aa074dde69beeef464c2"}]}
