{"id":28354190,"url":"https://github.com/morphiaorg/morphia-upgrade-testing","last_synced_at":"2025-10-12T17:24:17.146Z","repository":{"id":225738137,"uuid":"766707162","full_name":"MorphiaOrg/morphia-upgrade-testing","owner":"MorphiaOrg","description":"this repository provides for up to date testing of current openrewrite recipes for the 3.0 upgrade of Morphia","archived":false,"fork":false,"pushed_at":"2025-08-25T03:08:02.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-25T06:37:37.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MorphiaOrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-04T00:54:21.000Z","updated_at":"2025-08-25T03:08:06.000Z","dependencies_parsed_at":"2024-03-04T02:47:37.733Z","dependency_job_id":"17ba8f06-6751-4350-8d8b-1ad0b1d0bdc1","html_url":"https://github.com/MorphiaOrg/morphia-upgrade-testing","commit_stats":null,"previous_names":["morphiaorg/morphia-upgrade-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MorphiaOrg/morphia-upgrade-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorphiaOrg%2Fmorphia-upgrade-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorphiaOrg%2Fmorphia-upgrade-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorphiaOrg%2Fmorphia-upgrade-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorphiaOrg%2Fmorphia-upgrade-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorphiaOrg","download_url":"https://codeload.github.com/MorphiaOrg/morphia-upgrade-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorphiaOrg%2Fmorphia-upgrade-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012187,"owners_count":26085079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-28T02:10:45.043Z","updated_at":"2025-10-12T17:24:17.140Z","avatar_url":"https://github.com/MorphiaOrg.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morphia Upgrade Testing\nThis project exists to automatically run the [openrewrite](https://docs.openrewrite.org/) recipe to assist when upgrading from 2.x to \nthe upcoming 3.0 release.  Failures in the actions are likely and most likely indicate areas that need to have a recipe written to \nmigrate.  Not every change can be automated so failures are likely a permanent issue.  \n\n### Testing your own project\nIf you have a project that you would like to include in these runs to see how far off the upgrade process is, please file a pull request with \nthe information listed below.\n\nEach project needs a folder in ./projects.  The bare minimum require is a file called `git` that contains the git repository url \nfor your project.  The git url should include the hash of the branch/version you want to test against.  When you have that in place, \nyou'll need to update the [build workflow](.github/workflows/build.yml) to include your named project in the matrix definition.\n\nTypically, the [build.sh](build.sh) script include should be sufficient to test against your project.  If your project \nneeds a little tweaking, like morphia's does, you can copy build.sh in to your project's folder and customize however you need.\n\n\u003e [!NOTE]\n\u003e This build assumes a maven based build because that's what I use.  If you use gradle, or heaven forfend, something else, you'll need \n\u003e to provide your own `build.sh` in your project's folder to build/run properly.\n\nIf you would like to use this framework to test your own project but can't, for whatever, go the pull request route (maybe your project is \nprivate so it's invisible from this project), you have a couple of options.  Make the changes listed above.  You can either fork the \nproject and run the actions under your own credentials/org or you can simply run it manually locally with the `test-local.sh` script like so:\n\n```shell\n./test-local.sh myprivateproject\n```\n\nThis is run it all in the local filesystem.  If you have [act](https://github.com/nektos/act) installed (in this case, it's installed as \nan [extension]() to github's `gh` tool), you can run it locally like this:\n\n```shell\ngh act --matrix project:myprivateproject | grep -vE \"::debug::\"\n```\n\n\u003e [!NOTE]\n\u003e You will need docker installed for this to work. The grep isn't entirely necessary but act (currently) emits a lot of debug statements that tend to occlude any useful information coming out of the action run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorphiaorg%2Fmorphia-upgrade-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorphiaorg%2Fmorphia-upgrade-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorphiaorg%2Fmorphia-upgrade-testing/lists"}