# smeserver-gitutils
Utilities to use with smeserver on Koozali.org GITEA instance
Just a repackaging of some of Brian Read's tools with some modifications for the new git structure and some tidy-up of the ini file and debug statements
## config
sample ~/.smegit/config or /etc/smegit.ini file - fill in your details\
It will use the user config first and system ini, if user config does not exist
## git-cvs2git.sh
copy current cvs version of a package across to git in new structure
git-cvs2git.sh []
* \ repository (package) to be migrated (e.g. smeserver-yum)
* \ can ONLY be smeserver or smecontribs
optional parameters, can appear in any order
* \ will migrate into your local GITEA (in config), otherwise remote GITEA
* \ run in debug mode
## git-get-and-build-repo.sh
bring down current git repository and run mockbuild
git-get-and-build.sh []
* \ repository (package) to be built (e.g. smeserver-yum)
* \ can be any organisation or user on the remote GITEA instance
optional parameters, can appear in any order
* \ will build from local GITEA (in config), otherwise from remote GITEA
* \ run in debug mode
## git-migrate-repo.sh
create mirror or copy of src.koozali.org repository in a local GITEA instance
git-migrate-repo.sh []
* \ repository (package) to be copied (e.g. smeserver-yum)
* \ can be any organisation or user on the remote GITEA instance
optional parameters, can appear in any order
* \ within your local GITEA, otherwise local user - must exist already
* \ will create local repo as either a copy or a mirror of the remote repo (default = copy)
* \ use local GITEA as source (i.e. copy between organisations on local GITEA)
* \ run in debug mode
## git-transfer-repo.sh
Transfer a repo to a different user (or organisation)
git-transfer-repo.sh