Release policy follow-ups: upgrade notices, rollback and breaking data changes

Open
#1,896 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Active
Tech stack
mongodb

Research direction

This is an open policy question, not a code change, and the payload names no files or tests. Start by reading the release and support policy from #1870 and the deployment docs it refers to. Done means maintainers have decided, or explicitly deferred, the three questions on upgrade notices, rollback, and breaking stored-data changes.

Written by the indexing model from the issue text.

Description

Area: Infrastructure Area: Outreach Discussion Needs Decision Priority: Medium

Follow-up to #1870. These are the questions the release and support policy left open, so the policy itself can land without them.

Open questions

  1. Upgrade notices in each release. Should every release carry a short notice for sysadmins saying whether it needs config changes or database changes, what to test, and how urgent it is (security, recommended, optional)? If so, is it written by hand at release time or generated from commit types and BREAKING CHANGE: footers? This also covers how a data-integrity fix states which versions were affected and what to check again, such as re-running an export.
  2. Rollback. Is downgrading supported? If the answer is "restore a backup", the deployment docs need a backup step before every upgrade.
  3. Breaking stored-data changes. The api uses MongoDB with no migrations, so a stored-data break in a new major has no defined way to reach existing databases: a migration at boot or a manual step in the upgrade notes. Deferred until the first such change is proposed.
Dominant language
TypeScript
Stars
119
Forks
19
Avg merge
1d 18h
Merged PRs (30d)
61

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DouglasNeuroInformatics/OpenDataCapture

All issues in DouglasNeuroInformatics/OpenDataCapture

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.