Open pixelzoom opened 5 months ago
Running reportMedia after grunt modulify sounds reasonable to me, but I want to also note reportMedia
also runs in the precommit hooks which is closer to the "when the image is added" phase. So I don't feel too strongly.
Ok. So when I went to actually work on this, I actually ended up not agreeing with @jonathanolson here. I was thinking about prototyping assets, and how it could be annoying to have to have the license correct BEFORE even being able to test the sim. I'm really happy to be outvoted here, but perhaps it is enough that there is an error when running the command.
@jonathanolson what do you think?
Also, I wasn't clear if your recommendation was to integrate report media logic into Modulify so that only the assets with licenses are modulified. Personally I think that is suave but overkill and likely a fair bit of work. It's just as easy to all or nothing it. I think people want to do the right thing, they just need the reminder.
Noted over in https://github.com/phetsims/chipper/issues/1411#issuecomment-1847533479 ...
So... Should
grunt modulify
be running reportMedia? Assigning to the authors of modulify.js.