-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Review Team: Output for WP.org form #441
Comments
Related to this https://meta.trac.wordpress.org/ticket/7556#ticket |
We have asked Meta and @dd32 has replied us with the necessary information needed for them:
|
Additional requirements:
I'll also add, the above edit: clarified the modify database request. |
Thanks, we will take care of that. |
@joemcgill how do you suggest best approach from requests asked by Dion? |
I think the best approach would be to extend the WP CLI command that is already included in the plugin. Currently, the plugin only supports running tests against installed plugins, so we'll need to make it possible to run checks against a plugin folder in an arbitrary path. Given that requirement, @dd32 is correct that only Static Checks will be able to be run in this context, which I expect will be fine. The CLI Command accepts a |
I've created #478 to address the arbitrary location requirement. |
Ok, I've made changes. What do you think about this PR? |
@davidperezgar I'm not sure what changes you're referring to, can you provide more details of what you want feedback on in the comments of the PR you're referencing? |
Error codes aren't needed, we just need a solid way of saying "This submission should be rejected, because X". If that's parsing the JSON / CLI output, that's fine, it just needs to be stated what it is. If |
Hmm, then may be we don't need to introduce new
Severity Related #479 |
Hello,
Yes, actually in this branch is does. |
We're waiting some feedback from meta team. CC: @dd32 |
Hello, I've removed pass as is useless. We can discuss what's your opinion. |
#478 is useful, however it appears that all checks assume the folder name from which the plugin is loaded into is the plugin slug. This causes warnings when the folder doesn't match the path, for example, an uploaded ZIP might extract into Action needed: WordPress.org needs a way to tell Plugin Check what the plugin slug is. A dedicated format as in #480 isn't exactly useful IMHO, and I've expressed that previously:
Ideally we'd not run checks that duplicate WordPress.org checks here.. but as long as it duplicates the plugin directory exactly it's not much of an issue. That however brings up the next point:
That's being loaded by plugin-check even on WordPress.org, that shouldn't be happening. The WordPress.org file should take precedence. I guess the plugin-check auto-loader is simply being hit first. I'm going to go as far as to say; Please don't use that composer package at all. It's not namespaced, that's a non-starter for deployment on WordPress.org |
Thanks @dd32 . We'll take care all of it... |
We can handle that in #328 👍 Use the existing class from WordPress.org if running on dotorg, else use a prefixed/namespaced version. |
We need a way to output a simplified version of the table of checks, by passing a couple of params so we can hook into the WP.org output with an error.
No false positives are permitted here, we will only output things that are required to pass. Which will be handled on #440 by @barrykooij.
More details to come on this.
The text was updated successfully, but these errors were encountered: