Skip to content

[Crane: crane-migration-python-to-go-full-apm-cli-rewrite] #79

@github-actions

Description

@github-actions

APM CLI: Python to Go -- Full Rewrite

[bot] This PR is maintained by Crane. Each accepted iteration adds a commit to this branch.

Migration: Python 3.10+ (CPython) -> Go (native binary)
Strategy: Greenfield -- Go built in parallel, Python kept as parity oracle
Best Score: 0.0 / 1.0
Progress: 0 / 302 modules ported

Migration Issue: #78
State File: crane-migration-python-to-go-full-apm-cli-rewrite.md


Iteration 0 -- Planning

This first commit establishes the migration plan and scoring infrastructure:

  • .crane/migrations/crane-migration-python-to-go-full-apm-cli-rewrite/plan.md -- 16-milestone plan covering the full port
  • .crane/scripts/score.go -- migration scoring script (reads go test -json output, computes migration_score)
  • cmd/, internal/, pkg/ -- Go target directory structure scaffolded

Next iteration: Milestone 1 -- go.mod, cmd/apm/main.go stub, CI wiring


Run: https://github.com/githubnext/apm/actions/runs/26234338023


Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.

Create the pull request manually
# Download the patch from the workflow run
gh run download 26234338023 -n agent -D /tmp/agent-26234338023

# Create a new branch
git checkout -b crane/crane-migration-python-to-go-full-apm-cli-rewrite main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-26234338023/aw-crane-crane-migration-python-to-go-full-apm-cli-rewrite.patch

# Push the branch and create the pull request
git push origin crane/crane-migration-python-to-go-full-apm-cli-rewrite
gh pr create --title '[Crane: crane-migration-python-to-go-full-apm-cli-rewrite]' --base main --head crane/crane-migration-python-to-go-full-apm-cli-rewrite --repo githubnext/apm

Generated by Crane · ● 10.6M ·

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions