GemTalk / Rowan

a new project/package manager for Smalltalk that supports FileTree and Tonel repositories, and is independent of Monticello and Metacello
MIT License
14 stars 7 forks source link

Create a solo script to facilitate validating the rowan directory tree contents for a project #850

Open rjsargent opened 2 years ago

rjsargent commented 2 years ago

Correct syntax would be verified simply by loading the .stone files. Correct semantics should be checked. i.e. are the keys the correct names? Are all the ones that should be present actually so? Verify that the things that the files say should be there are actually there. i.e. Directories all exist. If components lists "Core", is there a Core.ston? If package X is cited, is there such a package in the source repository with a corresponding package.st file holding the correct name? Is a platform-specific condition well-formed? Warning for unrecognized platform identifiers?

dalehenrich commented 2 years ago

I'm pretty sure that Rowan is pretty thorough about validating the keys and values of the various fields in a metadata STON file. The number one error is that the hand-crafted .ston file is in an incorrect format with extra or missing ',', unbalanced '{}' or '[]'' or string delimiters ...