Skip to content

feat: replicate GitHub repositories, releases and metadata - #1

Merged
vmvarela merged 49 commits into
masterfrom
feat/initial-mvp
Oct 24, 2026
Merged

vmvarela merged 49 commits into
masterfrom
feat/initial-mvp

Conversation

@vmvarela

@vmvarela vmvarela commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add a minimal Go-based GitHub CLI extension: gh replicate SOURCE TARGET. Both repositories must already exist. Source branches and tags overwrite matching destination refs without pruning destination-only refs. Releases, assets, description, homepage, topics and labels are reconciled through go-gh.

Destination-only branches, tags, releases, assets, topics and labels are preserved. Re-running reconciles existing destination data and skips assets with matching digests; there is no persistent state branch or checkpoint format.

Validation

CI runs unit tests, vet, build, dependency consistency and govulncheck; CodeQL analyzes Go. The opt-in E2E replicates vmvarela/sql-pipe to the private vmvarela/sql-pipe-replica, repeats the operation, and checks refs, release metadata, every source asset digest, repository metadata, topics, labels and stable asset IDs. All checks passed on 303dfd89d19594e501555f39faf890c40ce05cf0:

  • CI: tests, vet, build, dependency consistency and govulncheck passed.
  • CodeQL: passed.
  • Replication E2E: both runs passed; verified 35 source releases, 798 asset digests, Git refs, metadata, topics, labels and stable asset IDs.

Existing destination-only items, including temporary-named assets left by earlier test versions, were intentionally preserved.

Release Drafter runs only on pushes to master, where its configuration will be available after merge. First release is planned as v0.1.0. This PR remains unmerged pending owner approval.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@vmvarela vmvarela removed the run-e2e label Oct 23, 2026
@vmvarela vmvarela changed the title feat: bootstrap gh-replicate feat: replicate GitHub repositories, releases and metadata Oct 23, 2026
@vmvarela vmvarela removed the run-e2e label Oct 23, 2026
@vmvarela
vmvarela marked this pull request as ready for review October 24, 2026 05:16
@vmvarela
vmvarela merged commit 67d0296 into master Oct 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants