)]}'
{".coveragerc":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"a36811aecc8d23acc90c9d3614e9914b9958d068","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[run]"},{"line_number":2,"context_line":"branch \u003d True"},{"line_number":3,"context_line":"omit \u003d"},{"line_number":4,"context_line":"    .tox*"}],"source_content_type":"application/octet-stream","patch_set":13,"id":"1a4dcd0f_94d6b54d","side":"PARENT","line":1,"updated":"2015-08-11 15:16:09.000000000","message":"Is there a reason you\u0027re now removing .coveragerc?","commit_id":"5b8fbd3640e776657aae3bacb3c6833d211a16ff"}],"/COMMIT_MSG":[{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":12,"context_line":"tool without any modification"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"update: adding Unit tests"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I6d3957c217e1253e53152d90d5fcce5e69c77674"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"ba3cc151_70f83ce6","line":15,"updated":"2015-06-29 18:07:53.000000000","message":"Maybe give Darragh some credit?\n\n  \u0027co-author: Darragh Bailey\u003cdaragh.bailey@gmail.com\u003e\u0027","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"b5c22e7cabd715cef159394311e073d07029b98f","unresolved":false,"context_lines":[{"line_number":12,"context_line":"tool without any modification"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"update: adding Unit tests"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I6d3957c217e1253e53152d90d5fcce5e69c77674"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"ba3cc151_f536b34f","line":15,"in_reply_to":"ba3cc151_70f83ce6","updated":"2015-07-03 10:08:15.000000000","message":"I don\u0027t know how to do this.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"1065fd7087762b9b68037a626f130b3e7ed8a0c3","unresolved":false,"context_lines":[{"line_number":12,"context_line":"tool without any modification"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"update: adding Unit tests"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I6d3957c217e1253e53152d90d5fcce5e69c77674"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"ba3cc151_46abb889","line":15,"in_reply_to":"ba3cc151_f536b34f","updated":"2015-07-07 18:08:44.000000000","message":"just add that co-author line right here.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"}],"README.rst":[{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":21,"context_line":"* Enable/Disable nodes"},{"line_number":22,"context_line":"* Get information on nodes"},{"line_number":23,"context_line":"* Create/delete/reconfig views"},{"line_number":24,"context_line":"* Create/delete/update folders"},{"line_number":25,"context_line":"* and many more.."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"To install::"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa1b9901_1fb444cf","line":24,"updated":"2015-08-18 22:29:26.000000000","message":"nit: I\u0027ve not used folders but is it possible to modify folders?  could you please add an example of that in examples.rst?  I think users would like to know the possibilities:\n\n  - rename a folder?\n  - move jobs between folders?\n  - change folder properties, like a description?\n  - copy a folder?  would that copy it\u0027s contents?","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"3f10101c03e7a5953b37eb9bd55277680180747f","unresolved":false,"context_lines":[{"line_number":21,"context_line":"* Enable/Disable nodes"},{"line_number":22,"context_line":"* Get information on nodes"},{"line_number":23,"context_line":"* Create/delete/reconfig views"},{"line_number":24,"context_line":"* Create/delete/update folders"},{"line_number":25,"context_line":"* and many more.."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"To install::"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa1b9901_8bcb2453","line":24,"in_reply_to":"fa1b9901_1fb444cf","updated":"2015-08-19 00:06:48.000000000","message":"Believe that\u0027s limited with the free version, but the folder plus version suggests that you can copy folders and copy it\u0027s contents as a set of new jobs.\n\nSee https://documentation.cloudbees.com/docs/cje-user-guide/folders-plus.html","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"42165927053ebc4cfc4d664d4f7cde33046cb722","unresolved":false,"context_lines":[{"line_number":21,"context_line":"* Enable/Disable nodes"},{"line_number":22,"context_line":"* Get information on nodes"},{"line_number":23,"context_line":"* Create/delete/reconfig views"},{"line_number":24,"context_line":"* Create/delete/update folders"},{"line_number":25,"context_line":"* and many more.."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"To install::"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa1b9901_b160afd0","line":24,"in_reply_to":"fa1b9901_8bcb2453","updated":"2015-08-19 17:14:00.000000000","message":"I\u0027m guessing we should communicate that in python-jenkins docs as well?  maybe with notes or a footer reference?","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"}],"doc/source/example.rst":[{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    j.delete_job(\u0027empty\u0027)"},{"line_number":16,"context_line":"    j.delete_job(\u0027empty_copy\u0027)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    # create empty folder"},{"line_number":19,"context_line":"    j.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    # create subfolder"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_7c9b3dca","line":18,"updated":"2015-06-29 18:07:53.000000000","message":"I think I would prefer to see a separate \u0027Working with Folders\u0027 example for this because the upcoming change to support views will also add examples here as well.  Also I would like to see a comment explicitly stating that the folder plugin is required for this.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"ad7591ffa041922d3a06bb22a409a7306126e860","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    j.delete_job(\u0027empty\u0027)"},{"line_number":16,"context_line":"    j.delete_job(\u0027empty_copy\u0027)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    # create empty folder"},{"line_number":19,"context_line":"    j.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    # create subfolder"}],"source_content_type":"text/x-rst","patch_set":9,"id":"1a4dcd0f_6f318759","line":18,"in_reply_to":"ba3cc151_0642903e","updated":"2015-08-06 23:48:29.000000000","message":"As an example, please take a look at change I609dd06ee33033ae5e\n\nYou can rebase on that change and provide a new and separate example.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"b5c22e7cabd715cef159394311e073d07029b98f","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    j.delete_job(\u0027empty\u0027)"},{"line_number":16,"context_line":"    j.delete_job(\u0027empty_copy\u0027)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    # create empty folder"},{"line_number":19,"context_line":"    j.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    # create subfolder"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_9570870c","line":18,"in_reply_to":"ba3cc151_7c9b3dca","updated":"2015-07-03 10:08:15.000000000","message":"Are you suggesting to create new example file?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"1065fd7087762b9b68037a626f130b3e7ed8a0c3","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    j.delete_job(\u0027empty\u0027)"},{"line_number":16,"context_line":"    j.delete_job(\u0027empty_copy\u0027)"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    # create empty folder"},{"line_number":19,"context_line":"    j.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"    # create subfolder"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_0642903e","line":18,"in_reply_to":"ba3cc151_9570870c","updated":"2015-07-07 18:08:44.000000000","message":"Yes, create a new file that can be referenced from here or just create a new section called \u0027Example Using Folders::\u0027 with a similar example except using the new folders api.  Another option would be to add examples in the API docs.  Some of the current APIs have examples inline so maybe you can use those as examples.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"}],"doc/source/examples.rst":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"a36811aecc8d23acc90c9d3614e9914b9958d068","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Using Python-Jenkins API"},{"line_number":2,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"The APIs allows management of a Jenkins server thru the Jenkins REST endpoints."}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a4dcd0f_94531517","line":1,"updated":"2015-08-11 15:16:09.000000000","message":"This looks like a bad rebase…","commit_id":"e0888776d1b55940cf2ec12a6931acc75dec204b"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"a82e848a71dc5383bbb56cd71295c4ccc144820b","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"::"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    j.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":129,"context_line":"    j.create_job(\u0027folder/empty\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":130,"context_line":"    j.copy_job(\u0027folder/empty\u0027, \u0027folder/empty_copy\u0027)"},{"line_number":131,"context_line":"    j.delete_job(\u0027folder/empty_copy\u0027)"}],"source_content_type":"text/x-rst","patch_set":15,"id":"1a4dcd0f_4832ce5f","line":128,"updated":"2015-08-11 16:24:33.000000000","message":"all the the other examples use \u0027server\u0027 instead of \u0027j\u0027","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"f480be2df5df8eb23b6aa60a5cc1dd7f1ec5ca15","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"::"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    j.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":129,"context_line":"    j.create_job(\u0027folder/empty\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":130,"context_line":"    j.copy_job(\u0027folder/empty\u0027, \u0027folder/empty_copy\u0027)"},{"line_number":131,"context_line":"    j.delete_job(\u0027folder/empty_copy\u0027)"}],"source_content_type":"text/x-rst","patch_set":15,"id":"1a4dcd0f_79643a21","line":128,"in_reply_to":"1a4dcd0f_4832ce5f","updated":"2015-08-11 17:35:58.000000000","message":"True","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":121,"context_line":"Example 7: Working with Jenkins Cloudbees Folders"},{"line_number":122,"context_line":"-------------------------------------------------"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"This is an example showing how to create, configure and delete Jenkins folders."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"::"},{"line_number":127,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa1b9901_fffe306a","line":124,"updated":"2015-08-18 22:29:26.000000000","message":"Should really state that this requires the Folders plugin.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"::"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    server.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":129,"context_line":"    server.create_job(\u0027folder/empty\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":130,"context_line":"    server.copy_job(\u0027folder/empty\u0027, \u0027folder/empty_copy\u0027)"},{"line_number":131,"context_line":"    server.delete_job(\u0027folder/empty_copy\u0027)"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa1b9901_bf275811","line":128,"updated":"2015-08-18 22:29:26.000000000","message":"I didn\u0027t think about this earlier but it seems odd that users would need to use the jobs APIs to add/remove/modify folders.  At a conceptual level I would think most users associate folders to views.  I think it would be nice to have a create_folder()/delete_folder()/modify_folder() methods so the API is more intuitive and consistent with the views APIs.  Also that would allow users to create/update folders independently of jobs.  With that said i also feel that my suggestion can be done in a follow on change.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"3f10101c03e7a5953b37eb9bd55277680180747f","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"::"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    server.create_job(\u0027folder\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":129,"context_line":"    server.create_job(\u0027folder/empty\u0027, jenkins.EMPTY_FOLDER_XML)"},{"line_number":130,"context_line":"    server.copy_job(\u0027folder/empty\u0027, \u0027folder/empty_copy\u0027)"},{"line_number":131,"context_line":"    server.delete_job(\u0027folder/empty_copy\u0027)"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa1b9901_4be66cb5","line":128,"in_reply_to":"fa1b9901_bf275811","updated":"2015-08-19 00:06:48.000000000","message":"Even if we make the folders api wrap around the jobs methods to create folders it might be a good abstraction.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"}],"jenkins/__init__.py":[{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0c8848b716bb5d6d652fd10a6912e053578926a2","unresolved":false,"context_lines":[{"line_number":81,"context_line":"STOP_BUILD \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)s/stop\u0027"},{"line_number":82,"context_line":"BUILD_WITH_PARAMS_JOB \u003d \u0027%(folder_url)sjob/%(short_name)s/buildWithParameters\u0027"},{"line_number":83,"context_line":"BUILD_INFO \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/api/json?depth\u003d%(depth)s\u0027"},{"line_number":84,"context_line":"BUILD_CONSOLE_OUTPUT \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/consoleText\u0027"},{"line_number":85,"context_line":"NODE_LIST \u003d \u0027computer/api/json\u0027"},{"line_number":86,"context_line":"CREATE_NODE \u003d \u0027computer/doCreateItem?%s\u0027"},{"line_number":87,"context_line":"DELETE_NODE \u003d \u0027computer/%(name)s/doDelete\u0027"}],"source_content_type":"text/x-python","patch_set":2,"id":"1aca2d91_5109a594","line":84,"updated":"2015-05-06 14:09:19.000000000","message":"Are you sure that it\u0027s only jobs that are placed under folders? I\u0027d a feeling that just about everything could be placed and queried under a folder.","commit_id":"8808dd6af4b680b382eba6cfa0162c329cdda941"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0c8848b716bb5d6d652fd10a6912e053578926a2","unresolved":false,"context_lines":[{"line_number":137,"context_line":"    \u003chealthMetrics\u003e"},{"line_number":138,"context_line":"        \u003ccom.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric/\u003e"},{"line_number":139,"context_line":"    \u003c/healthMetrics\u003e"},{"line_number":140,"context_line":"\u003c/com.cloudbees.hudson.plugins.folder.Folder\u003e\u0027\u0027\u0027"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"class JenkinsException(Exception):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1aca2d91_51940536","line":140,"updated":"2015-05-06 14:09:19.000000000","message":"Planning to use this for some tests?","commit_id":"8808dd6af4b680b382eba6cfa0162c329cdda941"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0c8848b716bb5d6d652fd10a6912e053578926a2","unresolved":false,"context_lines":[{"line_number":513,"context_line":""},{"line_number":514,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":515,"context_line":"        \"\"\""},{"line_number":516,"context_line":"        return self.get_info()[\u0027jobs\u0027]"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":519,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job"}],"source_content_type":"text/x-python","patch_set":2,"id":"1aca2d91_f1543155","line":516,"updated":"2015-05-06 14:09:19.000000000","message":"Believe this needs to be modified to allowing searching sub folders for jobs  as otherwise you\u0027ll only ever return the top level list when querying.\n\nSee I8b27f4d1d1ddc9a55ada8569282d8c56502286a2","commit_id":"8808dd6af4b680b382eba6cfa0162c329cdda941"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0c8848b716bb5d6d652fd10a6912e053578926a2","unresolved":false,"context_lines":[{"line_number":884,"context_line":"            folder_url \u003d \u0027\u0027"},{"line_number":885,"context_line":"        else:"},{"line_number":886,"context_line":"            short_name \u003d a_path[-1]"},{"line_number":887,"context_line":"            folder_url \u003d \u0027job/\u0027 + string.join(a_path[:-1], \u0027/job/\u0027) + \u0027/\u0027"},{"line_number":888,"context_line":""},{"line_number":889,"context_line":"        return [folder_url, short_name]"}],"source_content_type":"text/x-python","patch_set":2,"id":"1aca2d91_912cddac","line":887,"updated":"2015-05-06 14:09:19.000000000","message":"I\u0027m relatively certain that \"string.join()\" is not python 3 compatible. following should work just fine though.\n\n \u0027/job/\u0027.join(a_path[:-1])","commit_id":"8808dd6af4b680b382eba6cfa0162c329cdda941"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"6e564ae0518c6c2ac431b3933a729acc4a7b1656","unresolved":false,"context_lines":[{"line_number":82,"context_line":"STOP_BUILD \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)s/stop\u0027"},{"line_number":83,"context_line":"BUILD_WITH_PARAMS_JOB \u003d \u0027%(folder_url)sjob/%(short_name)s/buildWithParameters\u0027"},{"line_number":84,"context_line":"BUILD_INFO \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/api/json?depth\u003d%(depth)s\u0027"},{"line_number":85,"context_line":"BUILD_CONSOLE_OUTPUT \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/consoleText\u0027"},{"line_number":86,"context_line":"NODE_LIST \u003d \u0027computer/api/json\u0027"},{"line_number":87,"context_line":"CREATE_NODE \u003d \u0027computer/doCreateItem?%s\u0027"},{"line_number":88,"context_line":"DELETE_NODE \u003d \u0027computer/%(name)s/doDelete\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"5afe65bd_1a830d9a","line":85,"updated":"2015-06-08 10:30:43.000000000","message":"As mentioned previously:\n\"Are you sure that it\u0027s only jobs that are placed under folders? I\u0027d a feeling that just about everything could be placed and queried under a folder.\"\n\nI didn\u0027t see a response to this, although I may have missed it.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"d0ca3409dbda543767e7c064236597f43e4b45ff","unresolved":false,"context_lines":[{"line_number":82,"context_line":"STOP_BUILD \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)s/stop\u0027"},{"line_number":83,"context_line":"BUILD_WITH_PARAMS_JOB \u003d \u0027%(folder_url)sjob/%(short_name)s/buildWithParameters\u0027"},{"line_number":84,"context_line":"BUILD_INFO \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/api/json?depth\u003d%(depth)s\u0027"},{"line_number":85,"context_line":"BUILD_CONSOLE_OUTPUT \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/consoleText\u0027"},{"line_number":86,"context_line":"NODE_LIST \u003d \u0027computer/api/json\u0027"},{"line_number":87,"context_line":"CREATE_NODE \u003d \u0027computer/doCreateItem?%s\u0027"},{"line_number":88,"context_line":"DELETE_NODE \u003d \u0027computer/%(name)s/doDelete\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_580c2894","line":85,"in_reply_to":"3afb71cf_f3e9881b","updated":"2015-06-15 17:52:07.000000000","message":"I was thinking you could keep the folder stuff separate and look to only need to update the code to enable that a folder be added as a prefix instead of needing to both update the code and the query urls to be interpolated.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"8b3324f10b35cb03e2367f7ffe418314508f43c0","unresolved":false,"context_lines":[{"line_number":82,"context_line":"STOP_BUILD \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)s/stop\u0027"},{"line_number":83,"context_line":"BUILD_WITH_PARAMS_JOB \u003d \u0027%(folder_url)sjob/%(short_name)s/buildWithParameters\u0027"},{"line_number":84,"context_line":"BUILD_INFO \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/api/json?depth\u003d%(depth)s\u0027"},{"line_number":85,"context_line":"BUILD_CONSOLE_OUTPUT \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/consoleText\u0027"},{"line_number":86,"context_line":"NODE_LIST \u003d \u0027computer/api/json\u0027"},{"line_number":87,"context_line":"CREATE_NODE \u003d \u0027computer/doCreateItem?%s\u0027"},{"line_number":88,"context_line":"DELETE_NODE \u003d \u0027computer/%(name)s/doDelete\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"3afb71cf_f3e9881b","line":85,"in_reply_to":"5afe65bd_1a830d9a","updated":"2015-06-08 12:09:57.000000000","message":"yes you may be right, views could be added as well but I don\u0027t see the link with my patch. What do you expect me to fix?","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":82,"context_line":"STOP_BUILD \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)s/stop\u0027"},{"line_number":83,"context_line":"BUILD_WITH_PARAMS_JOB \u003d \u0027%(folder_url)sjob/%(short_name)s/buildWithParameters\u0027"},{"line_number":84,"context_line":"BUILD_INFO \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/api/json?depth\u003d%(depth)s\u0027"},{"line_number":85,"context_line":"BUILD_CONSOLE_OUTPUT \u003d \u0027%(folder_url)sjob/%(short_name)s/%(number)d/consoleText\u0027"},{"line_number":86,"context_line":"NODE_LIST \u003d \u0027computer/api/json\u0027"},{"line_number":87,"context_line":"CREATE_NODE \u003d \u0027computer/doCreateItem?%s\u0027"},{"line_number":88,"context_line":"DELETE_NODE \u003d \u0027computer/%(name)s/doDelete\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_65227cbb","line":85,"in_reply_to":"fa32b979_580c2894","updated":"2015-06-16 12:39:40.000000000","message":"This was David proposal. But doing so I will need to patch jenkins job builder as well. With this solution, no need to patch it.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"6e564ae0518c6c2ac431b3933a729acc4a7b1656","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \u003chealthMetrics\u003e"},{"line_number":139,"context_line":"        \u003ccom.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric/\u003e"},{"line_number":140,"context_line":"    \u003c/healthMetrics\u003e"},{"line_number":141,"context_line":"\u003c/com.cloudbees.hudson.plugins.folder.Folder\u003e\u0027\u0027\u0027"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"class JenkinsException(Exception):"}],"source_content_type":"text/x-python","patch_set":6,"id":"5afe65bd_1aac2d33","line":141,"updated":"2015-06-08 10:30:43.000000000","message":"So I\u0027m not seeing that this is being used anyway?\n\nI suspect that the others above should also be removed, is there a reason this is being added in the first place?","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"d0ca3409dbda543767e7c064236597f43e4b45ff","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \u003chealthMetrics\u003e"},{"line_number":139,"context_line":"        \u003ccom.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric/\u003e"},{"line_number":140,"context_line":"    \u003c/healthMetrics\u003e"},{"line_number":141,"context_line":"\u003c/com.cloudbees.hudson.plugins.folder.Folder\u003e\u0027\u0027\u0027"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"class JenkinsException(Exception):"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_78ed6c8a","line":141,"in_reply_to":"3afb71cf_335600d3","updated":"2015-06-15 17:52:07.000000000","message":"The fact that the others could never really be used for anything useful outside of tests is what threw me, yes you can use this from a script to create folders, the other two are just very limited except for a sanity test.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"8b3324f10b35cb03e2367f7ffe418314508f43c0","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \u003chealthMetrics\u003e"},{"line_number":139,"context_line":"        \u003ccom.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric/\u003e"},{"line_number":140,"context_line":"    \u003c/healthMetrics\u003e"},{"line_number":141,"context_line":"\u003c/com.cloudbees.hudson.plugins.folder.Folder\u003e\u0027\u0027\u0027"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"class JenkinsException(Exception):"}],"source_content_type":"text/x-python","patch_set":6,"id":"3afb71cf_335600d3","line":141,"in_reply_to":"5afe65bd_1aac2d33","updated":"2015-06-08 12:09:57.000000000","message":"It is there for same purpose as EMPTY_CONFIG_XML. You could use it in a python script with create_job func.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"1ca0924d67eeca1a5dad6d28fd709fa91c77e7d9","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \u003chealthMetrics\u003e"},{"line_number":139,"context_line":"        \u003ccom.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric/\u003e"},{"line_number":140,"context_line":"    \u003c/healthMetrics\u003e"},{"line_number":141,"context_line":"\u003c/com.cloudbees.hudson.plugins.folder.Folder\u003e\u0027\u0027\u0027"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"class JenkinsException(Exception):"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_f2e0c6ce","line":141,"in_reply_to":"fa32b979_30d8341d","updated":"2015-06-26 17:49:17.000000000","message":"I agree with Jerome, IMO it helps new users test out this library.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":138,"context_line":"    \u003chealthMetrics\u003e"},{"line_number":139,"context_line":"        \u003ccom.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric/\u003e"},{"line_number":140,"context_line":"    \u003c/healthMetrics\u003e"},{"line_number":141,"context_line":"\u003c/com.cloudbees.hudson.plugins.folder.Folder\u003e\u0027\u0027\u0027"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"class JenkinsException(Exception):"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_30d8341d","line":141,"in_reply_to":"fa32b979_78ed6c8a","updated":"2015-06-16 12:39:40.000000000","message":"I disagree, it seems easier to use it in a python script to create a folder. If a 3rd party agree with you, I will remove it.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    def _get_encoded_params(self, params):"},{"line_number":200,"context_line":"        for k, v in params.items():"},{"line_number":201,"context_line":"            if k in [\"name\", \"to_name\", \"from_name\", \"msg\", \"short_name\", \"from_short_name\", \"to_short_name\", \"folder_url\", \"from_folder_url\", \"to_folder_url\"]:"},{"line_number":202,"context_line":"                params[k] \u003d quote(v)"},{"line_number":203,"context_line":"        return params"},{"line_number":204,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_93461922","line":201,"updated":"2015-06-15 15:34:35.000000000","message":"Could you word-wrap this so the line doesn\u0027t exceed 79 columns?","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":198,"context_line":""},{"line_number":199,"context_line":"    def _get_encoded_params(self, params):"},{"line_number":200,"context_line":"        for k, v in params.items():"},{"line_number":201,"context_line":"            if k in [\"name\", \"to_name\", \"from_name\", \"msg\", \"short_name\", \"from_short_name\", \"to_short_name\", \"folder_url\", \"from_folder_url\", \"to_folder_url\"]:"},{"line_number":202,"context_line":"                params[k] \u003d quote(v)"},{"line_number":203,"context_line":"        return params"},{"line_number":204,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_70f55c81","line":201,"in_reply_to":"fa32b979_93461922","updated":"2015-06-16 12:39:40.000000000","message":"ok","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":222,"context_line":"        :param depth: JSON depth, ``int``"},{"line_number":223,"context_line":"        :returns: dictionary of job information"},{"line_number":224,"context_line":"        \u0027\u0027\u0027"},{"line_number":225,"context_line":"        [folder_url, short_name] \u003d self.get_job_folder(name)"},{"line_number":226,"context_line":"        try:"},{"line_number":227,"context_line":"            response \u003d self.jenkins_open(Request("},{"line_number":228,"context_line":"                self.server + JOB_INFO % self._get_encoded_params(locals())))"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_53f731d3","line":225,"updated":"2015-06-15 15:34:35.000000000","message":"Could be a tuple rather than a list; although a list will work, a simple tuple would be more idiomatic.\n\n    folder_url, short_name \u003d self.get_job_folder(name)","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":222,"context_line":"        :param depth: JSON depth, ``int``"},{"line_number":223,"context_line":"        :returns: dictionary of job information"},{"line_number":224,"context_line":"        \u0027\u0027\u0027"},{"line_number":225,"context_line":"        [folder_url, short_name] \u003d self.get_job_folder(name)"},{"line_number":226,"context_line":"        try:"},{"line_number":227,"context_line":"            response \u003d self.jenkins_open(Request("},{"line_number":228,"context_line":"                self.server + JOB_INFO % self._get_encoded_params(locals())))"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_2b69a58b","line":225,"in_reply_to":"fa32b979_53f731d3","updated":"2015-06-16 12:39:40.000000000","message":"ok","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"6e564ae0518c6c2ac431b3933a729acc4a7b1656","unresolved":false,"context_lines":[{"line_number":520,"context_line":""},{"line_number":521,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":522,"context_line":"        \"\"\""},{"line_number":523,"context_line":"        return self.get_info()[\u0027jobs\u0027]"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":526,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job"}],"source_content_type":"text/x-python","patch_set":6,"id":"3afb71cf_47e65eb5","line":523,"updated":"2015-06-08 10:30:43.000000000","message":"Believe this needs to be modified to allowing searching sub folders for jobs as otherwise you\u0027ll only ever return the top level list when querying.\n\nSee I8b27f4d1d1ddc9a55ada8569282d8c56502286a2","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"8b3324f10b35cb03e2367f7ffe418314508f43c0","unresolved":false,"context_lines":[{"line_number":520,"context_line":""},{"line_number":521,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":522,"context_line":"        \"\"\""},{"line_number":523,"context_line":"        return self.get_info()[\u0027jobs\u0027]"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":526,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job"}],"source_content_type":"text/x-python","patch_set":6,"id":"3afb71cf_f32bc8e9","line":523,"updated":"2015-06-08 12:09:57.000000000","message":"I believe I already answered you for this. Or maybe I misunderstood what you did.\nYou seem to have submitted a patch for this. No need to do it twice, don\u0027t you think so?","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":520,"context_line":""},{"line_number":521,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":522,"context_line":"        \"\"\""},{"line_number":523,"context_line":"        return self.get_info()[\u0027jobs\u0027]"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":526,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_73b035de","line":523,"in_reply_to":"3afb71cf_f32bc8e9","updated":"2015-06-15 15:34:35.000000000","message":"I don\u0027t understand this either, perhaps because I don\u0027t understand the extension.  If the extension allows you to file jobs into \"folders\", then, unless get_jobs() returns all the jobs regardless of folder, this would only return the top-level jobs…and I don\u0027t see the addition of a call to retrieve all the jobs in a folder, or a way of obtaining a list of all folders.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"d0ca3409dbda543767e7c064236597f43e4b45ff","unresolved":false,"context_lines":[{"line_number":520,"context_line":""},{"line_number":521,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":522,"context_line":"        \"\"\""},{"line_number":523,"context_line":"        return self.get_info()[\u0027jobs\u0027]"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":526,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_49f780d3","line":523,"in_reply_to":"3afb71cf_f32bc8e9","updated":"2015-06-15 17:52:07.000000000","message":"The patches are alternative implementations of adding folder support, so I was just thinking that you include the other code in here and I could abandon that patch complete.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":530,"context_line":"        \u0027\u0027\u0027"},{"line_number":531,"context_line":"        [from_folder_url, from_short_name] \u003d self.get_job_folder(from_name)"},{"line_number":532,"context_line":"        [to_folder_url, to_short_name] \u003d self.get_job_folder(to_name)"},{"line_number":533,"context_line":"        if (from_folder_url !\u003d to_folder_url):"},{"line_number":534,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, (source and destination folder must be the same)\u0027 % (from_name, to_name))"},{"line_number":535,"context_line":""},{"line_number":536,"context_line":"        self.jenkins_open(Request("}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_73e7d5e4","line":533,"updated":"2015-06-15 15:34:35.000000000","message":"The parentheses around the condition are redundant.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":530,"context_line":"        \u0027\u0027\u0027"},{"line_number":531,"context_line":"        [from_folder_url, from_short_name] \u003d self.get_job_folder(from_name)"},{"line_number":532,"context_line":"        [to_folder_url, to_short_name] \u003d self.get_job_folder(to_name)"},{"line_number":533,"context_line":"        if (from_folder_url !\u003d to_folder_url):"},{"line_number":534,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, (source and destination folder must be the same)\u0027 % (from_name, to_name))"},{"line_number":535,"context_line":""},{"line_number":536,"context_line":"        self.jenkins_open(Request("}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_abeb75af","line":533,"in_reply_to":"fa32b979_73e7d5e4","updated":"2015-06-16 12:39:40.000000000","message":"ok","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":531,"context_line":"        [from_folder_url, from_short_name] \u003d self.get_job_folder(from_name)"},{"line_number":532,"context_line":"        [to_folder_url, to_short_name] \u003d self.get_job_folder(to_name)"},{"line_number":533,"context_line":"        if (from_folder_url !\u003d to_folder_url):"},{"line_number":534,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, (source and destination folder must be the same)\u0027 % (from_name, to_name))"},{"line_number":535,"context_line":""},{"line_number":536,"context_line":"        self.jenkins_open(Request("},{"line_number":537,"context_line":"            self.server + COPY_JOB % self._get_encoded_params(locals()),"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_93037973","line":534,"updated":"2015-06-15 15:34:35.000000000","message":"The parentheses around the explanation are unnecessary and should be eliminated.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":531,"context_line":"        [from_folder_url, from_short_name] \u003d self.get_job_folder(from_name)"},{"line_number":532,"context_line":"        [to_folder_url, to_short_name] \u003d self.get_job_folder(to_name)"},{"line_number":533,"context_line":"        if (from_folder_url !\u003d to_folder_url):"},{"line_number":534,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, (source and destination folder must be the same)\u0027 % (from_name, to_name))"},{"line_number":535,"context_line":""},{"line_number":536,"context_line":"        self.jenkins_open(Request("},{"line_number":537,"context_line":"            self.server + COPY_JOB % self._get_encoded_params(locals()),"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_eb089d93","line":534,"in_reply_to":"fa32b979_93037973","updated":"2015-06-16 12:39:40.000000000","message":"ok","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":882,"context_line":"            raise JenkinsException(\u0027job[%s] number[%d] does not exist\u0027"},{"line_number":883,"context_line":"                                   % (name, number))"},{"line_number":884,"context_line":""},{"line_number":885,"context_line":"    def get_job_folder(self, name):"},{"line_number":886,"context_line":"        \u0027\u0027\u0027Return the name and folder (see cloudbees plugin)."},{"line_number":887,"context_line":""},{"line_number":888,"context_line":"        This is a method to support cloudbees folder plusgin."}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_730cb594","line":885,"updated":"2015-06-15 15:34:35.000000000","message":"Is this intended for use by the user, or is it only internal use?  If the latter, it should probably be marked internal with a leading underscore (\u0027_\u0027)","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":882,"context_line":"            raise JenkinsException(\u0027job[%s] number[%d] does not exist\u0027"},{"line_number":883,"context_line":"                                   % (name, number))"},{"line_number":884,"context_line":""},{"line_number":885,"context_line":"    def get_job_folder(self, name):"},{"line_number":886,"context_line":"        \u0027\u0027\u0027Return the name and folder (see cloudbees plugin)."},{"line_number":887,"context_line":""},{"line_number":888,"context_line":"        This is a method to support cloudbees folder plusgin."}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_eb2f3df4","line":885,"in_reply_to":"fa32b979_730cb594","updated":"2015-06-16 12:39:40.000000000","message":"yes you are right","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":898,"context_line":"            folder_url \u003d \u0027\u0027"},{"line_number":899,"context_line":"        else:"},{"line_number":900,"context_line":"            short_name \u003d a_path[-1]"},{"line_number":901,"context_line":"            folder_url \u003d \u0027job/\u0027 + \u0027/job/\u0027.join(a_path[:-1]) + \u0027/\u0027"},{"line_number":902,"context_line":""},{"line_number":903,"context_line":"        return [folder_url, short_name]"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_73b6f58b","line":901,"updated":"2015-06-15 15:34:35.000000000","message":"so, if I read this correctly, a name like \"foo/bar/baz\" would be turned into short_name \u003d \u0027baz\u0027 and folder_url \u003d \u0027job/foo/job/bar/\u0027.  Is that the correct algorithm?  Is there such a thing as a sub-folder?  If that\u0027s not what you intend, you may wish to use rsplit() and supply the restriction parameter to it, e.g.:\n\n    path_list \u003d name.rsplit(\u0027/\u0027, 1)","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":898,"context_line":"            folder_url \u003d \u0027\u0027"},{"line_number":899,"context_line":"        else:"},{"line_number":900,"context_line":"            short_name \u003d a_path[-1]"},{"line_number":901,"context_line":"            folder_url \u003d \u0027job/\u0027 + \u0027/job/\u0027.join(a_path[:-1]) + \u0027/\u0027"},{"line_number":902,"context_line":""},{"line_number":903,"context_line":"        return [folder_url, short_name]"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_8b5b1187","line":901,"in_reply_to":"fa32b979_69ab648a","updated":"2015-06-16 12:39:40.000000000","message":"I confirm what Darragh said.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"d0ca3409dbda543767e7c064236597f43e4b45ff","unresolved":false,"context_lines":[{"line_number":898,"context_line":"            folder_url \u003d \u0027\u0027"},{"line_number":899,"context_line":"        else:"},{"line_number":900,"context_line":"            short_name \u003d a_path[-1]"},{"line_number":901,"context_line":"            folder_url \u003d \u0027job/\u0027 + \u0027/job/\u0027.join(a_path[:-1]) + \u0027/\u0027"},{"line_number":902,"context_line":""},{"line_number":903,"context_line":"        return [folder_url, short_name]"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_69ab648a","line":901,"in_reply_to":"fa32b979_73b6f58b","updated":"2015-06-15 17:52:07.000000000","message":"folder plugin does indeed support sub folders since they are simply considered a job.","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"34e35d712e36e7a0497387177b60966fa0725840","unresolved":false,"context_lines":[{"line_number":900,"context_line":"            short_name \u003d a_path[-1]"},{"line_number":901,"context_line":"            folder_url \u003d \u0027job/\u0027 + \u0027/job/\u0027.join(a_path[:-1]) + \u0027/\u0027"},{"line_number":902,"context_line":""},{"line_number":903,"context_line":"        return [folder_url, short_name]"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_f3aa0519","line":903,"updated":"2015-06-15 15:34:35.000000000","message":"The idiom in Python would be to return a tuple rather than a list, e.g.:\n\n    return folder_url, short_name","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"dd5ce3d126ec878618a98bc132892c519ca16872","unresolved":false,"context_lines":[{"line_number":900,"context_line":"            short_name \u003d a_path[-1]"},{"line_number":901,"context_line":"            folder_url \u003d \u0027job/\u0027 + \u0027/job/\u0027.join(a_path[:-1]) + \u0027/\u0027"},{"line_number":902,"context_line":""},{"line_number":903,"context_line":"        return [folder_url, short_name]"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa32b979_6bd80df0","line":903,"in_reply_to":"fa32b979_f3aa0519","updated":"2015-06-16 12:39:40.000000000","message":"of course :o)","commit_id":"33885e1b42bb6e9936bb67e2a8d5d9e422563b68"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"613b2a7613aa4268cb72c28a29d6db068f43717a","unresolved":false,"context_lines":[{"line_number":532,"context_line":"        from_folder_url, from_short_name \u003d self._get_job_folder(from_name)"},{"line_number":533,"context_line":"        to_folder_url, to_short_name \u003d self._get_job_folder(to_name)"},{"line_number":534,"context_line":"        if from_folder_url !\u003d to_folder_url:"},{"line_number":535,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, source and destination folder must be the same\u0027 % (from_name, to_name))"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"        self.jenkins_open(Request("},{"line_number":538,"context_line":"            self.server + COPY_JOB % self._get_encoded_params(locals()),"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa32b979_e4e1a49b","line":535,"updated":"2015-06-16 15:35:38.000000000","message":"I\u0027d actually like to see everything wrapped to 79 columns.  I\u0027ll classify that as a femtonit (meaning I won\u0027t -1 just for that), but I\u0027d like to see python-jenkins start to conform with more pep8 (or possibly even hacking) rules…","commit_id":"1efb3af67134c5863dda09e50882db7c303f7b52"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"3c4eeaa96a406d4c61baeb263f81034796046f4f","unresolved":false,"context_lines":[{"line_number":532,"context_line":"        from_folder_url, from_short_name \u003d self._get_job_folder(from_name)"},{"line_number":533,"context_line":"        to_folder_url, to_short_name \u003d self._get_job_folder(to_name)"},{"line_number":534,"context_line":"        if from_folder_url !\u003d to_folder_url:"},{"line_number":535,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, source and destination folder must be the same\u0027 % (from_name, to_name))"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"        self.jenkins_open(Request("},{"line_number":538,"context_line":"            self.server + COPY_JOB % self._get_encoded_params(locals()),"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa32b979_d432eef1","line":535,"in_reply_to":"fa32b979_e4e1a49b","updated":"2015-06-17 09:09:50.000000000","message":"ok, I fixed my code.","commit_id":"1efb3af67134c5863dda09e50882db7c303f7b52"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"613b2a7613aa4268cb72c28a29d6db068f43717a","unresolved":false,"context_lines":[{"line_number":883,"context_line":"            raise JenkinsException(\u0027job[%s] number[%d] does not exist\u0027"},{"line_number":884,"context_line":"                                   % (name, number))"},{"line_number":885,"context_line":""},{"line_number":886,"context_line":"    def _get_job_folder(self, name):"},{"line_number":887,"context_line":"        \u0027\u0027\u0027Return the name and folder (see cloudbees plugin)."},{"line_number":888,"context_line":""},{"line_number":889,"context_line":"        This is a method to support cloudbees folder plusgin."}],"source_content_type":"text/x-python","patch_set":7,"id":"fa32b979_c7e82213","line":886,"updated":"2015-06-16 15:35:38.000000000","message":"I didn\u0027t see a unit test specifically for _get_job_folder(); I suppose it\u0027s adequately tested by the other tests, but that\u0027s sort of closer to a functional test than a unit test.  Femtonit again, but I was thinking that it would be good to have a test specifically on the multiple-folder case, e.g., does this function return the right thing for foo/bar/baz/bink/qux/quxx?  (OK, it doesn\u0027t have to be *that* long, but at least a couple of elements :)","commit_id":"1efb3af67134c5863dda09e50882db7c303f7b52"},{"author":{"_account_id":16230,"name":"Jerome Hourquebie","email":"jhourque@cisco.com","username":"Jerome"},"change_message_id":"3c4eeaa96a406d4c61baeb263f81034796046f4f","unresolved":false,"context_lines":[{"line_number":883,"context_line":"            raise JenkinsException(\u0027job[%s] number[%d] does not exist\u0027"},{"line_number":884,"context_line":"                                   % (name, number))"},{"line_number":885,"context_line":""},{"line_number":886,"context_line":"    def _get_job_folder(self, name):"},{"line_number":887,"context_line":"        \u0027\u0027\u0027Return the name and folder (see cloudbees plugin)."},{"line_number":888,"context_line":""},{"line_number":889,"context_line":"        This is a method to support cloudbees folder plusgin."}],"source_content_type":"text/x-python","patch_set":7,"id":"fa32b979_1444d647","line":886,"in_reply_to":"fa32b979_c7e82213","updated":"2015-06-17 09:09:50.000000000","message":"you are totally right, I\u0027m going to add it.","commit_id":"1efb3af67134c5863dda09e50882db7c303f7b52"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"4ce8a915da056628074a71ea788ce3945cabd737","unresolved":false,"context_lines":[{"line_number":128,"context_line":"\u003c/project\u003e\u0027\u0027\u0027"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"# empty folder"},{"line_number":131,"context_line":"FOLDER_XML \u003d \u0027\u0027\u0027\u003c?xml version\u003d\u00271.0\u0027 encoding\u003d\u0027UTF-8\u0027?\u003e"},{"line_number":132,"context_line":"\u003ccom.cloudbees.hudson.plugins.folder.Folder plugin\u003d\"cloudbees-folder@4.7\"\u003e"},{"line_number":133,"context_line":"    \u003cactions/\u003e"},{"line_number":134,"context_line":"    \u003cicon class\u003d\"com.cloudbees.hudson.plugins.folder.icons.StockFolderIcon\"/\u003e"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa32b979_2c2b3596","line":131,"updated":"2015-06-26 18:14:31.000000000","message":"maybe rename to \"EMPTY_FOLDER_XML\"? would be more consistent with the other and a little more descriptive.  \n\nIt would be good provide an example usage of this in the examples.rst file (similar to the above vars).  Also I think it should be stated explicitly somewhere that usage of folders methods requires the folders plugin, which isn\u0027t a jenkins core plugin.","commit_id":"7a062951b4ad7e671429521541cd859264cdf608"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"4ce8a915da056628074a71ea788ce3945cabd737","unresolved":false,"context_lines":[{"line_number":532,"context_line":"        from_folder_url, from_short_name \u003d self._get_job_folder(from_name)"},{"line_number":533,"context_line":"        to_folder_url, to_short_name \u003d self._get_job_folder(to_name)"},{"line_number":534,"context_line":"        if from_folder_url !\u003d to_folder_url:"},{"line_number":535,"context_line":"            raise JenkinsException(\u0027copy[%s to %s] failed, source and destination folder must be \u0027"},{"line_number":536,"context_line":"                                   \u0027the same\u0027 % (from_name, to_name))"},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"        self.jenkins_open(Request("}],"source_content_type":"text/x-python","patch_set":8,"id":"fa32b979_b2e0fefb","line":535,"updated":"2015-06-26 18:14:31.000000000","message":"Would be nice to explicitly state this limitation in the above description so it will show up in the docs.","commit_id":"7a062951b4ad7e671429521541cd859264cdf608"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"4ce8a915da056628074a71ea788ce3945cabd737","unresolved":false,"context_lines":[{"line_number":549,"context_line":"        from_folder_url, from_short_name \u003d self._get_job_folder(from_name)"},{"line_number":550,"context_line":"        to_folder_url, to_short_name \u003d self._get_job_folder(to_name)"},{"line_number":551,"context_line":"        if from_folder_url !\u003d to_folder_url:"},{"line_number":552,"context_line":"            raise JenkinsException(\u0027rename[%s to %s] failed, source and destination folder \u0027"},{"line_number":553,"context_line":"                                   \u0027must be the same\u0027 % (from_name, to_name))"},{"line_number":554,"context_line":"        self.jenkins_open(Request("},{"line_number":555,"context_line":"            self.server + RENAME_JOB % self._get_encoded_params(locals()),"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa32b979_12920af7","line":552,"updated":"2015-06-26 18:14:31.000000000","message":"same here","commit_id":"7a062951b4ad7e671429521541cd859264cdf608"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"4ce8a915da056628074a71ea788ce3945cabd737","unresolved":false,"context_lines":[{"line_number":893,"context_line":"        (ex.: \u0027folder/job\u0027)"},{"line_number":894,"context_line":""},{"line_number":895,"context_line":"        :param name: Job name, ``str``"},{"line_number":896,"context_line":"        :returns: Array [ \u0027folder path for Request\u0027, \u0027Name of job without folder path\u0027 ]"},{"line_number":897,"context_line":"        \u0027\u0027\u0027"},{"line_number":898,"context_line":""},{"line_number":899,"context_line":"        a_path \u003d name.split(\u0027/\u0027)"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa32b979_0f02e3b4","line":896,"updated":"2015-06-26 18:14:31.000000000","message":"nit: should this be described as a tuple instead of array?","commit_id":"7a062951b4ad7e671429521541cd859264cdf608"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":388,"context_line":"    def get_info(self, item\u003dNone, query\u003dNone):"},{"line_number":389,"context_line":"        \"\"\"Get information on this Master or item on Master."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_e5e4903c","line":391,"updated":"2015-06-29 18:07:53.000000000","message":"it\u0027s not limited to just jobs and views correct?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0a25a0d0e15180383fd711453ea4334794d8c1d3","unresolved":false,"context_lines":[{"line_number":388,"context_line":"    def get_info(self, item\u003dNone, query\u003dNone):"},{"line_number":389,"context_line":"        \"\"\"Get information on this Master or item on Master."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_c5d3415e","line":391,"in_reply_to":"ba3cc151_d56b6fef","updated":"2015-07-07 16:39:13.000000000","message":"That\u0027s correct, essentially anything that has a registered REST api endpoint can be queried.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"b5c22e7cabd715cef159394311e073d07029b98f","unresolved":false,"context_lines":[{"line_number":388,"context_line":"    def get_info(self, item\u003dNone, query\u003dNone):"},{"line_number":389,"context_line":"        \"\"\"Get information on this Master or item on Master."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_d56b6fef","line":391,"in_reply_to":"ba3cc151_e5e4903c","updated":"2015-07-03 10:08:15.000000000","message":"This code was taken from Darragh Bailey \u003cdaragh.bailey@gmail.com\u003e change. So I think that he is supposed to answer your questions.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":389,"context_line":"        \"\"\"Get information on this Master or item on Master."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_4541bc0a","line":392,"updated":"2015-06-29 18:07:53.000000000","message":"is there a list of items?  or at least a reference to some other documentation with an up to date list of items?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0a25a0d0e15180383fd711453ea4334794d8c1d3","unresolved":false,"context_lines":[{"line_number":389,"context_line":"        \"\"\"Get information on this Master or item on Master."},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_45917151","line":392,"in_reply_to":"ba3cc151_4541bc0a","updated":"2015-07-07 16:39:13.000000000","message":"I don\u0027t believe there is a definitive list, the documentation suggests that many parts of jenkins can be retrieved and plugins can expose additional components.\n\nhttps://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API is one source of information and it also suggests accessing https://\u003cjenkins\u003e/api for further information.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"},{"line_number":396,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_a58d2833","line":393,"updated":"2015-06-29 18:07:53.000000000","message":"what about \u0027:param query:\u0027 ?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0a25a0d0e15180383fd711453ea4334794d8c1d3","unresolved":false,"context_lines":[{"line_number":390,"context_line":""},{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"},{"line_number":396,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_859c595e","line":393,"in_reply_to":"ba3cc151_a58d2833","updated":"2015-07-07 16:39:13.000000000","message":"Probably just forgotten in my original change.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"        Example::"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_c51aac17","line":394,"updated":"2015-06-29 18:07:53.000000000","message":"I think a reference to the items would be handy here.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"1065fd7087762b9b68037a626f130b3e7ed8a0c3","unresolved":false,"context_lines":[{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"        Example::"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_c60348b7","line":394,"in_reply_to":"ba3cc151_4550915e","updated":"2015-07-07 18:08:44.000000000","message":"Yes, that would work.  How about also providing a short list of \u0027currently known items\u0027 that can be retrieved?  Or maybe just telling that they can get the list of itms by calling get_info() *without params*?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0a25a0d0e15180383fd711453ea4334794d8c1d3","unresolved":false,"context_lines":[{"line_number":391,"context_line":"        This information includes job list and view information and can be"},{"line_number":392,"context_line":"        used to retreive information on items such as job folders."},{"line_number":393,"context_line":""},{"line_number":394,"context_line":"        :param item: item to get information about on this Master"},{"line_number":395,"context_line":"        :returns: dictionary of information about Master or item, ``dict``"},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"        Example::"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_4550915e","line":394,"in_reply_to":"ba3cc151_c51aac17","updated":"2015-07-07 16:39:13.000000000","message":"Would just adding the link above to the Jenkins remote api and suggesting that the most common ones are those identified by the constants *_INFO above, but jenkins and it\u0027s plugins can expose additional internal API endpoints?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":522,"context_line":"            raise JenkinsException(\"Could not parse JSON info for server[%s]\""},{"line_number":523,"context_line":"                                   % self.server)"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def get_jobs(self, depth\u003dNone):"},{"line_number":526,"context_line":"        \"\"\"Get list of jobs running."},{"line_number":527,"context_line":""},{"line_number":528,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, and \u0027color\u0027 keys."}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_45f3fc0a","line":525,"updated":"2015-06-29 18:07:53.000000000","message":"This method has changed quite a bit so i see opportunities for additional unit test here.  Would it be possible to add some more coverage?  You can view the code coverage in \u0027python-jenkins-coverage\u0027 test result.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"b5c22e7cabd715cef159394311e073d07029b98f","unresolved":false,"context_lines":[{"line_number":522,"context_line":"            raise JenkinsException(\"Could not parse JSON info for server[%s]\""},{"line_number":523,"context_line":"                                   % self.server)"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def get_jobs(self, depth\u003dNone):"},{"line_number":526,"context_line":"        \"\"\"Get list of jobs running."},{"line_number":527,"context_line":""},{"line_number":528,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, and \u0027color\u0027 keys."}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_757b83be","line":525,"in_reply_to":"ba3cc151_45f3fc0a","updated":"2015-07-03 10:08:15.000000000","message":"same as above","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0a25a0d0e15180383fd711453ea4334794d8c1d3","unresolved":false,"context_lines":[{"line_number":522,"context_line":"            raise JenkinsException(\"Could not parse JSON info for server[%s]\""},{"line_number":523,"context_line":"                                   % self.server)"},{"line_number":524,"context_line":""},{"line_number":525,"context_line":"    def get_jobs(self, depth\u003dNone):"},{"line_number":526,"context_line":"        \"\"\"Get list of jobs running."},{"line_number":527,"context_line":""},{"line_number":528,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, and \u0027color\u0027 keys."}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_c534a1fc","line":525,"in_reply_to":"ba3cc151_757b83be","updated":"2015-07-07 16:39:13.000000000","message":"Wondering if you mean that you\u0027re expecting me to step in and add the tests?\n\nI\u0027ll certainly look to try in a few days.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":527,"context_line":""},{"line_number":528,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, and \u0027color\u0027 keys."},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"        :param depth: Number of levels to search, ``int``"},{"line_number":531,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":532,"context_line":"        \"\"\""},{"line_number":533,"context_line":"        jobs_list \u003d []"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_62f876e6","line":530,"updated":"2015-06-29 18:07:53.000000000","message":"Other methods in here use \u0027depth\u0027 for the json depth so users may get confused.  Maybe elaborate on this description with \u0027Number of folder levels\u0027? and let users know that this param only applies when using folders.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"0a25a0d0e15180383fd711453ea4334794d8c1d3","unresolved":false,"context_lines":[{"line_number":527,"context_line":""},{"line_number":528,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, and \u0027color\u0027 keys."},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"        :param depth: Number of levels to search, ``int``"},{"line_number":531,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":532,"context_line":"        \"\"\""},{"line_number":533,"context_line":"        jobs_list \u003d []"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_e506851f","line":530,"in_reply_to":"ba3cc151_62f876e6","updated":"2015-07-07 16:39:13.000000000","message":"Could switch to folder_depth?","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"1065fd7087762b9b68037a626f130b3e7ed8a0c3","unresolved":false,"context_lines":[{"line_number":527,"context_line":""},{"line_number":528,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, and \u0027color\u0027 keys."},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"        :param depth: Number of levels to search, ``int``"},{"line_number":531,"context_line":"        :returns: list of jobs, ``[ { str: str} ]``"},{"line_number":532,"context_line":"        \"\"\""},{"line_number":533,"context_line":"        jobs_list \u003d []"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_86d30038","line":530,"in_reply_to":"ba3cc151_e506851f","updated":"2015-07-07 18:08:44.000000000","message":"that sounds good to me.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"93cb6a576bae36f65715ad1a224c7b4ec0963d94","unresolved":false,"context_lines":[{"line_number":671,"context_line":"                self.server + CREATE_JOB % self._get_encoded_params(locals()),"},{"line_number":672,"context_line":"                config_xml.encode(\u0027utf-8\u0027), DEFAULT_HEADERS))"},{"line_number":673,"context_line":"        except NotFoundException:"},{"line_number":674,"context_line":"            raise JenkinsException(\u0027first create folder for job[%s]\u0027 % (name))"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        self.assert_job_exists(name, \u0027create[%s] failed\u0027)"},{"line_number":677,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_e217a6eb","line":674,"updated":"2015-06-29 18:07:53.000000000","message":"This description doesn\u0027t describe the error.  A description of the error was be nice.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"ad7591ffa041922d3a06bb22a409a7306126e860","unresolved":false,"context_lines":[{"line_number":671,"context_line":"                self.server + CREATE_JOB % self._get_encoded_params(locals()),"},{"line_number":672,"context_line":"                config_xml.encode(\u0027utf-8\u0027), DEFAULT_HEADERS))"},{"line_number":673,"context_line":"        except NotFoundException:"},{"line_number":674,"context_line":"            raise JenkinsException(\u0027first create folder for job[%s]\u0027 % (name))"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        self.assert_job_exists(name, \u0027create[%s] failed\u0027)"},{"line_number":677,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"1a4dcd0f_8fac138d","line":674,"in_reply_to":"ba3cc151_75df03d6","updated":"2015-08-06 23:48:29.000000000","message":"No, don\u0027t remove it.  i just had an issue with the message.  I would expect the message to tell me what\u0027s wrong rather than tell me what i should do.  Something like \"Cannot create job[%s] because folder for the job does not exist\" will work.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"b5c22e7cabd715cef159394311e073d07029b98f","unresolved":false,"context_lines":[{"line_number":671,"context_line":"                self.server + CREATE_JOB % self._get_encoded_params(locals()),"},{"line_number":672,"context_line":"                config_xml.encode(\u0027utf-8\u0027), DEFAULT_HEADERS))"},{"line_number":673,"context_line":"        except NotFoundException:"},{"line_number":674,"context_line":"            raise JenkinsException(\u0027first create folder for job[%s]\u0027 % (name))"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        self.assert_job_exists(name, \u0027create[%s] failed\u0027)"},{"line_number":677,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_75df03d6","line":674,"in_reply_to":"ba3cc151_e217a6eb","updated":"2015-07-03 10:08:15.000000000","message":"If this exception will occur it\u0027s mean that folder for this job does not exist. But ok I can remove this try block.","commit_id":"fee20024beb4bfab1b48ecdca04bdea3eaf17e97"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"8088d11e7830ff2cc94718fce17a3fb9954c43b2","unresolved":false,"context_lines":[{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    def _get_encoded_params(self, params):"},{"line_number":201,"context_line":"        for k, v in params.items():"},{"line_number":202,"context_line":"            if k in [\"name\", \"to_name\", \"from_name\", \"msg\", \"short_name\", \"from_short_name\","},{"line_number":203,"context_line":"                     \"to_short_name\", \"folder_url\", \"from_folder_url\", \"to_folder_url\"]:"},{"line_number":204,"context_line":"                params[k] \u003d quote(v)"},{"line_number":205,"context_line":"        return params"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba3cc151_403ddfb9","line":202,"updated":"2015-07-07 16:41:03.000000000","message":"Looks like to_name and from_name are no longer used.","commit_id":"c3d506176f075e53c07b03a4a6f1e53122f25bd2"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"14c7191f706c5e4a4cb17dbe4ed59d5f2146bab0","unresolved":false,"context_lines":[{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    def _get_encoded_params(self, params):"},{"line_number":201,"context_line":"        for k, v in params.items():"},{"line_number":202,"context_line":"            if k in [\"name\", \"to_name\", \"from_name\", \"msg\", \"short_name\", \"from_short_name\","},{"line_number":203,"context_line":"                     \"to_short_name\", \"folder_url\", \"from_folder_url\", \"to_folder_url\"]:"},{"line_number":204,"context_line":"                params[k] \u003d quote(v)"},{"line_number":205,"context_line":"        return params"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba3cc151_6e85b5ab","line":202,"in_reply_to":"ba3cc151_403ddfb9","updated":"2015-07-10 20:12:17.000000000","message":"Why do you think so? Please check copy_job.","commit_id":"c3d506176f075e53c07b03a4a6f1e53122f25bd2"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"fc88da055d985c26c7c7d5130433d135345b3bfa","unresolved":false,"context_lines":[{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    def _get_encoded_params(self, params):"},{"line_number":201,"context_line":"        for k, v in params.items():"},{"line_number":202,"context_line":"            if k in [\"name\", \"to_name\", \"from_name\", \"msg\", \"short_name\", \"from_short_name\","},{"line_number":203,"context_line":"                     \"to_short_name\", \"folder_url\", \"from_folder_url\", \"to_folder_url\"]:"},{"line_number":204,"context_line":"                params[k] \u003d quote(v)"},{"line_number":205,"context_line":"        return params"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba3cc151_378cdc7e","line":202,"in_reply_to":"ba3cc151_6e85b5ab","updated":"2015-07-10 21:05:04.000000000","message":"Because you removed them from the url format strings at thet top in favour of from_short_name and to_short_name, so the is escaping two locals that are not used as encoded params any more","commit_id":"c3d506176f075e53c07b03a4a6f1e53122f25bd2"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"f1c42cc3c47a8dfb85d39e24270cbf02c60c68e6","unresolved":false,"context_lines":[{"line_number":558,"context_line":"        jobs_list \u003d []"},{"line_number":559,"context_line":""},{"line_number":560,"context_line":"        jobs \u003d [(0, None, self.get_info(query\u003dJOBS_QUERY)[\u0027jobs\u0027])]"},{"line_number":561,"context_line":"        for _, (lvl, root, lvl_jobs) in enumerate(jobs):"},{"line_number":562,"context_line":"            if not isinstance(lvl_jobs, list):"},{"line_number":563,"context_line":"                lvl_jobs \u003d [lvl_jobs]"},{"line_number":564,"context_line":"            for job in lvl_jobs:"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_f75ffb3e","line":561,"updated":"2015-08-11 15:47:42.000000000","message":"If you\u0027re not using the index generated by enumerate(), why use it in the first place?  You could rewrite this as:\n\n    for lvl, root, lvl_jobs in jobs:","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"f480be2df5df8eb23b6aa60a5cc1dd7f1ec5ca15","unresolved":false,"context_lines":[{"line_number":558,"context_line":"        jobs_list \u003d []"},{"line_number":559,"context_line":""},{"line_number":560,"context_line":"        jobs \u003d [(0, None, self.get_info(query\u003dJOBS_QUERY)[\u0027jobs\u0027])]"},{"line_number":561,"context_line":"        for _, (lvl, root, lvl_jobs) in enumerate(jobs):"},{"line_number":562,"context_line":"            if not isinstance(lvl_jobs, list):"},{"line_number":563,"context_line":"                lvl_jobs \u003d [lvl_jobs]"},{"line_number":564,"context_line":"            for job in lvl_jobs:"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_1db16147","line":561,"in_reply_to":"1a4dcd0f_f75ffb3e","updated":"2015-08-11 17:35:58.000000000","message":"Thx","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"f1c42cc3c47a8dfb85d39e24270cbf02c60c68e6","unresolved":false,"context_lines":[{"line_number":586,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":587,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job."},{"line_number":588,"context_line":""},{"line_number":589,"context_line":"        Will raise an exception whenever the source and destination folder for this jobs won\u0027t be the same."},{"line_number":590,"context_line":""},{"line_number":591,"context_line":"        :param from_name: Name of Jenkins job to copy from, ``str``"},{"line_number":592,"context_line":"        :param to_name: Name of Jenkins job to copy to, ``str``"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_ea6952bf","line":589,"updated":"2015-08-11 15:47:42.000000000","message":"It would be nice to word-wrap docstrings where possible…\n\nIs there any way to copy or move a job between folders with this Jenkins plugin?  If so, that might be a good addition.  (Perhaps in a follow-up patch…)","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"f480be2df5df8eb23b6aa60a5cc1dd7f1ec5ca15","unresolved":false,"context_lines":[{"line_number":586,"context_line":"    def copy_job(self, from_name, to_name):"},{"line_number":587,"context_line":"        \u0027\u0027\u0027Copy a Jenkins job."},{"line_number":588,"context_line":""},{"line_number":589,"context_line":"        Will raise an exception whenever the source and destination folder for this jobs won\u0027t be the same."},{"line_number":590,"context_line":""},{"line_number":591,"context_line":"        :param from_name: Name of Jenkins job to copy from, ``str``"},{"line_number":592,"context_line":"        :param to_name: Name of Jenkins job to copy to, ``str``"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_5d54c9fc","line":589,"in_reply_to":"1a4dcd0f_ea6952bf","updated":"2015-08-11 17:35:58.000000000","message":"From Jenkins UI you can move job between folders. Agree that this will be nice feature.","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"f1c42cc3c47a8dfb85d39e24270cbf02c60c68e6","unresolved":false,"context_lines":[{"line_number":978,"context_line":"    def _get_job_folder(self, name):"},{"line_number":979,"context_line":"        \u0027\u0027\u0027Return the name and folder (see cloudbees plugin)."},{"line_number":980,"context_line":""},{"line_number":981,"context_line":"        This is a method to support cloudbees folder plusgin."},{"line_number":982,"context_line":"        Url request should take into account folder path when the job name specify it"},{"line_number":983,"context_line":"        (ex.: \u0027folder/job\u0027)"},{"line_number":984,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_8a3d2e91","line":981,"updated":"2015-08-11 15:47:42.000000000","message":"s/plusgin/plugin/ (femtonit)","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"f480be2df5df8eb23b6aa60a5cc1dd7f1ec5ca15","unresolved":false,"context_lines":[{"line_number":978,"context_line":"    def _get_job_folder(self, name):"},{"line_number":979,"context_line":"        \u0027\u0027\u0027Return the name and folder (see cloudbees plugin)."},{"line_number":980,"context_line":""},{"line_number":981,"context_line":"        This is a method to support cloudbees folder plusgin."},{"line_number":982,"context_line":"        Url request should take into account folder path when the job name specify it"},{"line_number":983,"context_line":"        (ex.: \u0027folder/job\u0027)"},{"line_number":984,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_9966e64f","line":981,"in_reply_to":"1a4dcd0f_8a3d2e91","updated":"2015-08-11 17:35:58.000000000","message":":)","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"f1c42cc3c47a8dfb85d39e24270cbf02c60c68e6","unresolved":false,"context_lines":[{"line_number":987,"context_line":"        \u0027\u0027\u0027"},{"line_number":988,"context_line":""},{"line_number":989,"context_line":"        a_path \u003d name.split(\u0027/\u0027)"},{"line_number":990,"context_line":"        if len(a_path) \u003d\u003d 1:"},{"line_number":991,"context_line":"            short_name \u003d name"},{"line_number":992,"context_line":"            folder_url \u003d \u0027\u0027"},{"line_number":993,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_4a288633","line":990,"updated":"2015-08-11 15:47:42.000000000","message":"You could simplify the logic here a little bit:\n\n    a_path \u003d name.split(\u0027/\u0027)\n    short_name \u003d a_path[-1]\n    folder_url \u003d ((\u0027job/\u0027 + \u0027/job/\u0027.join(a_path[:-1]) + \u0027/\u0027)\n                  if len(a_path) \u003e 1 else \u0027\u0027)","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"f480be2df5df8eb23b6aa60a5cc1dd7f1ec5ca15","unresolved":false,"context_lines":[{"line_number":987,"context_line":"        \u0027\u0027\u0027"},{"line_number":988,"context_line":""},{"line_number":989,"context_line":"        a_path \u003d name.split(\u0027/\u0027)"},{"line_number":990,"context_line":"        if len(a_path) \u003d\u003d 1:"},{"line_number":991,"context_line":"            short_name \u003d name"},{"line_number":992,"context_line":"            folder_url \u003d \u0027\u0027"},{"line_number":993,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":15,"id":"1a4dcd0f_198896c4","line":990,"in_reply_to":"1a4dcd0f_4a288633","updated":"2015-08-11 17:35:58.000000000","message":"Thx","commit_id":"ec1636e3b50489fa1ac091d36b85d4fb4e072422"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"4b6494b8e825f8b19bf3630f1fb66cb050dd7baf","unresolved":false,"context_lines":[{"line_number":592,"context_line":"        :param from_name: Name of Jenkins job to copy from, ``str``"},{"line_number":593,"context_line":"        :param to_name: Name of Jenkins job to copy to, ``str``"},{"line_number":594,"context_line":"        :throws: :class:`JenkinsException` whenever the source and destination"},{"line_number":595,"context_line":"        folder are not the same"},{"line_number":596,"context_line":"        \u0027\u0027\u0027"},{"line_number":597,"context_line":"        from_folder_url, from_short_name \u003d self._get_job_folder(from_name)"},{"line_number":598,"context_line":"        to_folder_url, to_short_name \u003d self._get_job_folder(to_name)"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a4dcd0f_a30610cc","line":595,"updated":"2015-08-11 18:15:07.000000000","message":"I think your docs failure probably comes from this line; indent it a bit so rst can tell it\u0027s a continuation of the preceding :throws: clause…","commit_id":"d02808f4ea118509b8db65f48b52c37f4e39659f"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"4b6494b8e825f8b19bf3630f1fb66cb050dd7baf","unresolved":false,"context_lines":[{"line_number":614,"context_line":"        :param from_name: Name of Jenkins job to rename, ``str``"},{"line_number":615,"context_line":"        :param to_name: New Jenkins job name, ``str``"},{"line_number":616,"context_line":"        :throws: :class:`JenkinsException` whenever the source and destination"},{"line_number":617,"context_line":"        folder are not the same"},{"line_number":618,"context_line":"        \u0027\u0027\u0027"},{"line_number":619,"context_line":"        from_folder_url, from_short_name \u003d self._get_job_folder(from_name)"},{"line_number":620,"context_line":"        to_folder_url, to_short_name \u003d self._get_job_folder(to_name)"}],"source_content_type":"text/x-python","patch_set":16,"id":"1a4dcd0f_43f86cc3","line":617,"updated":"2015-08-11 18:15:07.000000000","message":"ditto here…","commit_id":"d02808f4ea118509b8db65f48b52c37f4e39659f"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"ff1adec2f2f7c6db3a38fb6683faf0c9fca811a4","unresolved":false,"context_lines":[{"line_number":392,"context_line":"            \u003e\u003e\u003e queue_info \u003d server.get_queue_info()"},{"line_number":393,"context_line":"            \u003e\u003e\u003e print(queue_info[0])"},{"line_number":394,"context_line":"            {u\u0027task\u0027: {u\u0027url\u0027: u\u0027http://your_url/job/my_job/\u0027, u\u0027color\u0027: u\u0027aborted_anime\u0027,"},{"line_number":395,"context_line":"            u\u0027name\u0027: u\u0027my_job\u0027}, u\u0027stuck\u0027: False, u\u0027actions\u0027: [{u\u0027causes\u0027: [{u\u0027shortDescription\u0027: u\u0027Started by timer\u0027}]}], u\u0027buildable\u0027: False, u\u0027params\u0027: u\u0027\u0027, u\u0027buildableStartMilliseconds\u0027: 1315087293316, u\u0027why\u0027: u\u0027Build #2,532 is already in progress (ETA:10 min)\u0027, u\u0027blocked\u0027: True}"},{"line_number":396,"context_line":"        \u0027\u0027\u0027"},{"line_number":397,"context_line":"        return json.loads(self.jenkins_open("},{"line_number":398,"context_line":"            Request(self.server + Q_INFO)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a4dcd0f_17413aa9","line":395,"updated":"2015-08-11 19:41:09.000000000","message":"*raises eyebrow* not that I wouldn\u0027t mind these being word-wrapped, but why this change?","commit_id":"9f630fce90b0ab6a2149c90d4c668ce0f77c3232"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"740eaf328ae9a4f7eb5bef26e1303efe40f658dd","unresolved":false,"context_lines":[{"line_number":392,"context_line":"            \u003e\u003e\u003e queue_info \u003d server.get_queue_info()"},{"line_number":393,"context_line":"            \u003e\u003e\u003e print(queue_info[0])"},{"line_number":394,"context_line":"            {u\u0027task\u0027: {u\u0027url\u0027: u\u0027http://your_url/job/my_job/\u0027, u\u0027color\u0027: u\u0027aborted_anime\u0027,"},{"line_number":395,"context_line":"            u\u0027name\u0027: u\u0027my_job\u0027}, u\u0027stuck\u0027: False, u\u0027actions\u0027: [{u\u0027causes\u0027: [{u\u0027shortDescription\u0027: u\u0027Started by timer\u0027}]}], u\u0027buildable\u0027: False, u\u0027params\u0027: u\u0027\u0027, u\u0027buildableStartMilliseconds\u0027: 1315087293316, u\u0027why\u0027: u\u0027Build #2,532 is already in progress (ETA:10 min)\u0027, u\u0027blocked\u0027: True}"},{"line_number":396,"context_line":"        \u0027\u0027\u0027"},{"line_number":397,"context_line":"        return json.loads(self.jenkins_open("},{"line_number":398,"context_line":"            Request(self.server + Q_INFO)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a4dcd0f_0674ad33","line":395,"in_reply_to":"1a4dcd0f_06490d60","updated":"2015-08-11 20:36:54.000000000","message":"Jenkins said that gate-python-jenkins-python34 failed. That\u0027s why I created new git review.","commit_id":"9f630fce90b0ab6a2149c90d4c668ce0f77c3232"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"70f47346d806393c7496a0c426ec21f38dff16d1","unresolved":false,"context_lines":[{"line_number":392,"context_line":"            \u003e\u003e\u003e queue_info \u003d server.get_queue_info()"},{"line_number":393,"context_line":"            \u003e\u003e\u003e print(queue_info[0])"},{"line_number":394,"context_line":"            {u\u0027task\u0027: {u\u0027url\u0027: u\u0027http://your_url/job/my_job/\u0027, u\u0027color\u0027: u\u0027aborted_anime\u0027,"},{"line_number":395,"context_line":"            u\u0027name\u0027: u\u0027my_job\u0027}, u\u0027stuck\u0027: False, u\u0027actions\u0027: [{u\u0027causes\u0027: [{u\u0027shortDescription\u0027: u\u0027Started by timer\u0027}]}], u\u0027buildable\u0027: False, u\u0027params\u0027: u\u0027\u0027, u\u0027buildableStartMilliseconds\u0027: 1315087293316, u\u0027why\u0027: u\u0027Build #2,532 is already in progress (ETA:10 min)\u0027, u\u0027blocked\u0027: True}"},{"line_number":396,"context_line":"        \u0027\u0027\u0027"},{"line_number":397,"context_line":"        return json.loads(self.jenkins_open("},{"line_number":398,"context_line":"            Request(self.server + Q_INFO)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a4dcd0f_c92c9604","line":395,"in_reply_to":"1a4dcd0f_0674ad33","updated":"2015-08-11 21:02:41.000000000","message":"And that\u0027s why I posted a comment with the text \"recheck\"; that\u0027s a command to the gate to re-run the check tests, including the python34 test :)","commit_id":"9f630fce90b0ab6a2149c90d4c668ce0f77c3232"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"9c065e35c9174764dfedddabb9c3ad8d9028df15","unresolved":false,"context_lines":[{"line_number":392,"context_line":"            \u003e\u003e\u003e queue_info \u003d server.get_queue_info()"},{"line_number":393,"context_line":"            \u003e\u003e\u003e print(queue_info[0])"},{"line_number":394,"context_line":"            {u\u0027task\u0027: {u\u0027url\u0027: u\u0027http://your_url/job/my_job/\u0027, u\u0027color\u0027: u\u0027aborted_anime\u0027,"},{"line_number":395,"context_line":"            u\u0027name\u0027: u\u0027my_job\u0027}, u\u0027stuck\u0027: False, u\u0027actions\u0027: [{u\u0027causes\u0027: [{u\u0027shortDescription\u0027: u\u0027Started by timer\u0027}]}], u\u0027buildable\u0027: False, u\u0027params\u0027: u\u0027\u0027, u\u0027buildableStartMilliseconds\u0027: 1315087293316, u\u0027why\u0027: u\u0027Build #2,532 is already in progress (ETA:10 min)\u0027, u\u0027blocked\u0027: True}"},{"line_number":396,"context_line":"        \u0027\u0027\u0027"},{"line_number":397,"context_line":"        return json.loads(self.jenkins_open("},{"line_number":398,"context_line":"            Request(self.server + Q_INFO)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a4dcd0f_06490d60","line":395,"in_reply_to":"1a4dcd0f_12b14847","updated":"2015-08-11 20:19:40.000000000","message":"Why did you need to do a \"git review\" without doing any changes?","commit_id":"9f630fce90b0ab6a2149c90d4c668ce0f77c3232"},{"author":{"_account_id":16099,"name":"Dawid Malinowski","email":"dawidmalina@gmail.com","username":"dawidmalina"},"change_message_id":"bcd82b20e3582c8fe41910094bedf502f97e48ed","unresolved":false,"context_lines":[{"line_number":392,"context_line":"            \u003e\u003e\u003e queue_info \u003d server.get_queue_info()"},{"line_number":393,"context_line":"            \u003e\u003e\u003e print(queue_info[0])"},{"line_number":394,"context_line":"            {u\u0027task\u0027: {u\u0027url\u0027: u\u0027http://your_url/job/my_job/\u0027, u\u0027color\u0027: u\u0027aborted_anime\u0027,"},{"line_number":395,"context_line":"            u\u0027name\u0027: u\u0027my_job\u0027}, u\u0027stuck\u0027: False, u\u0027actions\u0027: [{u\u0027causes\u0027: [{u\u0027shortDescription\u0027: u\u0027Started by timer\u0027}]}], u\u0027buildable\u0027: False, u\u0027params\u0027: u\u0027\u0027, u\u0027buildableStartMilliseconds\u0027: 1315087293316, u\u0027why\u0027: u\u0027Build #2,532 is already in progress (ETA:10 min)\u0027, u\u0027blocked\u0027: True}"},{"line_number":396,"context_line":"        \u0027\u0027\u0027"},{"line_number":397,"context_line":"        return json.loads(self.jenkins_open("},{"line_number":398,"context_line":"            Request(self.server + Q_INFO)"}],"source_content_type":"text/x-python","patch_set":18,"id":"1a4dcd0f_12b14847","line":395,"in_reply_to":"1a4dcd0f_17413aa9","updated":"2015-08-11 19:56:26.000000000","message":"Sorry but I couldn\u0027t do git review without doing any change.","commit_id":"9f630fce90b0ab6a2149c90d4c668ce0f77c3232"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"2127ffc74986a84dc625b40204e2c076fc16daa6","unresolved":false,"context_lines":[{"line_number":576,"context_line":"                        job[u\u0027fullname\u0027] \u003d \u0027/\u0027.join("},{"line_number":577,"context_line":"                            [p for p in root.split(\u0027/\u0027)"},{"line_number":578,"context_line":"                             if p and p !\u003d \u0027job\u0027] +"},{"line_number":579,"context_line":"                            [job[u\u0027name\u0027]])"},{"line_number":580,"context_line":"                    jobs_list.append(job)"},{"line_number":581,"context_line":"        return jobs_list"},{"line_number":582,"context_line":""}],"source_content_type":"text/x-python","patch_set":21,"id":"1a4dcd0f_f3f438f2","line":579,"updated":"2015-08-14 18:14:40.000000000","message":"Fixed a bug here were fullname was not added to the root level jobs.\n\nThis also opens a question whether this is really the best way to do this, or if we should also wrap the jobs returned with a light weight object that by default behaves like a dict for all the normal properties, but also provides a method to retrieve the fullname as provided by this API instead of making it appear like that is being provided by Jenkins?","commit_id":"92cf00b4982a73f48f58006c34808cb60e08d5fa"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":278,"context_line":""},{"line_number":279,"context_line":"        :param pattern: regex pattern, ``str``"},{"line_number":280,"context_line":"        :param depth: JSON depth, ``int``"},{"line_number":281,"context_line":"        :param folder_depth: folder level depth to search ``int``"},{"line_number":282,"context_line":"        :returns: List of jobs info, ``list``"},{"line_number":283,"context_line":"        \u0027\u0027\u0027"},{"line_number":284,"context_line":"        result \u003d []"}],"source_content_type":"text/x-python","patch_set":23,"id":"fa1b9901_1fbaf923","line":281,"updated":"2015-08-18 22:29:26.000000000","message":"I\u0027m wondering what would be the most appropriate way to tell users that the \u0027folder_depth\u0027 param here and in all other methods only applies when using the Folder plugin?","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":560,"context_line":"                                   % self.server)"},{"line_number":561,"context_line":""},{"line_number":562,"context_line":"    def get_jobs(self, folder_depth\u003d0):"},{"line_number":563,"context_line":"        \"\"\"Get list of jobs running."},{"line_number":564,"context_line":""},{"line_number":565,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, \u0027color\u0027 and \u0027fullname\u0027"},{"line_number":566,"context_line":"        keys."}],"source_content_type":"text/x-python","patch_set":23,"id":"fa1b9901_ff50650c","line":563,"updated":"2015-08-18 22:29:26.000000000","message":"nit: probably would be good to update this description to just \"Get the list of jobs\"","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":573,"context_line":"        return self.get_all_jobs(folder_depth\u003dfolder_depth)"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":"    def get_all_jobs(self, folder_depth\u003dNone):"},{"line_number":576,"context_line":"        \"\"\"Get list of all jobs running upto the given folder depth."},{"line_number":577,"context_line":""},{"line_number":578,"context_line":"        Each job is a dictionary with \u0027name\u0027, \u0027url\u0027, \u0027color\u0027 and \u0027fullname\u0027"},{"line_number":579,"context_line":"        keys."}],"source_content_type":"text/x-python","patch_set":23,"id":"fa1b9901_53ee30b5","line":576,"updated":"2015-08-18 22:29:26.000000000","message":"nit: upto/up to","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                    \"    })\")"},{"line_number":746,"context_line":""},{"line_number":747,"context_line":"        \u0027\u0027\u0027"},{"line_number":748,"context_line":"        return len(self.get_all_jobs())"},{"line_number":749,"context_line":""},{"line_number":750,"context_line":"    def assert_job_exists(self, name,"},{"line_number":751,"context_line":"                          exception_message\u003d\u0027job[%s] does not exist\u0027):"}],"source_content_type":"text/x-python","patch_set":23,"id":"fa1b9901_f34d0473","line":748,"updated":"2015-08-18 22:29:26.000000000","message":"hmm.  Wondering if this should just be replaced with the more performant run_script method since this method always gets all jobs.  Maybe having this method was just a bad idea altogether since it\u0027s just a call to get_all_jobs().  In any case, probably can be dealt with in a follow on change.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"3f10101c03e7a5953b37eb9bd55277680180747f","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                    \"    })\")"},{"line_number":746,"context_line":""},{"line_number":747,"context_line":"        \u0027\u0027\u0027"},{"line_number":748,"context_line":"        return len(self.get_all_jobs())"},{"line_number":749,"context_line":""},{"line_number":750,"context_line":"    def assert_job_exists(self, name,"},{"line_number":751,"context_line":"                          exception_message\u003d\u0027job[%s] does not exist\u0027):"}],"source_content_type":"text/x-python","patch_set":23,"id":"fa1b9901_2b93f850","line":748,"in_reply_to":"fa1b9901_f34d0473","updated":"2015-08-19 00:06:48.000000000","message":"I\u0027m not sure if you always have access to the script console. I recall that you can query significant amounts of information about jobs without being granted access to the console, so it probably need to be easily configurable.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"}],"test-requirements.txt":[{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"b467fa446210c516625790397010bd7489ef84ab","unresolved":false,"context_lines":[{"line_number":4,"context_line":"mock\u003c1.1"},{"line_number":5,"context_line":"unittest2"},{"line_number":6,"context_line":"python-subunit"},{"line_number":7,"context_line":"sphinx\u003e\u003d1.2,\u003c1.3.0"},{"line_number":8,"context_line":"testrepository"},{"line_number":9,"context_line":"testtools"}],"source_content_type":"text/plain","patch_set":23,"id":"fa1b9901_0ee97080","line":7,"updated":"2015-08-18 22:29:26.000000000","message":"How is this update related to this change?  pbr doesn\u0027t work with sphinx 1.3 yet, it will require change Iba92628263e20efca84  also this single update is done in change Ibb838b9d7fe086f784","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"3f10101c03e7a5953b37eb9bd55277680180747f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"mock\u003c1.1"},{"line_number":5,"context_line":"unittest2"},{"line_number":6,"context_line":"python-subunit"},{"line_number":7,"context_line":"sphinx\u003e\u003d1.2,\u003c1.3.0"},{"line_number":8,"context_line":"testrepository"},{"line_number":9,"context_line":"testtools"}],"source_content_type":"text/plain","patch_set":23,"id":"fa1b9901_6bc4905e","line":7,"in_reply_to":"fa1b9901_0ee97080","updated":"2015-08-19 00:06:48.000000000","message":"needed for note support, also limits sphinx to 1.2.* versions so as not to require 1.3 just yet.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"},{"author":{"_account_id":6987,"name":"Khai Do","email":"zaro0508@gmail.com","username":"zaro0508"},"change_message_id":"42165927053ebc4cfc4d664d4f7cde33046cb722","unresolved":false,"context_lines":[{"line_number":4,"context_line":"mock\u003c1.1"},{"line_number":5,"context_line":"unittest2"},{"line_number":6,"context_line":"python-subunit"},{"line_number":7,"context_line":"sphinx\u003e\u003d1.2,\u003c1.3.0"},{"line_number":8,"context_line":"testrepository"},{"line_number":9,"context_line":"testtools"}],"source_content_type":"text/plain","patch_set":23,"id":"fa1b9901_5144b319","line":7,"in_reply_to":"fa1b9901_6bc4905e","updated":"2015-08-19 17:14:00.000000000","message":"ahh, ok.  looks good then.","commit_id":"2a3b8d010bc54d8f49ad4ec5763e0bcfde03c013"}],"tests/test_jenkins.py":[{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"2127ffc74986a84dc625b40204e2c076fc16daa6","unresolved":false,"context_lines":[{"line_number":26,"context_line":"        get_jobs_response \u003d []"},{"line_number":27,"context_line":"        for job in jobs:"},{"line_number":28,"context_line":"            job_json \u003d {"},{"line_number":29,"context_line":"                u\u0027url\u0027: u\u0027%s/job/%s\u0027 % (server_url.rstrip(\u0027/\u0027), job[\u0027name\u0027]),"},{"line_number":30,"context_line":"                u\u0027name\u0027: job[\u0027name\u0027],"},{"line_number":31,"context_line":"                u\u0027color\u0027: u\u0027blue\u0027"},{"line_number":32,"context_line":"            }"}],"source_content_type":"text/x-python","patch_set":21,"id":"1a4dcd0f_337620a4","line":29,"updated":"2015-08-14 18:14:40.000000000","message":"Probably don\u0027t need to ensure that the url\u0027s being returned fully match what jenkins would return, because presumably jenkins will do the right thing there and testing it has no benefit. So need for the test code here to flesh out the correct urls based on the folder.","commit_id":"92cf00b4982a73f48f58006c34808cb60e08d5fa"},{"author":{"_account_id":1054,"name":"Darragh Bailey","email":"daragh.bailey@gmail.com","username":"dbailey-k"},"change_message_id":"2127ffc74986a84dc625b40204e2c076fc16daa6","unresolved":false,"context_lines":[{"line_number":1121,"context_line":"        got_fullnames \u003d [job[u\"fullname\"] for job in jobs_info]"},{"line_number":1122,"context_line":"        expected_fullnames \u003d [u\"my_job1\", u\"my_job2\","},{"line_number":1123,"context_line":"                              u\"my_folder1/my_job3\", u\"my_folder1/my_job4\"]"},{"line_number":1124,"context_line":"        self.assertEqual(expected_fullnames, got_fullnames)"},{"line_number":1125,"context_line":""},{"line_number":1126,"context_line":"    @patch.object(jenkins.Jenkins, \u0027jenkins_open\u0027)"},{"line_number":1127,"context_line":"    def test_get_info(self, jenkins_mock):"}],"source_content_type":"text/x-python","patch_set":21,"id":"1a4dcd0f_9367f4e9","line":1124,"updated":"2015-08-14 18:14:40.000000000","message":"I need to add a few more tests on top of this to exercise the different aspects of the recursive folder searching.","commit_id":"92cf00b4982a73f48f58006c34808cb60e08d5fa"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"af4addb9736647060b445ea3dc26bfda70d18896","unresolved":false,"context_lines":[{"line_number":1473,"context_line":"            j.copy_job(u\u0027a Folder/TestJob\u0027, u\u0027another Folder/TestJob_2\u0027)"},{"line_number":1474,"context_line":"        self.assertEqual("},{"line_number":1475,"context_line":"            str(context_manager.exception),"},{"line_number":1476,"context_line":"            \u0027copy[a Folder/TestJob to another Folder/TestJob_2] failed, source and destination folder must be the same\u0027)"},{"line_number":1477,"context_line":"        self._check_requests(jenkins_mock.call_args_list)"},{"line_number":1478,"context_line":""},{"line_number":1479,"context_line":"    @patch.object(jenkins.Jenkins, \u0027jenkins_open\u0027)"}],"source_content_type":"text/x-python","patch_set":21,"id":"1a4dcd0f_73990879","line":1476,"updated":"2015-08-14 18:17:26.000000000","message":"Would be nice to word-wrap the long strings…","commit_id":"92cf00b4982a73f48f58006c34808cb60e08d5fa"}]}
