CopyGitHubRepo

0.2.0

PowerShell module for safely copying and migrating GitHub repositories with clean Snapshot or history-preserving FullHistory modes.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name CopyGitHubRepo -RequiredVersion 0.2.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name CopyGitHubRepo -Version 0.2.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 infoconex. Licensed under the MIT License.

Package Details

Author(s)

  • infoconex

Tags

GitHub Git Repository Copy Migration Automation DevOps PowerShell Windows Linux MacOS

Functions

Copy-GitHubRepository Get-GitHubRepository Start-CopyGitHubRepositoryWizard Test-GitHubRepositoryMigration

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

### Added

- Added opt-in GitHub Release preservation for `FullHistory` migrations with `-IncludeReleases`.
- Added release filtering by tag include/exclude wildcard patterns, prerelease/draft opt-in, and newest-N limiting.
- Added immutable release-selection evidence to migration planning so execution restores the exact reviewed releases rather than rerunning a live filter.
- Added post-FullHistory restoration of release metadata and assets with tag-target, release metadata, asset name/label/size/content-type/digest verification where available, plus preservation of the selected source Latest release designation.
- Added fail-closed release drift detection when a selected source release changes after planning, plus release provenance in migration/recovery results.
- Added `Test-GitHubRepositoryMigration -IncludeReleases` with the same release-selection filters for independent read-only FullHistory release verification.
- Added `Start-CopyGitHubRepositoryWizard -Version` to report the loaded module version without starting discovery, planning, or migration activity.
- Added controlled unit, integration, and GitHub E2E coverage for filtered release selection, release assets, Latest designation, tag-target preservation, and independent post-migration verification.

### Changed

- Strengthened release-line safety and reliability by keeping repository-protection restoration bound to reviewed planning evidence, preserving fail-closed GitHub API read behavior, and maintaining verification-before-restoration and recovery-evidence ordering across supported copy paths.
- Improved documentation discoverability and validation with page-specific search/social metadata, sitemap and robots support, structured-data checks, and clearer quality-gate diagnostics.

FileList

Version History

Version Downloads Last updated
0.4.0 12 9/3/2026
0.3.0 8 9/1/2026
0.2.0 (current version) 6 8/31/2026
0.1.1 11 8/26/2026
0.1.0 11 8/23/2026