Skip to content

[BUG] utilities/contrib/make_sponsors.rb reads the pre-migration data path #16154

Description

@mattstratton

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions