)]}'
{"tests/run.yml":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"a49cf5a20742db9654ef1ffbcbdb58a8aa07c236","unresolved":false,"context_lines":[{"line_number":13,"context_line":"  vars:"},{"line_number":14,"context_line":"    kolla_inventory_path: \"/etc/kolla/inventory\""},{"line_number":15,"context_line":"    logs_dir: \"/tmp/logs\""},{"line_number":16,"context_line":"    kolla_ansible_relative_src_dir: \"{{ zuul.projects | selectattr(\u0027short_name\u0027, \u0027equalto\u0027, \u0027kolla-ansible\u0027) | map(attribute\u003d\u0027src_dir\u0027) | list | first }}\""},{"line_number":17,"context_line":"    kolla_ansible_src_dir: \"{{ ansible_env.PWD }}/{{ kolla_ansible_relative_src_dir }}\""},{"line_number":18,"context_line":"    kolla_ansible_local_src_dir: \"{{ zuul.executor.work_root }}/{{ kolla_ansible_relative_src_dir }}\""},{"line_number":19,"context_line":"    need_build_image: false"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bfb3d3c7_9677423b","line":16,"updated":"2019-05-22 10:27:45.000000000","message":"zuul.projects is a dict. You can use zuul.projects.values()","commit_id":"6c62bb81dc23ea538d474c66b74fef2abae5c607"},{"author":{"_account_id":29948,"name":"Jakub Bielecki","email":"jakub.bielecki@codilime.com","username":"kubit"},"change_message_id":"a84cc1bd1f1a0b249b2e5f586be2c74be26b7778","unresolved":false,"context_lines":[{"line_number":13,"context_line":"  vars:"},{"line_number":14,"context_line":"    kolla_inventory_path: \"/etc/kolla/inventory\""},{"line_number":15,"context_line":"    logs_dir: \"/tmp/logs\""},{"line_number":16,"context_line":"    kolla_ansible_relative_src_dir: \"{{ zuul.projects | selectattr(\u0027short_name\u0027, \u0027equalto\u0027, \u0027kolla-ansible\u0027) | map(attribute\u003d\u0027src_dir\u0027) | list | first }}\""},{"line_number":17,"context_line":"    kolla_ansible_src_dir: \"{{ ansible_env.PWD }}/{{ kolla_ansible_relative_src_dir }}\""},{"line_number":18,"context_line":"    kolla_ansible_local_src_dir: \"{{ zuul.executor.work_root }}/{{ kolla_ansible_relative_src_dir }}\""},{"line_number":19,"context_line":"    need_build_image: false"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"bfb3d3c7_9cc9a379","line":16,"in_reply_to":"bfb3d3c7_9677423b","updated":"2019-05-22 12:07:24.000000000","message":"(TIL about zuul\u0027s history.) I used the usual idiom from my another project, where I use a very early v3. Surprise surprise, `zuul.projects` is a list there.\n\nFixed. I used json_query() - it\u0027s shorter, but let me know if readable.\n\nWhat was wrong in practice: buggy for all external zuuls. With a changeset on gerrit.example.com I cannot use `Depends-On: \u003cid from within a project hosted on opendev.org\u003e` because it will fail: no such directory gerrit.example.com/openstack. Zuul properly puts code into directory opendev.org/openstack.\n\nNo bug if `Depends-On` keeps everything within opendev.org.","commit_id":"6c62bb81dc23ea538d474c66b74fef2abae5c607"}]}
