Reimplement way in which migrations are handled
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by tracing where migrations are run when Manage first starts. Then map the proposed command-line and System UI entry points, including migration status and timestamps, and determine how each migration should create a proper revision. Done means migrations are no longer automatic and can be listed, run deliberately, and recorded correctly.
Written by the indexing model from the issue text.
Description
Currently, migrations are run when Manage is first started. That is undesirable, as it doesn't give any control on if and when that are run. It also often results in issues with backward-incompatibility, where a new Manage-release will change the database causing a roll-back to become impossible.
A second issue is that database migrations are not recorded properly. The changes are made in the database, but not recorded in a revision, so they magically appear in whatever the last "real" modification of the entity was. That is most confusing.
So I would like the following:
- migrations should not be run automatically
- they could be run either from the command line by a TPM. or from a new tab onder System in the ui.
- in both cases, the interface should be able to list all migrations and indicate which ones have been run and when
- each migration should record the changes in a proper revision
- Dominant language
- Java
- Stars
- 7
- Forks
- 13
- Avg merge
- 21h 27m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/OpenConext-manage
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
OpenConext/OpenConext-manage#756 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
OpenConext/OpenConext-manage#659 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 3-5 days Newbie friendliness 32/100
OpenConext/OpenConext-manage#773 ·
Maintainers usually reply within 1 day
-
Replace Shib-SP by OIDC-connectionPossibly taken @oharsta claimed this 2 days ago. Open
OpenConext/OpenConext-manage#772 · 1 assignee ·
Maintainers usually reply within 1 day
-
Dedupe collections in IdPMay be free again @baszoetekouw claimed this 28 days ago, and no pull request is open. Open
OpenConext/OpenConext-manage#762 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in OpenConext/OpenConext-manage
Similar issues
-
0. Needs triage enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
davidfercas/opendcanard#34 ·
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
erkamyaman/rust-anything#702 ·
Maintainers usually reply within 1 day
-
beginner build dependencies difficulty: easy good first issue hacktoberfest help wanted size/S testing up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 94/100
-
Update CHANGELOG.mdOpen
Difficulty 1/5 Under an hour Newbie friendliness 84/100
OpenConext/OpenConext-oidcng#373 ·