Skip to content

Include metafacture-fix #577

Closed
Closed
@dr0i

Description

@dr0i

Merge metafacture-fix repository to ease maintenance and support burden as well as simplify development and use. See metafacture/metafacture-fix#298 for previous discussion.

Preconditions:

Course of action:

  • Fetch old repository into temporary branch (without tags, --no-tags).
  • Merge temporary branch into integration branch (with history, --allow-unrelated-histories).
  • Combine common files (README.md, build.gradle, etc.), preserve current subprojects (metafix*) and namespace (org.metafacture.metafix).
  • Integrate into metafacture-runner.
  • Verify working state (esp. w.r.t. dependencies) for both old and new subprojects (unit tests, integration tests, distribution; branch: 577-merge-metafacture-fix).
  • Open pull request to merge. Merge metafacture-fix. #586

Post-migration steps:

Cleanup:

  • Remove metafix-runner (already done during merge).
  • Clean up .gitignore file (remove obsolete patterns, structure metafacture-fix patterns). 402ee3c
  • Update Checkstyle config:
    • Switch to newer tool version (toolVersion). a6b3d14
    • Enable checks for test files (checkstyleTest.enabled). 01a7351
    • Disallow static, non-final variables (StaticVariableName). 1a5e003
    • Enforce Javadoc comments for methods (MissingJavadocMethod). 2f57d06
  • Find a way to run metafix integration tests only when necessary (would otherwise slow down all workflows, including pull request checks). This doesn't seem feasible; it's impossible to determine an integration test's up-to-dateness. Instead, they have been changed to run directly from the distribution instead of via Gradle (2661ab8), which reduces the test runtime by about 40-50 %, GitHub Actions runtime by about 30 %. Another option would be to let them run in parallel; but this would be considerably more complicated.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions