[wp-meta] [Making WordPress.org] #5207: Improve heuristics for detecting block assets

Making WordPress.org noreply at wordpress.org
Wed May 20 00:21:25 UTC 2020

#5207: Improve heuristics for detecting block assets
 Reporter:  tellyworth        |       Owner:  coreymckrill
     Type:  enhancement       |      Status:  assigned
 Priority:  high              |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  needs-patch       |

Comment (by coreymckrill):

 With the above patch, which addresses the problem noted by @ryelle, the
 paths used to find files and the paths stored in postmeta will now include
 `tags/` if the stable tag is a version number instead of `trunk`.

 Running this on a couple of known block plugins, we get new results:


 This now shows files from `dist` instead of `src`, and includes `/tags` in
 the file paths.


 This didn't have any block assets shown before, but now has

 We should probably still add some additional heuristics here, but this is
 a good first step.

Ticket URL: <https://meta.trac.wordpress.org/ticket/5207#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list