[=opinionated=]
hi all!
yes. it aught be a repo.
it aught have branches or subdirs for maturity
the pr process aught be well defined
the PB web ui /api aught pull from the repo to get a list.
the repo should be configurable within pb (so one could host their own should they wish.
there aught be a way to identify pattern features ie 2d/3d/inputs/ (multi-pb-enabled pattern? reactive/environmentally responsive pattern?)
pattern authors
version authors
pattern flavors… ie how dynamic is it, across what axis? what kind of movement it facilitates, etc
applicability for a given use case (similar to tags below, could be tags, don’t really care, so long as there’s a consistent way of identifying them)
upstream pattern tags / badges (ie in-repo)
local tags/badges (ie on pbdevice)
some metric of complexity/difficulty ie: slope of max framerate as pixels increase
some measurement/indication of current best practices applied so one knows if this is a messy hack or an exemplar to replicate
ideally there’d also be automation to ensure all patterns load run exit properly etc so that auto downloading is possible.
users should be able to retain local/current version(s) of someSpecificPattern if they want, while updating the rest…… this could mean a ui knob to specify how to handle pattern updates (automatically overwrite, selective retention, selective updating, auto update (patch, minor, major) versions, manual updating/OCD mode) or something else
some mechanism of collecting rating might be neat
some mechanism of quantifying #s of pb’s using this version of this pattern…
( if every pattern is in its own directory, then the name-ver-git_hash_for_pattern_dir would prolly work as a unique-but-consistent id seed …. could hash that and prefix programmatically to avoid complications arising from weird names or hash collisions from other versions/files…… this would potentially give us a stable pattern identifier to uniquely identify this released version of this released pattern )
¯_(ツ)_/¯. i did say i had opinions i didn’t say they were any good tho