Compare commits

...

2 Commits

Author SHA1 Message Date
Trevor Batley
1e64eed0c1 updated README.md with config file 2023-05-09 17:53:44 +10:00
Trevor Batley
4bd577963b added in base config (ini) file 2023-05-09 17:51:48 +10:00
2 changed files with 21 additions and 4 deletions

View File

@ -4,14 +4,17 @@ 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
## git-cvs2git.sh
# config
sample ~/.smegit/config file - fill in your details
# git-cvs2git.sh
copy current cvs version of a package across to git in new structure
## git-get-and-build-repo.sh
# git-get-and-build-repo.sh
bring down current git repository and run mockbuild
## git-mirror-rep.sh
# git-mirror-rep.sh
create mirror of src.koozali.org repository in a local GITEA instance
## git-mirror-org.sh
# git-mirror-org.sh
create mirrors of all repos for an organisation in a local GITEA instance

14
config Normal file
View File

@ -0,0 +1,14 @@
[smegit]
DEBUG=false
WORKDIR=/smegit
COMMONREPO=https://src.koozali.org/smedev/common.git
# Brian's token, but please use wisely!
OPENAI_API_KEY=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
[local]
USER=<user>
GITEAHOST=<local GITEA URL>
GITEAACCESSTOKEN=<access token for local GITEA>
[remote]
USER=<koozali.org user id>
GITEAHOST=https://src.koozali.org
GITEAACCESSTOKEN=<access token for https://src.koozali.org GITEA>