)]}'
{"doc/source/development_guidelines.rst":[{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"36a7db0d9277ec57e45cf59c7ea171b50467846f","unresolved":false,"context_lines":[{"line_number":71,"context_line":"``SWIFT_TEST_IN_MEMORY_OBJ`` to a true value."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"When using the \u0027in-process test\u0027 mode, the sample ``proxy-server.conf`` and"},{"line_number":74,"context_line":"``swift.conf`` files are copied from the ``etc/`` directory in the source tree,"},{"line_number":75,"context_line":"with some options being modified to suit in process testing. The source"},{"line_number":76,"context_line":"directory for these config files may optionally be specified by setting the"},{"line_number":77,"context_line":"environment variable::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a80dd14_c34edc37","line":74,"updated":"2015-03-19 10:02:37.000000000","message":"Nitpicking: actually ``proxy-server.conf-sample`` and ``swift.conf-sample`` are copied from the etc dir. Might be misleading if one  creates a ``proxy-server.conf`` with local modifications in the etc/ dir, but actually the file with the -sample suffix is used. How about this:\n\n When using the \u0027in-process test\u0027 mode the source directory for these config files may optionally be specified by setting the environment variable::\n\n     SWIFT_TEST_IN_PROCESS_CONF_DIR\u003d\u003ccustom_conf_source_dir\u003e\n\n If set, any config file found in ``\u003ccustom_conf_source_dir\u003e`` will be preferred over the defaults in ``etc/``.\n If a required file is not found, the sample ``proxy-server.conf-sample`` and ``swift.conf-sample`` files are copied from the ``etc/`` directory in the source tree, with some options being modified to suit in process testing.","commit_id":"c6208a3d6b36ab9d65e9b0956b3192eb70034bb4"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"e192b52e7b02327bdb01ca8eb7bad253fbab7ad8","unresolved":false,"context_lines":[{"line_number":71,"context_line":"``SWIFT_TEST_IN_MEMORY_OBJ`` to a true value."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"When using the \u0027in-process test\u0027 mode, the sample ``proxy-server.conf`` and"},{"line_number":74,"context_line":"``swift.conf`` files are copied from the ``etc/`` directory in the source tree,"},{"line_number":75,"context_line":"with some options being modified to suit in process testing. The source"},{"line_number":76,"context_line":"directory for these config files may optionally be specified by setting the"},{"line_number":77,"context_line":"environment variable::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a80dd14_1c13e501","line":74,"in_reply_to":"9a80dd14_c34edc37","updated":"2015-03-19 13:51:09.000000000","message":"Re-wrote this section in next version","commit_id":"c6208a3d6b36ab9d65e9b0956b3192eb70034bb4"},{"author":{"_account_id":9625,"name":"Thiago da Silva","email":"thiagodasilva@gmail.com","username":"thiago"},"change_message_id":"844a37ec446d440908caaf8e936111664e3fd862","unresolved":false,"context_lines":[{"line_number":90,"context_line":"file must exist in ``\u003ccustom_conf_source_dir\u003e`` (if specified) or ``etc/``. The"},{"line_number":91,"context_line":"test setup will set the specified policy to be the default and use its ring"},{"line_number":92,"context_line":"file properties for constructing the test object ring. This allows in-process"},{"line_number":93,"context_line":"testing to be run against various policy types and ring files."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"For example, this command would run the in-process mode functional tests"},{"line_number":96,"context_line":"using config files found in ``$HOME/my_tests`` and policy \u0027silver\u0027::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a80dd14_8aeae70c","line":93,"updated":"2015-03-20 19:16:09.000000000","message":"when testing other policies the most important piece here is really the ring. Should we provide some sample on how to build the ring or at least point the reader to doc/saio/bin/remakerings?","commit_id":"7e64c811fe9ecae738474239a9f73e3c6f95ddea"}],"test/functional/__init__.py":[{"author":{"_account_id":6968,"name":"Christian Schwede","email":"cschwede@nvidia.com","username":"cschwede"},"change_message_id":"36a7db0d9277ec57e45cf59c7ea171b50467846f","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        conf_file_name +\u003d \u0027-sample\u0027"},{"line_number":169,"context_line":"        dflt_src_dir \u003d os.path.normpath(os.path.join(os.path.abspath(__file__),"},{"line_number":170,"context_line":"                                        os.pardir, os.pardir, os.pardir,"},{"line_number":171,"context_line":"                                        \u0027etc\u0027))"},{"line_number":172,"context_line":"        conf_file_path \u003d os.path.join(dflt_src_dir, conf_file_name)"},{"line_number":173,"context_line":"        if not os.path.exists(conf_file_path):"},{"line_number":174,"context_line":"            conf_file_path \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a80dd14_9eb51734","line":171,"updated":"2015-03-19 10:02:37.000000000","message":"You could define ``dflt_src_dir`` in line 160, and set conf_file_path to dflt_src_dir if it is None. Doing this would try to use \"swift.conf\" first from the default directory, and fallback to \"swift.conf-sample\" if not found (and then my comment from the doc update would be needless).","commit_id":"c6208a3d6b36ab9d65e9b0956b3192eb70034bb4"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"e192b52e7b02327bdb01ca8eb7bad253fbab7ad8","unresolved":false,"context_lines":[{"line_number":168,"context_line":"        conf_file_name +\u003d \u0027-sample\u0027"},{"line_number":169,"context_line":"        dflt_src_dir \u003d os.path.normpath(os.path.join(os.path.abspath(__file__),"},{"line_number":170,"context_line":"                                        os.pardir, os.pardir, os.pardir,"},{"line_number":171,"context_line":"                                        \u0027etc\u0027))"},{"line_number":172,"context_line":"        conf_file_path \u003d os.path.join(dflt_src_dir, conf_file_name)"},{"line_number":173,"context_line":"        if not os.path.exists(conf_file_path):"},{"line_number":174,"context_line":"            conf_file_path \u003d None"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a80dd14_1cea05d8","line":171,"in_reply_to":"9a80dd14_9eb51734","updated":"2015-03-19 13:51:09.000000000","message":"Good idea, thanks.","commit_id":"c6208a3d6b36ab9d65e9b0956b3192eb70034bb4"}]}
