zuul/doc
Ian Wienand d61d98e567 Add _projects to convert project list to dictionary
It would be much easier for job authors to directly access projects
via their canonical name, e.g.

 {{ zuul.projects['project'].src_dir }}

Currently they have to iterate the existing list, try to match the
project name and pull out the src_dir, which is all fairly ugly in
ansible/jinja.

Filters were proposed ( I6f3d0d8f8171cf654a4cf7a356ba72c16e260288),
but discussions indicated it would be better to change the interface.

This adds _projects as the dictionary view.  We can

 1. translate existing callers to the dictionary view _projects
    (and test)
 2. convert projects == _projects
 3. translate existing callers back to projects
 4. remove _projects

Needed-By: Id9a7c137ca5bed25d81087201091157c8401576a
Needed-By: I430277369f9ecb2ecc0a31f795c72bba83bcecff
Change-Id: I4476b9d4915d107e29b91229287865bff0ada305
2017-10-19 15:55:16 +11:00
..
source Add _projects to convert project list to dictionary 2017-10-19 15:55:16 +11:00
Makefile sphinx is now stricter 2013-01-15 18:35:53 +00:00