Skip to content

chore: publish index.json on its own branch and simplify adding a plugin - #5

Merged
dignajar merged 1 commit into
mainfrom
chore/index-branch-simpler-contributing
Nov 29, 2026
Merged

dignajar merged 1 commit into
mainfrom
chore/index-branch-simpler-contributing

Conversation

@dignajar

Copy link
Copy Markdown
Member

Problem

  • index.json sits at the root of main, so authors think they have to edit it.
  • Adding a plugin reads as a git workflow, with a separate template and a release workflow that look mandatory.

Changes

  • build.yml builds the index and publishes it to an index branch that holds only index.json. Bludit will download it from https://raw.githubusercontent.com/bludit/plugins/index/index.json.
  • The root index.json is removed and ignored. healthcheck.yml reads the published copy.
  • CONTRIBUTING opens with three browser steps: create plugins/<id>.json from the GitHub UI, paste plugins/jodit.json, propose the change. The rules and the selling section move under Details.
  • templates/plugin.json is removed, and jodit.json becomes the example.
  • release.yml moves to .github/templates/ and is documented as optional. Any zip attached to a release works.
  • A pull request template lists the three things that trip people up.

Notes

  • Merging this runs build.yml (its own path changed), which creates the index branch on the first run.
  • The core change to PLUGINS_DIRECTORY_URL goes in a separate PR in bludit/bludit. Merge it after this one.

- index.json is generated on merge and published alone on the index branch,
  main only holds the submissions and the machinery
- the bot no longer commits to main, so main can be protected later
- CONTRIBUTING starts with three browser steps, copy plugins/jodit.json, open
  the pull request, read the bot comment
- drop templates/plugin.json, jodit.json is the example
- release.yml is optional, moved to .github/templates
- pull request template with the three things that trip people up
@dignajar
dignajar merged commit 0b12993 into main Nov 29, 2026
1 check passed
@dignajar
dignajar deleted the chore/index-branch-simpler-contributing branch November 29, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant