d61d98e567
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 |
||
---|---|---|
.. | ||
source | ||
Makefile |