)]}'
{"pbr/packaging.py":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"a286e0a3aff5d31428d5cd24ef2ad6862346f92e","unresolved":false,"context_lines":[{"line_number":685,"context_line":""},{"line_number":686,"context_line":"        def _sphinx_tree(self):"},{"line_number":687,"context_line":"            source_dir \u003d self._get_source_dir()"},{"line_number":688,"context_line":"            dist_name \u003d self.distribution.get_name()"},{"line_number":689,"context_line":"            package_dir \u003d os.path.abspath(os.path.join(\u0027.\u0027, dist_name))"},{"line_number":690,"context_line":""},{"line_number":691,"context_line":"            # NOTE(dstanek): maybe this should be configurable in case a"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F9S9M%3D","line":688,"updated":"2013-12-12 22:34:16.000000000","message":"Can we always rely on dist_name corresponding to the dir with the code contents? In particular thinking of the python-*clients. I think their dist names are python-*client, but the source dir is *client.","commit_id":"756c65c6504a98ae5a6725848f99fd97bd4934af"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"ddec991d05af0163779dee318a4414277bc325fd","unresolved":false,"context_lines":[{"line_number":689,"context_line":"            package_dir \u003d os.path.abspath(os.path.join(\u0027.\u0027, dist_name))"},{"line_number":690,"context_line":""},{"line_number":691,"context_line":"            # NOTE(dstanek): maybe this should be configurable in case a"},{"line_number":692,"context_line":"            # project is using a non-standard package name?"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"            log.info(\"[pbr] Running sphinx.apidoc on %s\", package_dir)"},{"line_number":695,"context_line":"            apidoc.main([\u0027apidoc\u0027, package_dir, \u0027-f\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F9SZ4%3D","line":692,"updated":"2013-12-13 00:56:17.000000000","message":"There is a dict in the setup parameters which has the path to all the packages being shipped - you should be able to query that via the python API here, and do it once per package.","commit_id":"756c65c6504a98ae5a6725848f99fd97bd4934af"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"33108cde2ff13e5e107ca09d9f38d156adca7ee6","unresolved":false,"context_lines":[{"line_number":689,"context_line":"            package_dir \u003d os.path.abspath(os.path.join(\u0027.\u0027, dist_name))"},{"line_number":690,"context_line":""},{"line_number":691,"context_line":"            # NOTE(dstanek): maybe this should be configurable in case a"},{"line_number":692,"context_line":"            # project is using a non-standard package name?"},{"line_number":693,"context_line":""},{"line_number":694,"context_line":"            log.info(\"[pbr] Running sphinx.apidoc on %s\", package_dir)"},{"line_number":695,"context_line":"            apidoc.main([\u0027apidoc\u0027, package_dir, \u0027-f\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F9O64%3D","line":692,"in_reply_to":"AAAATn%2F9SZ4%3D","updated":"2013-12-13 17:49:38.000000000","message":"Not exactly true.  Running apidoc.main will output a RST for each module, but it also outputs a modules.rst containing the tree index.  I don\u0027t know of a way to have it combine the output of multiple runs.\n\nThe alternative would be to create source/api/X for each package, but I think that is overkill in the general case.  Do we have projects that ship more than one top level package?","commit_id":"756c65c6504a98ae5a6725848f99fd97bd4934af"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"ddec991d05af0163779dee318a4414277bc325fd","unresolved":false,"context_lines":[{"line_number":693,"context_line":""},{"line_number":694,"context_line":"            log.info(\"[pbr] Running sphinx.apidoc on %s\", package_dir)"},{"line_number":695,"context_line":"            apidoc.main([\u0027apidoc\u0027, package_dir, \u0027-f\u0027,"},{"line_number":696,"context_line":"                             \u0027-H\u0027, \u0027%s Modules\u0027 % string.capwords(dist_name),"},{"line_number":697,"context_line":"                             \u0027-o\u0027, source_dir])"},{"line_number":698,"context_line":""},{"line_number":699,"context_line":"        def _sphinx_run(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F9SZ8%3D","line":696,"updated":"2013-12-13 00:56:17.000000000","message":"I\u0027d rather we don\u0027t capwords the module name - it\u0027s fundamentally broken.\n\nConsider:\nstring.capwords(\"SQLAlchemy\")\n -\u003e Sqlalchemy","commit_id":"756c65c6504a98ae5a6725848f99fd97bd4934af"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"a8d323244c7e74cb6ea96ed0d4ace7dd81da8f81","unresolved":false,"context_lines":[{"line_number":693,"context_line":""},{"line_number":694,"context_line":"            log.info(\"[pbr] Running sphinx.apidoc on %s\", package_dir)"},{"line_number":695,"context_line":"            apidoc.main([\u0027apidoc\u0027, package_dir, \u0027-f\u0027,"},{"line_number":696,"context_line":"                             \u0027-H\u0027, \u0027%s Modules\u0027 % string.capwords(dist_name),"},{"line_number":697,"context_line":"                             \u0027-o\u0027, source_dir])"},{"line_number":698,"context_line":""},{"line_number":699,"context_line":"        def _sphinx_run(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUH%2F%2BMuw%3D","line":696,"in_reply_to":"AAAATn%2F9O6w%3D","updated":"2014-01-29 05:44:09.000000000","message":"Ok, I get having defaults... but this is a bad one :)","commit_id":"756c65c6504a98ae5a6725848f99fd97bd4934af"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"33108cde2ff13e5e107ca09d9f38d156adca7ee6","unresolved":false,"context_lines":[{"line_number":693,"context_line":""},{"line_number":694,"context_line":"            log.info(\"[pbr] Running sphinx.apidoc on %s\", package_dir)"},{"line_number":695,"context_line":"            apidoc.main([\u0027apidoc\u0027, package_dir, \u0027-f\u0027,"},{"line_number":696,"context_line":"                             \u0027-H\u0027, \u0027%s Modules\u0027 % string.capwords(dist_name),"},{"line_number":697,"context_line":"                             \u0027-o\u0027, source_dir])"},{"line_number":698,"context_line":""},{"line_number":699,"context_line":"        def _sphinx_run(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F9O6w%3D","line":696,"in_reply_to":"AAAATn%2F9SZ8%3D","updated":"2013-12-13 17:49:38.000000000","message":"This is here for a default.  Clark and I talked about making this stuff configurable yesterday morning.  I just haven\u0027t gotten around to it.","commit_id":"756c65c6504a98ae5a6725848f99fd97bd4934af"}]}
