Skip to content

About

Wiki for Squirrels

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Squirrelbase

Squirrelbase is a wiki. Visitors read public spaces without an account. A signed-in person writes pages in Markdown or rich text. Private spaces are limited to invited accounts. Group spaces are limited to members of selected groups.

Sign-in is an email or a username plus a password, or Discord. Discord is only a way to sign in. Groups are lists of Squirrelbase accounts.

Status

The wiki application is in this repository. Copy .env.example to .env, point DATABASE_URL at PostgreSQL, then run the database migration and npm run dev.

Document What it covers
specs/001-wiki-app/spec.md What people can see and do
specs/001-wiki-app/plan.md SvelteKit, PostgreSQL, and the project layout
specs/001-wiki-app/tasks.md Implementation tasks
specs/001-wiki-app/quickstart.md How to check the wiki once it runs

Local database

Local testing uses a PostgreSQL container managed by Podman. Production is not required to use Podman.

Releases

Every pull request merged into main is released. The release workflow runs the tests, then publishes a GitHub release. Releases run one at a time, in merge order.

A label on the pull request picks the version bump:

Label Effect
release:major v0.1.8 becomes v1.0.0
release:minor v0.1.8 becomes v0.2.0
release:patch v0.1.8 becomes v0.1.9, and so does a pull request with no release label
release:none Merge without publishing a release

The first release is v0.1.0. A release:major label on that first pull request publishes v1.0.0. A check on each pull request fails when it has more than one of these labels, and the check says what merging it will release.

A release is published from a merged pull request, or from a manual run of the Release workflow. Open Actions, choose Release, and run the workflow. The manual run chooses the bump.

To create the labels once:

gh label create release:major --color B60205 --description "Breaking change: bump the major version"
gh label create release:minor --color FBCA04 --description "New feature: bump the minor version"
gh label create release:patch --color 0E8A16 --description "Fix: bump the patch version (the default)"
gh label create release:none  --color CCCCCC --description "Merge without making a release"

License

Squirrelbase is licensed under the Mozilla Public License 2.0.

About

Wiki for Squirrels

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages