Skip to content

fix: remove django-linear-migrations#14571

Merged
mtesauro merged 1 commit intoDefectDojo:bugfixfrom
valentijnscholten:remove-linear-migrations
Mar 27, 2026
Merged

fix: remove django-linear-migrations#14571
mtesauro merged 1 commit intoDefectDojo:bugfixfrom
valentijnscholten:remove-linear-migrations

Conversation

@valentijnscholten
Copy link
Copy Markdown
Member

@valentijnscholten valentijnscholten commented Mar 22, 2026

Removes django-linear-migrations from the project. The tool caused startup failures when DD_DEBUG=True but the package was not installed (e.g. production images). Too much hassle with low gains. Any non-linear migration will be caught on startup by django anyway during unit tests.

@github-actions github-actions bot added New Migration Adding a new migration file. Take care when merging. settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR labels Mar 22, 2026
@valentijnscholten valentijnscholten added affects_pro PRs that affect Pro and need a coordinated release/merge moment. and removed New Migration Adding a new migration file. Take care when merging. labels Mar 22, 2026
Removes django-linear-migrations from requirements-dev.txt, INSTALLED_APPS,
and deletes max_migration.txt. The tool caused startup failures when the
package was not installed but DD_DEBUG=True.
@valentijnscholten valentijnscholten force-pushed the remove-linear-migrations branch from 4e0f1a5 to 2dad4f7 Compare March 22, 2026 08:22
@valentijnscholten valentijnscholten added this to the 2.56.4 milestone Mar 22, 2026
@github-actions github-actions bot added the New Migration Adding a new migration file. Take care when merging. label Mar 22, 2026
@Maffooch Maffooch requested review from Jino-T and blakeaowens March 25, 2026 21:26
Copy link
Copy Markdown
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mtesauro mtesauro merged commit f0f0f7f into DefectDojo:bugfix Mar 27, 2026
284 of 285 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects_pro PRs that affect Pro and need a coordinated release/merge moment. New Migration Adding a new migration file. Take care when merging. settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing django_linear_migrations package when using CSRF environment variables

5 participants