Skip to content

Do a dry run #3486

@matt-codecov

Description

@matt-codecov

Without actually merging anything, run all the commands needed to perform the migration. Test out tests and the development environment locally. Get a PR up and check that coverage and test results are working. Make sure CI looks good.

The commands to perform the migration should be something like:

# Absorb worker
$ git rm apps/worker
$ ./tools/absorb-repo/absorb-repo.sh worker git@github.com:codecov/worker.git apps/worker

# Make worker use our local copy of shared
$ cd apps/worker
$ sed -i '' 's/shared = { git.*/shared = { path = "..\/..\/libs\/shared" }/' pyproject.toml
$ uv sync
$ cd -

# Absorb codecov-api
$ git rm apps/codecov-api
$ ./tools/absorb-repo/absorb-repo.sh codecov-api git@github.com:codecov/codecov-api.git apps/codecov-api

# Make codecov-api use our local copy of shared
$ cd apps/worker
$ sed -i '' 's/shared = { git.*/shared = { path = "..\/..\/libs\/shared" }/' pyproject.toml
$ uv sync
$ cd -

# Absorb shared
$ git rm libs/shared
$ ./tools/absorb-repo/absorb-repo.sh shared git@github.com:codecov/shared.git libs/shared

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions