Skip to content
ccc edited this page Feb 7, 2019 · 14 revisions

krep is the tool to import git repositories or source code in directories or packages into git or gerrit servers easily.

The tool is split with three branches not to mix the functions. Branch base keeps the elemental framework to dynamically load plug-ins developed with Python. Branch cm adds the functions to operate with git, git-repo, and gerrit. Branch krep provides full functions from upstreams and extra sub-commands.

It has the main functions:

  • Exported topic
  • Loadable sub-command

There're some extra components with the so-called topics to assist the sub-commands. More details can be explored to run the sub-commands with --help.

It also provides the main features:

Other support features are listed:

And all sub-commands within branch krep are:

  • batch for sub-command batch execution with a config file in git-config or XML format
  • git-b for git bare repositories created with the command git clone --bare
  • git-p for git repositories with the command git clone
  • pki for source code package immigration
  • repo for the git-repo project
  • repo-mirror for the git-repo project created with the command repo init --mirror

Tips:


For developers, there're wiki pages to dig more into the code and designs. The page name has the prefix like Developer.