WordPress.org

Making WordPress.org

Opened 5 weeks ago

Last modified 4 weeks ago

#4393 new task

Import block metadata into plugin directory on commit

Reported by: tellyworth Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

Currently, block metadata (as per #4345) is imported irregularly by a script. It should happen on commit, as per the other plugin metadata.

Attachments (1)

4393.diff (3.5 KB) - added by tellyworth 5 weeks ago.
Add importer code

Download all attachments as: .zip

Change History (2)

@tellyworth
5 weeks ago

Add importer code

#1 @dd32
4 weeks ago

@tellyworth 4393.diff looks good to me, I see nothing that stands out as potentially being a problem.

Seems like it's also future-proof enough in that it'll be reasonably easy to expand upon it later, for example storing more data.

I suspect we'll probably have to find another way to store the data for search purposes though? but storing data like this and breaking it out into whatever fields (or taxonomies) needed later for that seems simple enough.

Note: See TracTickets for help on using tickets.