Scripts to help in the creation and maintenance of the GITEA git repos for SMEServer and SMEContribs.
Go to file
2023-05-12 10:39:23 +10:00
config put back USER for local & remote 2023-05-10 13:04:48 +10:00
git-cvs2git.sh tidy up DEBUG 2023-05-11 15:29:55 +10:00
git-get-repo-and-build.sh add system default ini and allow ~ in workdir 2023-05-10 10:17:35 +10:00
git-migrate-org.sh missing space 2023-05-12 10:39:23 +10:00
git-migrate-repo.sh change from mirror to migrate (copy or mirror) 2023-05-11 10:48:31 +10:00
README.md added description of review option 2023-05-12 02:31:25 +02:00

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> <organisation> [<local>]
    <organisation> can ONLY be smeserver or smecontribs
    <local> will migrate into your local GITEA (in config), otherwise remote GITEA

  • git-get-and-build-repo.sh
    bring down current git repository and run mockbuild
    git-get-and-build.sh <repository> <organisation> [<local>]
    <local> will build from local GITEA (in config), otherwise from remote GITEA

  • git-migrate-repo.sh
    create mirror or copy of src.koozali.org repository in a local GITEA instance
    git-mirror-repo.sh <repository> <organisation> [<copy|mirror> <target organisation>]
    <copy|mirror> will create local repo as either a copy or a mirror of the remote repo (default = copy)
    <target organisation> within your local GITEA, otherwise local user - must exist already

  • git-migrate-org.sh
    create mirrors of all repos for an organisation in a local GITEA instance
    git-mirror-org.sh <organisation> [<copy|mirror> <review> <target organisation>]
    <copy|mirror> will create local repos as either a copy or a mirror of the remote repos (default = copy)
    <review> will just list the repos to be migrated, rather than doing it
    <target organisation> within your local GITEA, otherwise local user - must exist already