Categorygithub.com/rcowham/gitp4transfer
modulepackage
0.3.5
Repository: https://github.com/rcowham/gitp4transfer.git
Documentation: pkg.go.dev

# README

GitP4Transfer

GitP4Transfer.py

Script to migrate history from a git LFS repository into p4 (Perforce Helix Core).

As of 2022/04/19 this is functional for a single branch at a time, although still considered Beta state.

It loops over commits in reverse order:

  • Checks out the commit (LFS will get the contents of the files)
  • Uses git diff-tree and then replays the contents of each file
  • Focusses on a single branch at a time (e.g. master), not branches
  • Stores latest processed commit as a counter in Helix Core - so incremental or partial runs can be done
  • Can process active branches with some manual steps.

For details of design/usage etc see: GitP4Transfer.adoc

gitp4transfer - Go version

The intent of this is to process git fast-export files ad import then into Helix Core.

As of 2022/04/19 - this is not yet functional!

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author

# Structs

BlobFileMatcher - maps blobs to files and vice versa.
BranchNameMapper - maps blobs to files and vice versa.
No description provided by the author
GitBlob - wrapper around CmdBlob.
GitCommit - A git commit.
GitFile - A git file record - modify/delete/copy/move.
GitP4Transfer - Transfer via git fast-export file.
No description provided by the author
Information for a P4File.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author