Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E ensembl-test
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ensembl-gh-mirror
  • ensembl-test
  • Merge requests
  • !42

patch_test_databases.pl: add an option for restricting the patching to specific DB types

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Marek Szuba requested to merge feature/testdbpatcher_select_types into master Nov 06, 2019
  • Overview 2
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: mkszuba

Description

Extend patch_test_databases.pl so that it is possible to specify, from the command line, which database types (e.g. compara, core, funcgen etc.) to patch.

Use case

The current ensembl-rest release policy stipulates that it is up to individual teams to submit PRs patching their respective test databases yet the relevant script was only able to indiscriminately patch all test-DB types present (with the exception of the hard-coded blacklist consisting of "hive" and "web", which types however are not relevant to ensembl-rest). This can be worked around by selective inclusion of files into Git commits but a new command-line flag controlling this has been requested.

See also: ENSCORESW-3259

Benefits

Will make life easier for teams producing test-database patches for ensembl-rest, along with saving some CPU time which would otherwise be wasted on generating to-be-ignored patches.

Possible Drawbacks

None.

Testing

Have you added/modified unit tests to test the changes?

No.

If so, do the tests pass/fail?

N/A

Have you run the entire test suite and no regression was detected?

Yes, no regression detected,

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/testdbpatcher_select_types