summaryrefslogtreecommitdiff
path: root/.prettierignore
AgeCommit message (Collapse)AuthorFilesLines
13 daysLet OEM schemas be formatted by prettierEd Tanous1-1/+0
For OpenBMC owned schemas, let prettier handle the formatting for us, given that OpenBMC owns them. Change-Id: If9558dae8a34fed72b926c2dd95fcff887c8119c Signed-off-by: Ed Tanous <ed@tanous.net>
13 daysMove existing schemas into foldersEd Tanous1-1/+2
Reorganize the existing schemas into folders under redfish core. The existing schema system has some problems: 1. It's hard to add new schemas 2. We have to rerun the script any time we want to change what schemas we use. 3. Adding schemas optionally takes effort In an effort to combat this, this patchset moves all the existing schemas into folders that represent their namespace names dmtf/csdl represents the CSDL that dmtf publishes oem/openbmc represents the CSDL that OpenBMC publishes In theory, this means that in the future we can relax OEM_SCHEMAS.md, and allow folks to possibly implement their own schemas in a way that doesn't have to effect all other systems. This also has the advantage of not requiring changes to update_schemas.py when we want to add, remove, or modify what version of a schema we use. "current" schemas are just symlinks, so they can be updated using git, and not necessarily have merge conflicts with one another. Tested: Redfish service validator passes. Change-Id: I6d4a130bba4cb874ef00a06ed579cc67f53dc7ae Signed-off-by: Ed Tanous <ed@tanous.net>
2022-12-07format: reformat with latest openbmc-build-scriptsPatrick Williams1-0/+1
Reformat the repository using the latest from openbmc-build-scripts. Add the `static/redfish` directory to be ignored by prettier since these files come from elsewhere and having the ability to do a direct diff is handy. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I74464d6f97047b4888a591e0d8a4f5ca970ac69e