2023-05-09 08:14:20 +02:00
|
|
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-gitutils
|
|
|
|
|
2023-05-09 05:46:40 +02:00
|
|
|
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
|
|
|
|
|
2023-05-10 02:49:40 +02:00
|
|
|
* 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
|
2023-05-09 09:53:44 +02:00
|
|
|
|
2023-05-10 02:49:40 +02:00
|
|
|
* 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
|
2023-05-09 05:48:12 +02:00
|
|
|
|
2023-05-10 02:49:40 +02:00
|
|
|
* 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
|
2023-05-09 05:48:12 +02:00
|
|
|
|
2023-05-10 02:49:40 +02:00
|
|
|
* 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
|
2023-05-09 05:48:12 +02:00
|
|
|
|
2023-05-10 02:49:40 +02:00
|
|
|
* 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
|