0
2
lexicons: retire social.grain.privateGallery
Openchadtmiller.com added 1 commit
Approved
This retires the social.grain.privateGallery lexicon. It deletes the file from lexicons/ and next/lexicons/ and adds the NSID to RETIRED in harness/lexicons.mjs. It also drops the rm of that file from the lex script and changes "private gallery" to "members-only gallery" in the pool description in both copies. A search of the head commit finds no other mention of privateGallery, so nothing else in the repo still refers to it. The pool description edit is identical in both copies. I found nothing that needs to change. I didn't run the harness check myself and am relying on your note that it passes.
Approved
1 approval
All checks have passed
7 passed, 1 skipped
What changes
social.grain.privateGalleryis retired. The space type of the old pages' private galleries (a gallery its author shared with people they chose) is deleted fromlexicons/and fromnext/'s copy.harness/lexicons.mjsnames it inRETIREDwith why, so the check lets it go. Once this is on main,publish-lexiconsdeletes its published schema record, as it does for anything main no longer has. Thelexscript no longer leaves it out of the web's types, since it's gone.The pool's description says members-only.
social.grain.group.pooldescribed what it keeps out of public repos as "a private gallery or photo". It now says "a members-only gallery or photo", the word the group's page uses, so "private" names nothing in Grain's schemas.Why
next/ never had private galleries. Nothing in grain-serve,
web/ornext/reads it, writes it or asks for a scope of it (REGISTEREDinlogin.rsdoesn't name it), and grain-serve's index droppedspace_invitelong ago (V12). A group's members-only galleries are its pool, a different space type. Keeping a published schema for a feature nobody can use made "private" mean two things.How it was checked
node harness/lexicons.mjspasses against main: "as the guide asks, and only grown since 24f490e8".next/lexicons/social/grainmatcheslexicons/social/grain(diff -r). The rest is left to the checks.Shortcomings
HUD bundles its own copies of Grain's lexicons (
apps/lexicons/social/grain/privateGallery.json,unspecced/getPrivateGallery.json,unspecced/listPrivateGalleries.json, and the same undercrates/hud-core/src/testdata/grain). Those are in HUD's repo and untouched here. next/'s copy overrides them, so they're harmless, but they go in a HUD change.Records any account wrote in a private gallery's space stay in their authors' space repos, read by nothing.