JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
80 stars 47 forks source link

Migration tasks #830

Closed sergej-koscejev closed 2 months ago

sergej-koscejev commented 2 months ago
sergej-koscejev commented 2 months ago

After this PR is propagated to master, we could modify the TeamCity build to verify that everything stays migrated, similar to how it's done in mps-qa.

sergej-koscejev commented 2 months ago

I'll need to discuss this with JetBrains. I can't ignore a single model for the purposes of migrations. I could ignore the whole module with tests but that would mean that other migrations (such as those from base language or the test language) also would not apply to it.

Alternatively, I could ignore just one specific migration on one specific module but I'm not sure it's a good solution. Somebody could still migrate the code by accident by re-running migrations from MPS.

sergej-koscejev commented 2 months ago

JetBrains don't have any solution for this. Looks like the best approach would be to modify the migration so that it ignores migration tests. What do you think @alexanderpann?

alexanderpann commented 2 months ago

Fine by me.

sergej-koscejev commented 2 months ago

Yes, I ran ./gradlew build migrate rerunMigrations.