-
Notifications
You must be signed in to change notification settings - Fork 208
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
Add a new gulp task to validate the manifest for store publishing #108
Comments
Shall I pick it up? |
yes, as it appears that validation for store is more strict than for enterprise. having the option would be useful. how can we maintain the two rulesets easily though? |
The idea that I had was to keep the existing |
Adding @patbuergin and @Dealmaster13 from Microsoft to the thread. Looking at the current Office Store publishing guidelines published at https://msdn.microsoft.com/en-us/library/office/jj220035.aspx I came up with the following list of checks based on the manifest: 4.12.1. Add-ins for Word using manifest schema v1.1 and Office.js v1.1 must support Word Online. Do you guys think it would be sufficient if we checked for these items or would we need to do more than that to help developers publish their add-ins in the Office Store? |
Most importantly, we should check the following:
I think we can further help developers by pointing them to the validation guidelines whenever gulp finishes successfully, as there are several content-based policies to consider as well. |
IMHO anything that can be programmatically checked that is a requirement or would cause a rejection from being accepted in the Office Store should be in this validation task validate-forstore The validate-xml should just validate for well-formed XML & validate against the published XSD |
@patbuergin these are great suggestions! @andrewconnell if we'd like to keep the validate-xml task limited to only validating XML against XSD then we would need another task to do the checks for the App Catalog such as the one on icon URL that we already have now.
|
A thought… what’s the reason for validating the XML against the XSD if there are additional requirements for addin catalog & store? If you don’t meet those two bars, then it’s worthless because you can’t use it… right? |
That's correct. We could as well change it to a function that we can call from both validation tasks rather than keeping it as a separate task. Is that the direction that you were thinking? |
I no micromanage… you smart cookie so if you’re taking it, I let you implement how you best see fit :) |
👍 :) |
Add a new gulp task in the generated gulpfile.js to validate the manifest for all information required to publish the add-in in the Office Store.
The text was updated successfully, but these errors were encountered: