utilities/contrib/make_sponsors.rb loads the event data file as:
YAML.load_file("data/events/#{cityname}.yml")
That flat layout has not existed since utilities/data-move.sh migrated event data to data/events/<year>/<city>/main.yml. The script cannot work as written.
It also differs from add_sponsors.sh in its output: it writes name: <slug> (the id) rather than the display name, and leaves the values unquoted.
Options: update it to the current path and output format, or remove it — add_sponsors.sh covers the same ground and utilities/README.md presents this only as "another option".
Found while documenting the repo for AI coding assistants.
utilities/contrib/make_sponsors.rbloads the event data file as:That flat layout has not existed since
utilities/data-move.shmigrated event data todata/events/<year>/<city>/main.yml. The script cannot work as written.It also differs from
add_sponsors.shin its output: it writesname: <slug>(the id) rather than the display name, and leaves the values unquoted.Options: update it to the current path and output format, or remove it —
add_sponsors.shcovers the same ground andutilities/README.mdpresents this only as "another option".Found while documenting the repo for AI coding assistants.