Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function to return first or last migration for arches version #11760

Open
jacobtylerwalls opened this issue Jan 31, 2025 · 0 comments
Open

Function to return first or last migration for arches version #11760

jacobtylerwalls opened this issue Jan 31, 2025 · 0 comments
Labels
Audience: Developer The audience for the issue is a software developer Type: Enhancement

Comments

@jacobtylerwalls
Copy link
Member

When writing a migration in an arches applications, it is necessary to specify a lower bound for the dependency on the core arches migrations, and sometimes even an upper bound (via run_before) if there were breaking changes in core.

Rather than hunting for this information by checking the git history, it would be more convenient to be able to do:

    dependencies = [
        last_migration_for_arches_version("7.6"),
    ]
    run_before = [
        first_migration_for_arches_version("8.0"),
    ]
@jacobtylerwalls jacobtylerwalls added Audience: Developer The audience for the issue is a software developer Type: Enhancement labels Jan 31, 2025
@chiatt chiatt added this to pipeline Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Audience: Developer The audience for the issue is a software developer Type: Enhancement
Projects
Status: No status
Development

No branches or pull requests

1 participant