Scripts to help in the creation and maintenance of the GITEA git repos for SMEServer and SMEContribs.
Go to file
2023-05-10 12:38:25 +10:00
config remove unused config USER parameters 2023-05-10 10:20:42 +10:00
git-cvs2git.sh add system default ini and allow ~ in workdir 2023-05-10 10:17:35 +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-mirror-org.sh typo mirror-org 2023-05-10 12:38:25 +10:00
git-mirror-repo.sh fix git-mirror-org.sh 2023-05-10 12:34:09 +10:00
README.md added details about each file 2023-05-10 02:49:40 +02:00

smeserver-gitutils

Utilities to use with smeserver on Koozali.org GITEA instance

Just a repackaging 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-mirror-repo.sh
    create mirror of src.koozali.org repository in a local GITEA instance
    git-mirror-repo.sh <repository> <organisation> [<target organisation>]
    <target organisation> within your local GITEA, otherwise local user

  • git-mirror-org.sh
    create mirrors of all repos for an organisation in a local GITEA instance
    git-mirror-org.sh <organisation> [<target organisation>]
    <target organisation> within your local GITEA, otherwise local user